Excel - Delete rows if formula returns "" -
the forumla i'm using is
=if(e7<30,e7,"")
edit:more specifically:
=if(e7<30,concatenate(a7,b7,c7,"-",text(d7,"hh:mm:ss"),"-",e7),"")
this leaves me lot of blank rows out of 288000 of them. able see cells have returned value together. rather having scroll through of them. i've tried using find , replace method, of course cells still contain formula, not actual return value displays.
sample.
15 mar 2015 00:23:00 100.024 15 mar 2015 00:24:00 90.033 15 mar 2015 00:25:00 80.142 15 mar 2015 00:26:00 70.577 15 mar 2015 00:27:00 61.508 15 mar 2015 00:28:00 53.056 15 mar 2015 00:29:00 45.312 15 mar 2015 00:30:00 38.368 15 mar 2015 00:31:00 32.347 15 mar 2015 00:32:00 27.443 15mar2015-00:32:00-27.443 15 mar 2015 00:33:00 23.934 15mar2015-00:33:00-23.934 15 mar 2015 00:34:00 22.117 15mar2015-00:34:00-22.117 15 mar 2015 00:35:00 22.111 15mar2015-00:35:00-22.111 15 mar 2015 00:36:00 23.695 15mar2015-00:36:00-23.695 15 mar 2015 00:37:00 26.43 15mar2015-00:37:00-26.43 15 mar 2015 00:38:00 29.895 15mar2015-00:38:00-29.895
this better job vba- if want take list , condense have use array function- extremely heavy.. function return rows in condensed way - break workbook 288,000 rows --
ctrl shift enter ->
=small(iferror(1/($e$5:$e$20<30)*row($e$5:$e$20),""), rows($f$4:f4))
that's going give row number - write function next referencing results so:
=concatenate(indirect("a"&f5),indirect("b"&f5),indirect("c"&f5),"-",text(d5,"hh:mm:ss"),"-",indirect("e"&5))
index function work too.. vba way solve this.
if inclined on doing formulas may able away creating if statement adjacent dataset so: (formula presumed in column f)
if(e5<30, max(f$4:f$4)+1, "")
then index formula
index(a$5:a$10000, match(rows(l$5:l5), $f$5:$f$10000, 0))
then carry formula over
then run concat on that...
this not recommended tho. let me know if want vba answer instead.
Comments
Post a Comment