ranjith2523
Board Regular
- Joined
- Apr 29, 2014
- Messages
- 137
- Office Version
- 365
Hi Friends,
I need to apply a vlookup or other alternate formula to lookup a price within a range and get the output based on the match.
In the below table, I have the price in column A and the value in column B. We have price range data in the D to F column and in the G column I need to put a lookup formula.
For example, if you look into cell G4 it appears as "Used" (cell B2) since the price 2400 (cell A2) falls between range 2359 to 2465. If there is no match then we can leave the cells as blank.
I tried to apply vlookup formula using "Approximate Match" but it didn't work out for me .
Can someone please help me to sort it out.
Regards,
Ranjith
I need to apply a vlookup or other alternate formula to lookup a price within a range and get the output based on the match.
In the below table, I have the price in column A and the value in column B. We have price range data in the D to F column and in the G column I need to put a lookup formula.
For example, if you look into cell G4 it appears as "Used" (cell B2) since the price 2400 (cell A2) falls between range 2359 to 2465. If there is no match then we can leave the cells as blank.
I tried to apply vlookup formula using "Approximate Match" but it didn't work out for me .
Can someone please help me to sort it out.
Price | Value | Start | Mid | End | Value | |
2400 | Used | 2,158 | 2,207 | 2,255 | ||
3000 | Match | 2,256 | 2,307 | 2,358 | ||
3750 | Delete | 2,359 | 2,412 | 2,465 | Used | |
5000 | Retain | 2,466 | 2,522 | 2,577 | ||
2,945 | 3,012 | 3,078 | Match | |||
3,079 | 3,149 | 3,218 | ||||
4,793 | 4,901 | 5,009 | Retain | |||
5,010 | 5,123 | 5,235 | ||||
Regards,
Ranjith