Consulting

Results 1 to 3 of 3

Thread: Reverse INDEX and MATCH

  1. #1
    VBAX Regular
    Joined
    Dec 2013
    Posts
    25
    Location

    Reverse INDEX and MATCH

    Hey.

    I want to extract data from a list to a schedule using a kind of reverse Index and match.

    I donŽt really know how to explain this in English, so IŽll just post a file showing you what I need.

    Appointments.xlsx

  2. #2
    In cell H4 put this array formula
    =IFERROR(INDEX(Table1[Name],MATCH(1,(Table1[Date]=$F4)*(Table1[Time]=H$3)*(Table1[Room]=$F$2),0)),"")
    Press Ctrl + Shift + Enter

    In H12
    =IFERROR(INDEX(Table1[Name],MATCH(1,(Table1[Date]=$F12)*(Table1[Time]=H$11)*(Table1[Room]=$F$10),0)),"")
    And drag to left and down
    You can do the same for the third table

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Non-array form

    =IFERROR(INDEX(Table1[Name],SUMPRODUCT(--(Table1[Date]=$F12),--(Table1[Time]=I$11),--(Table1[Room]=$F$10),ROW(Table1[Date]))-1),"")
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •