A Ang Ang New Member Sep 22, 2017 #1 Hi Excel, Not sure what I am doing incorrect. My index and match won't work on greater than. It works on exact or less than. Attached is the file. Thanks, Attachments Index & Match (greater).xlsx 16.2 KB · Views: 15
Hi Excel, Not sure what I am doing incorrect. My index and match won't work on greater than. It works on exact or less than. Attached is the file. Thanks,
Hui Excel Ninja Staff member Sep 22, 2017 #2 This is a common error using the Match function If you read the Help for Match You will see why it is not working You maybe able to rearrange your data by sorting on Column B if that is what you require
This is a common error using the Match function If you read the Help for Match You will see why it is not working You maybe able to rearrange your data by sorting on Column B if that is what you require
N NARAYANK991 Excel Ninja Sep 22, 2017 #3 Hi , Since your data is in ascending order , the third parameter of the MATCH function , which has been put to -1 , should be 1 (+1). Narayan
Hi , Since your data is in ascending order , the third parameter of the MATCH function , which has been put to -1 , should be 1 (+1). Narayan
AlanSidman Well-Known Member Sep 22, 2017 #4 It is an arrangement issue. For -1 the values need to be in descending order. Yours are in ascending order.
It is an arrangement issue. For -1 the values need to be in descending order. Yours are in ascending order.
A Ang Ang New Member Sep 22, 2017 #5 Thank you all, Got it. So is there a formula to look up the next highest value without rearrange my data? Thanks
Thank you all, Got it. So is there a formula to look up the next highest value without rearrange my data? Thanks
Hui Excel Ninja Staff member Sep 22, 2017 #6 Does this work for you ? G2: =INDEX(A2:A7,MATCH(F2,B2:B7,1)+1)