Page 1
Page 1
Started By
Message

Excel Question: Pulling Information from colums

Posted on 8/11/14 at 10:41 am
Posted by Hogkiller10
LP
Member since Jan 2010
1529 posts
Posted on 8/11/14 at 10:41 am
Can anyone tell me the formula for this and if it can be done. I have the following for an example:

John 5 7 9 4
Jane 5 4 3 6
Joes 4 2 2 2

I am looking to find the highest number in the column (obviously 6 for jane since I will only use the last column as it is continuously update). I can easily use the MAX function but I also need to pull the name with the highest number. What is the formula to pull jane and the 6? Next week the highest number might be 9 and Joes
This post was edited on 8/11/14 at 10:42 am
Posted by boobs&bacon
Goosport
Member since Jul 2012
217 posts
Posted on 8/11/14 at 10:54 am to
=A1&" "&MAX(B1:E1)
Posted by Hogkiller10
LP
Member since Jan 2010
1529 posts
Posted on 8/11/14 at 11:28 am to
thanks for the help. Semi worked. Still tinkering with it as it isnt pulling up the name
Posted by Spock's Eyebrow
Member since May 2012
12300 posts
Posted on 8/11/14 at 11:52 am to
Something like this should work:

=INDEX(A1:A3,MATCH(MAX(E1:E3),E1:E3,0))

MAX gets the value, MATCH gets the row number, INDEX gets the name.

It doesn't account for duplicate maximum values; it will return the name corresponding to the first one.

I don't know how to eliminate the MATCH call.
This post was edited on 8/11/14 at 11:54 am
Posted by boobs&bacon
Goosport
Member since Jul 2012
217 posts
Posted on 8/11/14 at 1:23 pm to
=INDEX($A$2:$A$4,MATCH(MAX(B2:B4),B2:B4,0))&" "&MAX(B2:B4)

It won't do ties like you have in week 1 though. Sorry I had misunderstood in the first post.
Posted by boobs&bacon
Goosport
Member since Jul 2012
217 posts
Posted on 8/11/14 at 1:27 pm to
This is what mine looks like

Posted by foshizzle
Washington DC metro
Member since Mar 2008
40599 posts
Posted on 8/11/14 at 3:57 pm to
quote:

I don't know how to eliminate the MATCH call.


Don't think you can unless you establish a new "ID" column that stores =ROW().
Posted by Hogkiller10
LP
Member since Jan 2010
1529 posts
Posted on 8/11/14 at 4:23 pm to
Thanks a million for everyones help. Just what I needed and actually learned some of the functions once I broke them down.
Posted by Spock's Eyebrow
Member since May 2012
12300 posts
Posted on 8/11/14 at 4:52 pm to
quote:

Don't think you can unless you establish a new "ID" column that stores =ROW().


It's frustrating when you need a reference but can only get a value. Using both MATCH and MAX means searching twice, which is usually more inelegant than meaningfully inefficient, but it still bugs me when I have to do it.
Posted by CubsFanBudMan
Member since Jul 2008
5071 posts
Posted on 8/13/14 at 12:32 pm to
You could duplicate the names in a column in the far right, then use a vlookup(max()) formula.
Posted by Spock's Eyebrow
Member since May 2012
12300 posts
Posted on 8/13/14 at 1:05 pm to
quote:

ou could duplicate the names in a column in the far right, then use a vlookup(max()) formula.



Still two searches, though, plus the redundancy of duplicating names.
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram