Hi everyone,
I really appreciate any assistance that can provide. I will attach a sample template of the issue that I describe below. I am using the match, index and vlookup formulas together to pull information. The issue with the formula that I have is that if the information found in column B(always a number) is not found I want it to go to the previous value and pull the value found in column C. I feel like I explained that terribly so hopefully the attached spreadsheet will demonstrate my issue more clearly. I have the data in columns A, B and C. The formula found in G3 works but only when the value found in H1 is also matching to the chart data this is formula used in G3: {=INDEX($C$1:$C$24,MATCH(VLOOKUP($F$1,$A$1:$C$24,1,FALSE)&VLOOKUP($H$1,$B$1:$C$24,1,FALSE),$A$1:$A$24&$B$1:$B$24,0))}
To account for wanting to find the approximate value in column b i changed the vlookup for that portion of the formula to TRUE. However, it only works some of the time, and I can't find a rhyme or reason when and why. The formula I tried in G11 is: {=INDEX($C$1:$C$24,MATCH(VLOOKUP($F$1,$A$1:$C$24,1,FALSE)&VLOOKUP($H$1,$B$1:$C$24,1,TRUE),$A$1:$A$24&$B$1:$B$24,0))}. In the case of this formula I would want the value to return $0.98 which is the next lowest value found in column B.
Please let me know if any further clarification is needed.
Thanks again!
Bookmarks