Excel help please!
Discussion
I need a little help.
I have a table that I want to extract data from.
I have a value.
I want to look for the number closest to that value in column B and then return the value in column A
So in my example I am looking for 99
Cell B24 is 100
Cell A24 is 35
I want to show 35.
I tried this
=INDEX(B3:B73, MATCH(MIN(ABS(K7)),ABS(A3:A73),0))
but it didn't work.
Any ideas would be most welcome.
Thanks in advance
Rob
I have a table that I want to extract data from.
I have a value.
I want to look for the number closest to that value in column B and then return the value in column A
So in my example I am looking for 99
Cell B24 is 100
Cell A24 is 35
I want to show 35.
I tried this
=INDEX(B3:B73, MATCH(MIN(ABS(K7)),ABS(A3:A73),0))
but it didn't work.
Any ideas would be most welcome.
Thanks in advance
Rob
robemcdonald said:
I need a little help.
I have a table that I want to extract data from.
I have a value.
I want to look for the number closest to that value in column B and then return the value in column A
So in my example I am looking for 99
Cell B24 is 100
Cell A24 is 35
I want to show 35.
I tried this
=INDEX(B3:B73, MATCH(MIN(ABS(K7)),ABS(A3:A73),0))
but it didn't work.
Any ideas would be most welcome.
Thanks in advance
Rob
Not sure if this is exactly what you're after.I have a table that I want to extract data from.
I have a value.
I want to look for the number closest to that value in column B and then return the value in column A
So in my example I am looking for 99
Cell B24 is 100
Cell A24 is 35
I want to show 35.
I tried this
=INDEX(B3:B73, MATCH(MIN(ABS(K7)),ABS(A3:A73),0))
but it didn't work.
Any ideas would be most welcome.
Thanks in advance
Rob
I added a new column A which is ABS($A$1-C4)
$A$1 is my test value (ie 99)
B & C are your columns.
D4 is VLOOKUP(MIN(A4:A13),A4:C13,3,FALSE)
i4got said:
Not sure if this is exactly what you're after.

I added a new column A which is ABS($A$1-C4)
$A$1 is my test value (ie 99)
B & C are your columns.
D4 is VLOOKUP(MIN(A4:A13),A4:C13,3,FALSE)
That looks good from how I've understood the question, but I think he wants column 2 (B) returning rather than column 3 (C), so that 100 should say 7.I added a new column A which is ABS($A$1-C4)
$A$1 is my test value (ie 99)
B & C are your columns.
D4 is VLOOKUP(MIN(A4:A13),A4:C13,3,FALSE)
Planet Claire said:
i4got said:
That looks good from how I've understood the question, but I think he wants column 2 (B) returning rather than column 3 (C), so that 100 should say 7.Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff




