+ Reply to Thread
Results 1 to 7 of 7

Index and Match

  1. #1
    Registered User
    Join Date
    02-20-2018
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    5

    Index and Match

    Hello Everyone,

    Instructors Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9
    Jan 13 Jan 20 Jan 27 Feb 3 Feb 10 Feb 17 Feb 24 Mar 3 Mar 10
    Joe
    Jeff Away
    Tony Away
    Sandy Away


    So it didnt copy over very nicely, but I am trying to create a spreadsheet to track staff absences for weekend programming. You would have the staff on the left, Week at the top. Then if a person says they will be away for weeks 3 and 6 I can find their name, and using a drop down menu select "Away" for those weeks.

    My hope is then to have another tab where I can use some sort of Index / Match formula to automatically list who will be away. I would love to be able to Select the "Week" from a drop down list and have the staff who are marked as "Away" for that week auto populated below it.

    Any help would be much appreciated. I have been trying to figure this out for so long. First time posting in one of these forums, I am really stuck!

    Thank you

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Index and Match

    Hello and welcome to the forum.

    With your weeks in B1:J1, dates in B2:J2, names in A3:A6, and status in B3:J6, all in Sheet1

    and your drop-down in A2 of Sheet2, put this formula into B2 of Sheet2 and drag down as far as needed:

    =IFERROR(INDEX(Sheet1!A:A,SMALL(IF((Sheet1!B$1:J$1=A$2)*(Sheet1!B$3:J$6="Away"),ROW(Sheet1!A$3:A$6)),ROWS($1:1))),"") Ctrl Shift Enter

  3. #3
    Forum Contributor
    Join Date
    07-04-2012
    Location
    Al Khor, Qatar
    MS-Off Ver
    Excel 2013
    Posts
    101

    Re: Index and Match

    Could you please post a sample workbook for this.

    Thank you

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

    Re: Index and Match

    Something Like this?

    L5: =IFERROR(HLOOKUP($L$6,$B$1:$J$2,2,0),"")
    Array formula in M6, drop down: =IFERROR(INDEX($A:$A,SMALL(IF((B$1:J$1=$L$6)*(B$3:J$6=$L$7),ROW($A$3:$A$6)),ROWS($1:1))),"")
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-20-2018
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    5

    Re: Index and Match

    Hello,

    Thanks everyone for the fast replies. I wasn’t expecting submissions so quickly. I’m at another job now, I’ll input the formula tonight and post a sample workbook.

    Thank you!

  6. #6
    Registered User
    Join Date
    02-20-2018
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    5

    Re: Index and Match

    Hey,

    Just wanted to say thank you. I dropped in the formula and adjusted the cell references and it worked! I wasn't far off in my attempts, but would have never pieced it together on my own.

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Index and Match

    Glad we could help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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 instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  2. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  3. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  4. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 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