+ Reply to Thread
Results 1 to 9 of 9

Finding MAX value with Index Match in list of questions

  1. #1
    Registered User
    Join Date
    09-03-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    30

    Finding MAX value with Index Match in list of questions

    Hi,

    I have a list of questions in column B S1, S2, S3 etc. Each question has different scoring underneath - 0,1,2,3 or -1,0,1 etc etc - I need a formula to search for the question "S1" and return the maximum score. I am using

    Please Login or Register  to view this content.
    at the moment but this searches the whole list of scores below question S1 and not just those within that particular question.

    Is there any way to search until there is a blank?

    Thanks for any help,

    Henry.

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

    Re: Finding MAX value with Index Match in list of questions

    pls provide sample excel file
    Samba

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

  3. #3
    Registered User
    Join Date
    09-03-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    30

    Re: Finding MAX value with Index Match in list of questions

    Max example.xlsx

    As attached.

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

    Re: Finding MAX value with Index Match in list of questions

    B29=iferror(max(offset($a$1,match($a29,$a$1:$a$26,0)-1,0,sumproduct((lookup(row($a$1:$a$26),row($a$1:$a$26)/istext($a$1:$a$26),$a$1:$a$26)=$a29)*1)-1,1)),"")
    c29=iferror(min(offset($a$1,match($a29,$a$1:$a$26,0)-1,0,sumproduct((lookup(row($a$1:$a$26),row($a$1:$a$26)/istext($a$1:$a$26),$a$1:$a$26)=$a29)*1)-1,1)),"")
    Attached Files Attached Files

  5. #5
    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,139

    Re: Finding MAX value with Index Match in list of questions

    An alternative, with an easier-to-maintain formula, involves a little rearrangement of your data (which may, or may not, be possible).
    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

  6. #6
    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,139

    Re: Finding MAX value with Index Match in list of questions

    Siva, your solution is incorrect for the last MAX value...

  7. #7
    Registered User
    Join Date
    09-03-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    30

    Re: Finding MAX value with Index Match in list of questions

    Thanks to both for your answers. Unfortunately, Glenn, I can't rearrange the data as it's a set-formatted list of questions.

    Also, the array just needs to be lengthened by one cell for Siva's formula to work.

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

    Re: Finding MAX value with Index Match in list of questions

    Yes your right Glenn
    re attaching the file
    Attached Files Attached Files

  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: Finding MAX value with Index Match in list of questions

    thank you hc91 for your feedback and adding reputation as glen said it has a flaw i rectified in the above attached file

+ 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] Index Match finding wrong month's value
    By wf44 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-29-2014, 11:40 AM
  2. [SOLVED] Three questions starting with Index, Match giving #REF! error
    By JO505 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-02-2013, 07:42 PM
  3. Index/ Match/ Lookup questions
    By [email protected] in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2012, 09:57 PM
  4. Index/Match finding a true date
    By jeffreybrown in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-04-2011, 01:19 PM
  5. Index/Match Finding Max
    By windme in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-04-2011, 12:41 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