D deenoseban New Member Feb 8, 2024 #1 Trying to fix a formula. In the master table there a few items for which the price will change according market. In the working sheet, based on date item value should be picked. If somebody has an idea please update. Attachments Value lookup by date range.xlsx 10.5 KB · Views: 6
Trying to fix a formula. In the master table there a few items for which the price will change according market. In the working sheet, based on date item value should be picked. If somebody has an idea please update.
ETAF Active Member Feb 8, 2024 #2 how about =INDEX($B$3:$B$14,MATCH(F3,IF($A$3:$A$14=G3,$C$3:$C$14),1)) Attachments Value based on criteria and nearest date.xlsx 11.3 KB · Views: 12
D deenoseban New Member Feb 8, 2024 #3 ETAF said: how about =INDEX($B$3:$B$14,MATCH(F3,IF($A$3:$A$14=G3,$C$3:$C$14),1)) Click to expand... @ETAF it worked...
ETAF said: how about =INDEX($B$3:$B$14,MATCH(F3,IF($A$3:$A$14=G3,$C$3:$C$14),1)) Click to expand... @ETAF it worked...
p45cal Well-Known Member Feb 8, 2024 #5 be aware that the dates in column C must be in ascending order.
pecoflyer Well-Known Member Feb 8, 2024 #6 p45cal said: be aware that the dates in column C must be in ascending order. Click to expand... BTA newer functions will help without specific order Code: =XLOOKUP($F3,(($A$3:$A$14=$G3)*($C$3:$C$14)),$B$3:$B$14,,-1)
p45cal said: be aware that the dates in column C must be in ascending order. Click to expand... BTA newer functions will help without specific order Code: =XLOOKUP($F3,(($A$3:$A$14=$G3)*($C$3:$C$14)),$B$3:$B$14,,-1)