Match, Index, VLookup, Hlookup

lricher

New member
Joined
Feb 2, 2015
Messages
2
Reaction score
0
Points
0
Hi all,

I previously requested help on a different forum but but am still no wiser.

I am trying to identify the value of label at the top column for a value selected within the core of a table.

Using Match(1300,B5:I5,-1) returns value 7, which is the value I am interested in. Note that Column 1 is 'B'.

Having found 7, i.e. Column number 7 starting from ‘B’, I need to know the value at the top of Column 7. And this is where I am stuck.

ABCDEFGHI
1Type 1Type 2Type 3Type 4Type 5Type 6Type 7Type 8
2Level 1UL2,2321,4882,2321,4881,9071,116651
3Level 2ULULULULULULULUL
4Level 34,4642,4181,6282,4181,6282,3721,302837
5Level 47,3473,6272,4183,6272,4183,5811,9531,256


Anyone has any idea? i think i basically need a function that allows me to return the value "Type 7" after using the afforested MATCH function.

Many thanks.
 
Last edited:
If your formula was MATCH(3500,B5:I5,-1) what column would you expect your answer to be from ?

I don't think that formula is going to work for you as it would require the search range to be sorted in descending order, which it isn't.
see this.

But none the less, Match will return the column number within the specified range, so the formula you want could be like this
=INDEX(B1:I1,1,MATCH(1300,B5:I5,-1))
 
Thanks i will try this.

In answer to your question, the answer to the formula MATCH(3500,B5:I5,-1) is "Type 4", as i would need the closest match from the right to the left (if this makes sense)

Lou
 
No, it doesn't make sense because the 3,581 under Type 6 is the smallest value larger than 3500.

When you actually try the formula on your posted data it returns 2.
This is why the search data being sorted in descending value is a requirement of using the Match function.

I don't think Match is the function you're in need of, but must confess don't know what function is.
 
Back
Top