stepan1987
Board Regular
- Joined
- May 6, 2011
- Messages
- 92
Hi guys,
I need a formula that would return me the value from the cell that is found by vlookup (equal dates). In case there is no value in that cell I need the formula to return me the first non blank value in the cells above that cell.
Here is the formula I use now:
=VLOOKUP($H$2;'Historical Data'!$A:$EZ;MATCH($AQ17;'Historical Data'!$B$1:$EZ$1;0)+1)
$H$2 - date needed which is vlookuped in Historical Data sheet
$AQ17 - name I need value for
Bottomline: I need the first nonblank value on that date or before it
How could that be done? Pls help
I need a formula that would return me the value from the cell that is found by vlookup (equal dates). In case there is no value in that cell I need the formula to return me the first non blank value in the cells above that cell.
Here is the formula I use now:
=VLOOKUP($H$2;'Historical Data'!$A:$EZ;MATCH($AQ17;'Historical Data'!$B$1:$EZ$1;0)+1)
$H$2 - date needed which is vlookuped in Historical Data sheet
$AQ17 - name I need value for
Bottomline: I need the first nonblank value on that date or before it
How could that be done? Pls help