Home > Forum Home > Automating Data Analysis Tasks > Returning a value from a range of data > Using VLOOKUP with closest match TRUE Share

Using VLOOKUP with closest match TRUE

Excel Help for Using Vlookup With Closest Match True in Automating Data Analysis Tasks


Forum TopicLogin

Using Vlookup With Closest Match True

Rate this:
(3/5 from 1 vote)
ConfusedYou can return a value from a range of data by defining your ranges and corresponding values in a table and running a VLOOKUP function with the closest match logical value set to TRUE.

The following example shows the defined values in columns E and F, the raw data in column B and the formula to make the match in column C.

Excel Spreadsheet:
 ABCDEFG
1       
2  Weight Transport   Min  Value 
3  122 =VLOOKUP(B3,$E$3:$F$6,2,TRUE)  0 15 
4  245 =VLOOKUP(B4,$E$3:$F$6,2,TRUE)  100 30 
5  253 =VLOOKUP(B5,$E$3:$F$6,2,TRUE)  200 45 
6  360 =VLOOKUP(B6,$E$3:$F$6,2,TRUE)  300 60 
7       


The formula from cell C3 can be copied down to cells C4 to C6.
 Excel Business Forums Administrator
 Posted by on
 
View Full Post

Find relevant Excel templates and add-ins for Using VLOOKUP with closest match TRUE in the