Return first non blank cell from a given point

raymaster98

Board Regular
Joined
Oct 28, 2009
Messages
212
In Excel 2003, I am using the following formula to return a time:

{=OFFSET(INDEX(BW5:BW24,MATCH(TRUE,BW5:BW24<>"",0)),0,-5)}

I need to modify the above formula to look for the first non blank cell above that point. Any help would be most appreciated. Thanks, Kenny
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
I'm a tad confused - presumably you're saying the first non-blank above the range returned by the OFFSET ?

I base the above on the fact that the existing function is finding the first non-blank in BW range so by definition there are no non-blanks above that cell (other than perhaps in BW1:BW4)

If so... perhaps you could use:

=LOOKUP(9.99E+307,BR5:INDEX(BR5:BR24,MAX(1,MATCH(TRUE,INDEX(BW5:BW24<>"",0),0)-1)))

The above assume BR5:BR24 contain numerics - based on Time comment
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,433
Members
448,897
Latest member
ksjohnson1970

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top