+ Reply to Thread
Results 1 to 7 of 7

Need Help with getting MAX Value in range and Match the column Title.

  1. #1
    Registered User
    Join Date
    03-19-2019
    Location
    Riyadh
    MS-Off Ver
    2007
    Posts
    15

    Post Need Help with getting MAX Value in range and Match the column Title.

    Hi,
    I am trying to make a simple Spreadsheet, in which i want to get the maximum value of target column from the range for each person. and for the same i want to get the month which he/she got the maximum targets. same is the column title. Please see the attached spreadsheet.
    Thanks for the Help
    Regards.

    PS. I am using MS Office 2007
    Attached Files Attached Files
    Last edited by mudassardp; 12-20-2020 at 03:58 AM. Reason: The problem is Solved.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Need Help with getting MAX Value in range and Match the column Title.

    Please try at C8

    =LOOKUP(2,1/(F8:N8=B8)/($F$7:$N$7=$F$7),$F$6:$N$6)
    Attached Files Attached Files

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

    Re: Need Help with getting MAX Value in range and Match the column Title.

    Non-arrray formula in B8:
    =SUMPRODUCT(MAX(($F$7:$N$7=$F$7)*$F8:$N8))

    Non-array formula in C8:
    =INDEX($F$6:$O$6,MATCH(1,INDEX((($F$7:$O$7=$F$7)*($F8:$O8=B8)),0),0))
    Attached Files Attached Files
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    03-19-2019
    Location
    Riyadh
    MS-Off Ver
    2007
    Posts
    15

    Re: Need Help with getting MAX Value in range and Match the column Title.

    Thank you so much Glenn. I have another complex database and i tried your solution into it, and its worked like a charm. you guys are awesome. Thanks again

  5. #5
    Registered User
    Join Date
    03-19-2019
    Location
    Riyadh
    MS-Off Ver
    2007
    Posts
    15

    Re: Need Help with getting MAX Value in range and Match the column Title.

    Thanks for the quick reply and your solution Bo_Ry, this solution worked for me for the simple spreadsheet. the other solution by Mr.Glenn is also worked for me for more complex database. Thanks both of you.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: Need Help with getting MAX Value in range and Match the column Title.

    B8 cell , array formula , drag down
    HTML Code: 
    C8 cell , array formula , drag down
    HTML Code: 

  7. #7
    Registered User
    Join Date
    03-19-2019
    Location
    Riyadh
    MS-Off Ver
    2007
    Posts
    15

    Re: Need Help with getting MAX Value in range and Match the column Title.

    Thanks wk9128, for the reply. The problem has been Solved already by using Mr.Glenn Kennedy's Solution. Thanks anyway.
    Last edited by AliGW; 12-20-2020 at 04:33 AM. Reason: PLEASE don't quote unnecessarily!

+ 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. [SOLVED] Loop through Table to Find Match, Result is Column Title
    By wbsgn12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2020, 07:04 PM
  2. Replies: 8
    Last Post: 02-07-2019, 05:56 AM
  3. Index Match Row/Column Title to Data Point
    By AK de FLA in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-11-2016, 03:25 PM
  4. Make unique Title in Column F if Column A match [VBA]
    By paul_j_ in forum Excel General
    Replies: 8
    Last Post: 06-09-2015, 04:29 AM
  5. [SOLVED] Dynamic Name Range using Offset&Match with Match based off a different column
    By mdlpjr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2013, 06:33 PM
  6. Evaluating Range and displaying column title
    By Troilus98 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2008, 03:56 PM
  7. Replies: 2
    Last Post: 07-21-2006, 05:10 AM

Tags for this Thread

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