Lookup and offset at the same time?

T

TedT

Hi,
I am not sure how to accomplish this task.

I have multiple columns of data. I am locating a value in a column (F) on
the right using vlookup to find the max value of the data in this column.

Now I wnat to find the corresponding data that is in the cell in column (A)
that is in the same row as the data I found using my vlookup.

I have tried a few ideas, none seem to work - I have a feeling this mis much
easier than I think.
Thanks
TedT
 
B

Barb Reinhardt

I've used MATCH and INDEX for this type of thing in the past. Unfortunately,
Excel is tied up on this machine right now, so can't give any more details.
 
M

Max

Maybe you're trying to do something like this, in say G1:
=INDEX(A:A,MATCH(MAX(F:F),F:F,0))

G1 returns the value in col A corresponding to the max in col F. If there's
ties in the maximum values in col F, it'll return only the the value
corresponding to the 1st maximum (the one higher up)
 
T

TedT

Thanks for the help, I got it working.
TedT

Max said:
Maybe you're trying to do something like this, in say G1:
=INDEX(A:A,MATCH(MAX(F:F),F:F,0))

G1 returns the value in col A corresponding to the max in col F. If there's
ties in the maximum values in col F, it'll return only the the value
corresponding to the 1st maximum (the one higher up)
 
M

Max

Welcome, Ted. Take a moment to press the "Yes" button below to the question:
"Was this post helpful to you?" from where you're reading this. It'll ensure
a longer shelf life to this thread for the general benefit of other readers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top