+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Grabbing Cell in Same Column, Different Row

  1. #1
    Registered User
    Join Date
    12-22-2010
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    5

    Grabbing Cell in Same Column, Different Row

    Howdy,
    I am trying to obtain the date of occurance of a maximum value. Attached is the workbook I am working on. I tried to color coordinate so it is easier to understand my goal. The cell I am referring to has been marked red in there. If I use the HLOOKUP(MaxVal, TableOfTotals&Dates, Row#OfDates) aka [HLOOKUP(B139,B134:NB135,135)] it gives me an error. The end result I am looking for is to have the Date of that MaxVal occurance to be automatically obtained.

    Is this the correct function I should be using or am I going the wrong direction?

    Thanks,
    The_Intern

    EAA.xlsx
    Last edited by The_Intern; 12-22-2010 at 05:08 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Grabbing Cell in Same Column, Different Row

    Try:

    =INDEX(B135:NB135,MATCH(B139,B134:NB134,0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Grabbing Cell in Same Column, Different Row

    How about...

    =INDEX($B$135:$NB$135,MATCH(B139,$B$134:$NB$134,0))
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    12-22-2010
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Grabbing Cell in Same Column, Different Row

    Both of those Methods worked flawlessly! Thank you so much, now I am off to understand HOW..

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Grabbing Cell in Same Column, Different Row

    Here is some help:

    http://www.contextures.com/xlfunctions03.html

    Note that if you have duplicate max values, the formula will pick up the first occurance.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Grabbing Cell in Same Column, Different Row

    Glad and it worked for you and happy hunting...

    Index/Match

    If you are satisfied with the answer provided please do not forget to mark the thread as solved.

    To mark your thread solved do the following:
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Grabbing Cell in Same Column, Different Row

    Sorry about that NBVC, I guess I am just slow and I promise I am not stalking you...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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