Forum Discussion

sruk89's avatar
sruk89
Brass Contributor
Oct 25, 2023
Solved

** HELP ** Multiple XLOOKUPS

Hi HansVogelaar,

 

You have helped me before with a similar request, so hoping you could help me out with this one too.

 

The idea is the xlookup is referencing cell b2 and looking in the 3 tabs below, "Sacramento Migrated Exchanges", "2b Planned Migrations" & "Ready For Config - On Hold"

 

 

If the value of Cell B2 is found on Sacramento Migrated Exchanges I want the return value to be "2b - Migrated", if its found on "Planned 2b Migrations" it will return "2b Migration - Planned", if its found on Ready for Config - On Hold, it will return "2a Migration"

 

Planned 2b Migration Tab:

The look-up columns are from B:J

 

 

Sacramento Migrated Exchanges Tab:

 

 

Ready for Config - On Hold Tab:

 

Look up column A

 

  • sruk89 That shouldn't be a problem since we look for the 2b migrations first. But the formula has to be modified for the planned migrations sheet (my mistake):

     

    =IFS(ISNUMBER(MATCH(B2, 'Sacramento Migrated Exchanges'!A:A, 0)), "2b - Migrated", COUNTIF('Planned 2b Migrations'!B:J, B2), "2b Migration - Planned", ISNUMBER(MATCH(B2, 'Ready for Config - On Hold'!A:A, 0)), "2a Migration", TRUE, "-")

     
  • sruk89 

    =IFS(ISNUMBER(MATCH(B2, 'Sacramento Migrated Exchanges'!A:A, 0)), "2b - Migrated", ISNUMBER(MATCH(B2, 'Planned 2b Migrations'!A:A, 0)), "2b Migration - Planned", ISNUMBER(MATCH(B2, 'Ready for Config - On Hold'!A:A, 0)), "2a Migration", TRUE, "-")

    • sruk89's avatar
      sruk89
      Brass Contributor
      Hi Hans,

      Slight oversight on my behalf looks like Ready for Config - On Hold Tab also contains the "Planned 2b Migrations" as well so can we change this formula so that if any of the codes in Column A are not found on the 2b Migration list then we can assume that this is a 2a migration?

Resources