From this post:
The OP's question was this:
Why does the lookup range start with "1/"? What does it do? All I can think is that it really is meant to be a reciprocal, because the OP wants the previous non-blank cell - ? I experimented with removing "1/" and got an #N/A error.
Also, if anyone can point me to more information about this "1/" thing, or about using logical expressions with ranges, as WBD did with $d$1:$d3<>"", I'd appreciate it. Tried Googling, didn't find anything (probably due to poor search terms).
Code:=$b4+lookup(2,1/($d$1:$d3<>""),$d$1:$d3)
wbd
The OP's question was this:
I want a formula that would do the following
In cell D4 add D3+B4, but if D3 is blank then find the previous non blank cell and add B4 to that cell (In this case D1).
I would need these to work regardless of the number of blanks between.
Thanks
Why does the lookup range start with "1/"? What does it do? All I can think is that it really is meant to be a reciprocal, because the OP wants the previous non-blank cell - ? I experimented with removing "1/" and got an #N/A error.
Also, if anyone can point me to more information about this "1/" thing, or about using logical expressions with ranges, as WBD did with $d$1:$d3<>"", I'd appreciate it. Tried Googling, didn't find anything (probably due to poor search terms).