+ Reply to Thread
Results 1 to 6 of 6

Relating 2 columns in excel so that finding the maximum of the first, gives you the other?

  1. #1
    Registered User
    Join Date
    04-01-2013
    Location
    Everywhere
    MS-Off Ver
    Excel 2010
    Posts
    3

    Relating 2 columns in excel so that finding the maximum of the first, gives you the other?

    Here's the image: http://s4.postimg.org/44lx41jy5/halp.png

    Help. So basically, I have a few values. They're numbered(1 to 6). After finding the maximum value, in the C column, could I somehow point out that it's number 4 in the A column? 32 is my biggest value, and I want to say that it's the 4(as in the 4th value) as tabulated in column A. Is there a function that will allow me to do that without hardcoding? This is for something much bigger. The original 100s of numbers going down vertically, thank you.
    Last edited by matriculator; 04-01-2013 at 01:25 PM.

  2. #2
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: "Easy" excel question?

    Hi matriculator

    Try the following INDEX & MATCH:
    =INDEX(A1:A6,MATCH(MAX(C1:C6),C1:C6,0))
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  3. #3
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: "Easy" excel question?

    Or may be, if the numbers are not in column A

    =INDEX(ROW(A:A),MATCH(MAX(C:C),C:C,0))

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: "Easy" excel question?

    Hi and welcome to the forum

    We would love to help you with your question, but 1st, please rename your thread to something more meaningful, that actually describes your problem.

    Because thread titles are used in searching the forum it is vital they be written to accurately describe your thread content or overall objective using ONLY search friendly key words. That is, your title used as search terms would return relevant results.

    Many members will look at a thread title, and if it is of interest to them, or it falls within their area of expertise, they might only open those threads.

    Look at it this way...if you typed that title into google, what would you expect to get back?
    To change a Title on your post, click EDIT on you're 1st post, then Go Advanced and change your title
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    04-01-2013
    Location
    Everywhere
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: "Easy" excel question?

    Sorry about that. I'm going to change it right now. I just joined but it won't happen next time.

  6. #6
    Registered User
    Join Date
    04-01-2013
    Location
    Everywhere
    MS-Off Ver
    Excel 2010
    Posts
    3

    Talking Re: "Easy" excel question?

    Thank you very much sir. That did the trick.

+ 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