+ Reply to Thread
Results 1 to 3 of 3

Excel 2016 - INDEX MATCH

  1. #1
    Registered User
    Join Date
    08-06-2019
    Location
    United Kingdom
    MS-Off Ver
    2016
    Posts
    13

    Excel 2016 - INDEX MATCH

    Hi there,

    I am looking at returning the highest and lowest values from some data based on the JOB ID column and also return the gender of this person in separate column.

    So I need it to look at the data return the highest and lowest values from the incumbent data and also the gender of the individual with the highest and lowest data.

    I have tried doing a vlookup and nested if function but can't seem to get this to work.

    Please see attached workbook with the desired columns highlighted in yellow on the 'master' sheet.

    Many thanks,
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Excel 2016 - INDEX MATCH

    Hi
    In D2
    =LARGE(IF(JOBEVAL!$G$3:$G$42=C3,JOBEVAL!$F$3:$F$42,""),1)
    In F2
    =SMALL(IF(JOBEVAL!$G$3:$G$42=C3,JOBEVAL!$F$3:$F$42,""),1)

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Then normal formulae in E2 & G2
    =INDEX(JOBEVAL!$D$3:$D$42,MATCH(C3&"|"&D3,INDEX(JOBEVAL!$G$3:$G$42&"|"&JOBEVAL!$F$3:$F$42,0),0))
    =INDEX(JOBEVAL!$D$3:$D$42,MATCH(C3&"|"&F3,INDEX(JOBEVAL!$G$3:$G$42&"|"&JOBEVAL!$F$3:$F$42,0),0))

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Excel 2016 - INDEX MATCH

    Formula in:
    D2: =SUMPRODUCT(MAX((JOBEVAL!$H$3:$H$42=$B3)*JOBEVAL!$F$3:$F$42))
    E2: =LOOKUP(2,1/(JOBEVAL!$H$3:$H$42=$B3)/(JOBEVAL!$F$3:$F$42=$D3),JOBEVAL!$D$3:$D$42)
    F2: =MIN(IF(JOBEVAL!$H$3:$H$42=$B3,JOBEVAL!$F$3:$F$42)) Array entered(Ctrl+Shift+Enter instead of regular enter)
    G2: =LOOKUP(2,1/(JOBEVAL!$H$3:$H$42=$B3)/(JOBEVAL!$F$3:$F$42=$F3),JOBEVAL!$D$3:$D$42)
    Click the * to say thanks.

+ 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] Excel 2016 - INDEX MATCH
    By Kpowz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2019, 09:34 AM
  2. [SOLVED] No value given for one or more parameters - Access 2016 - Excel 2016
    By schulzy175 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-18-2018, 10:11 PM
  3. Excel 2016: Trouble with Match Function
    By Cbird in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-20-2017, 06:05 PM
  4. MATCH function does not work in EXCEL 2016
    By nazaninibb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2017, 01:52 AM
  5. Replies: 1
    Last Post: 09-18-2017, 08:27 AM
  6. [SOLVED] Issue send email with excel 2016 true outlook 2016
    By kirana2014 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2017, 11:34 AM
  7. Help! Automated Email coding for Excel 2016 and Outlook 2016 problems
    By lisa6421 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-01-2017, 08:07 AM

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