+ Reply to Thread
Results 1 to 5 of 5

obtainting data based on cell values

  1. #1
    Registered User
    Join Date
    01-11-2015
    Location
    norfolk
    MS-Off Ver
    2010
    Posts
    67

    obtainting data based on cell values

    hi guys

    im trying to do this but not succeeding.
    whatever the highest number in cell a6 or b6 needs to return the team name in that column in this case bournemouth into cell d6
    see attachment if required
    thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: obtainting data based on cell values

    Many ways to do this. Here's one

    =INDEX(A5:B5,,MATCH(MAX(A5:B5),A5:B5,0))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    01-11-2015
    Location
    norfolk
    MS-Off Ver
    2010
    Posts
    67

    Re: obtainting data based on cell values

    glenn thank you for your reply but that doesnt return the team i want it too

  4. #4
    Registered User
    Join Date
    01-11-2015
    Location
    norfolk
    MS-Off Ver
    2010
    Posts
    67

    Re: obtainting data based on cell values

    its ok glenn.
    tweaked and it works
    =INDEX(A2:B2,,MATCH(MAX(A6:B6),A6:B6,0))

  5. #5
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: obtainting data based on cell values

    Hello
    Try this formula
    =INDEX(A2:B2,1,MATCH(MAX(A5:B5),A5:B5,0))

    This formula would search for the highest value in 5th row and then would give the column no. where the max value if found....at the last it would give the team name in from row 2 where the max value if found....

    Tell me if it works right….

    Hope it helps
    Do ask for any other query you may have…

    If you are satisfied then mark then PLEASE mark this thread as “SOLVED” (by going to thread tools at the top and clicking on “mark this thread as solved”) and you can just click on ADD REPUTATION below my post to say thanks...

    Regards
    Sourabh Gupta

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need Help arraanging data in one cell into three different cells based on values.
    By danpotash in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-02-2013, 12:07 PM
  2. Replies: 4
    Last Post: 05-29-2013, 04:18 AM
  3. How to delete rows of data based on cell values in VB?
    By drx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2011, 04:45 PM
  4. Excel chart that has min/max values based on cell data
    By Buster1320 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-28-2009, 10:51 PM
  5. Sorting cell data based on values
    By veronica in forum Excel General
    Replies: 1
    Last Post: 01-25-2006, 04:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1