+ Reply to Thread
Results 1 to 10 of 10

Index/Match & Vlookup Help!

  1. #1
    Registered User
    Join Date
    12-04-2018
    Location
    California
    MS-Off Ver
    2016
    Posts
    13

    Index/Match & Vlookup Help!

    I am creating a scorecard for the different offices that we visit. More often than not, we visit those offices a couple times a year. So I have a separate table that we schedule our visits chronologically, that I would like to have dates auto-populate into the scorecard itself based of a couple of matching criteria. Here's what I need:

    if A3= any of AK3:AK43, and if AM on the same row is "Follow Up", then retrieve data from AL on the same row

    I have tried several things and I get so close, but it's pulling data regardless if AM = "Follow Up"

    I can get screenshots if needed.

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Index/Match & Vlookup Help!

    =IF(ISNA(MATCH(A1,AK1:AK43,0)),"",IF(INDEX(AM1:AM43,MATCH(A1,AK1:AK43,0),1)="Follow Up",INDEX(AL1:AL43,MATCH(A1,AK1:AK43,0),1),""))
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

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

    Re: Index/Match & Vlookup Help!

    Something like
    =INDEX($AL$3:$AL$43,MATCH(1,($AK$3:$AK$43=A3)*($AM$3:$AM$43="Follow Up"),0))

    ...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.

  4. #4
    Registered User
    Join Date
    12-04-2018
    Location
    California
    MS-Off Ver
    2016
    Posts
    13

    Re: Index/Match & Vlookup Help!

    Perfect that works! What if it says "Follow Up" or "Subsequent"?

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Index/Match & Vlookup Help!

    =IF(ISNA(MATCH(A1,AK1:AK43,0)),"",IF(INDEX(AM1:AM43,MATCH(A1,AK1:AK43,0),1)="Follow Up",INDEX(AL1:AL43,MATCH(A1,AK1:AK43,0),1), "Subsequent"))

  6. #6
    Registered User
    Join Date
    12-04-2018
    Location
    California
    MS-Off Ver
    2016
    Posts
    13

    Re: Index/Match & Vlookup Help!

    Wow I should have asked you guys a long time ago. Everything works beautifully now.

    Thanks again!

  7. #7
    Registered User
    Join Date
    12-04-2018
    Location
    California
    MS-Off Ver
    2016
    Posts
    13

    Re: Index/Match & Vlookup Help!

    Something like
    =INDEX($AL$3:$AL$43,MATCH(1,($AK$3:$AK$43=A3)*($AM$3:$AM$43="Follow Up"),0))

    ...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.

    I found that this one is working best for me. But same question, how can I get this to work if "Follow Up" or "Subsequent" is listed using this formula?
    Last edited by bzbysenski; 12-07-2018 at 03:04 PM. Reason: Forgot to quote

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

    Re: Index/Match & Vlookup Help!

    How about
    =INDEX($AL$3:$AL$43,MATCH(1,($AK$3:$AK$43=A3)*(($AM$3:$AM$43="Follow Up")+($AM$3:$AM$43="subsequent")),0))
    Also needs CSE

  9. #9
    Registered User
    Join Date
    12-04-2018
    Location
    California
    MS-Off Ver
    2016
    Posts
    13

    Re: Index/Match & Vlookup Help!

    Quote Originally Posted by Fluff13 View Post
    How about
    =INDEX($AL$3:$AL$43,MATCH(1,($AK$3:$AK$43=A3)*(($AM$3:$AM$43="Follow Up")+($AM$3:$AM$43="subsequent")),0))
    Also needs CSE
    Thanks! Works like a charm.

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

    Re: Index/Match & Vlookup Help!

    You're welcome & thanks for the feedback

+ 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. VLOOKUP or INDEX/MATCH with multiple column index numbers
    By cerebral87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2017, 07:13 PM
  2. [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
  3. Replies: 1
    Last Post: 06-18-2015, 08:45 AM
  4. Replies: 2
    Last Post: 12-18-2014, 09:52 AM
  5. Replies: 3
    Last Post: 05-19-2014, 02:01 PM
  6. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  7. Replies: 2
    Last Post: 03-16-2012, 12:03 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