Hi Folks,
Is there a good way to check two columns at the same time and return the value in the 3rd?
Example
12 0.07 8
12 0.37 10
12 0.82 12
12 1.30 15
12 3.90 22
12 8.00 28
12 15.00 35
I look for 12 in the first column with vlookup but I need to also look for a figure in the 2nd column which is greater than my figure.
So say I want 12 & 6.0 I would want the formula result to be 28 because the nearest larger number in the table column 2 is 8.00.
Cheers
Martyn
Last edited by martynduerden; 08-06-2009 at 04:47 PM.
If your table is in A1:C7, try:
=INDEX(C1:C7,MATCH(1,INDEX((A1:A7=12)*(B1:B7>=6),0),0))
replace 12 and 6 with cell references if desired.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Thank you very much![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks