+ Reply to Thread
Results 1 to 11 of 11

Find largest value and column header

  1. #1
    Registered User
    Join Date
    12-17-2010
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    8

    Find largest value and column header

    Hi all!
    I'm not very good at excel stuff, so i need some hints.
    I have a sheet with timestamps in column A and values in the rest. I need to find the highest value of for example column B (i'm using MAX(B:B) for that), but i also need to find the corresponding timestamp in column A.
    Another issue is that i need to find the top x highest values of an entire sheet (using LARGE(B:BL;1) for example) and also find the column header (the address preferably) where those values are located.

    Using Excel 2013.

    Any suggestions and hints are welcome!
    Cheers!
    Attached Files Attached Files
    Last edited by mavve2004; 01-21-2015 at 09:54 AM.

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Formula help

    If you can provide a sample workbook, a more detailed solution can be provided. Also, I suggest you alter the title of your post as it is a little vague.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Formula help

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  4. #4
    Registered User
    Join Date
    12-17-2010
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find largest value and column header

    Title changed and example attached. Any hints are most welcome.
    Thanks in advance!

  5. #5
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Find largest value and column header

    I'm not sure if this is an error or not, but the column B only contains values of zeros.

  6. #6
    Registered User
    Join Date
    12-17-2010
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find largest value and column header

    Not an error, some columns might contain only zeros. In the attached example i need to find the top x highest values + the header for that col + the timestamp.
    On other cases i might only need to highest value for a certain col + the timestamp.

    Thanks!

  7. #7
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Find largest value and column header

    Would something like the attached workbook help? You can adjust the top values to show more or less by dragging up or down.

    Hope this helps!
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-17-2010
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find largest value and column header

    Thanks! Looks great. In this example i also need the column header of the top x values, tried to play around with the formula that gets the timestamp value but i only get a invalid cell reference error.
    Any tips on that?

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Find largest value and column header

    see the attached file
    report generated in other sheet
    sumproduct, large, index, row and column functions were used
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  10. #10
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Find largest value and column header

    Would this work then?
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    12-17-2010
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find largest value and column header

    Big thanks to both of you!

+ 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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