ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   need to select closest match using vlookup if it higher or lower (https://www.excelbanter.com/excel-discussion-misc-queries/74686-need-select-closest-match-using-vlookup-if-higher-lower.html)

vlookup help pls

need to select closest match using vlookup if it higher or lower
 
i cant get vlookup to select the closest value if the closest value is higher
it automatically selects the highest value below the cell value

Duke Carey

need to select closest match using vlookup if it higher or lower
 
VLOOKUP() will not do what you want. You can use MATCH() and INDEX(), if the
list is sorted in descending order and you use -1 as the 3rd argument in the
MATCH() function


"vlookup help pls" wrote:

i cant get vlookup to select the closest value if the closest value is higher
it automatically selects the highest value below the cell value



All times are GMT +1. The time now is 03:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com