I am using an Index/Match formula to lookup a person associated with a specific region. I have a sheet setup as a lookup table named Gift Card Approver with 2 columns: Region and Approver. In my main sheet I have a formula that pulls the region from the current line and uses that to lookup the approver in the Gift Card Approver table.
The formula looks like this: =INDEX({GC Consulting Approvers 2}, MATCH(Region@row, {GC Consulting Approvers 2}, 1), 2)
The Gift Card Approver table looks like this:
The main sheet looks like this:
If you look at the region in the main lines 1 and 2 we have different regions, but they are pulling the same contact name (BTW the approver name and the consulting name are both contact columns), but they have different regions and should have different approvers.
In troubleshooting this I created 2 variations on the formula.
Using this formula in Approver Test1 to show the region instead of the contact: =INDEX({GC Consulting Approvers 2}, MATCH(Region@row, {GC Consulting Approvers 2}, 1), 1) . Note the last argument is a 1 instead of a 2. We see that the region returned does not match the region used for the search.
In Approver Test2 I modified the formula to only show the Match portion and hard coded in the region search item with the actual text of the search: =MATCH("APAC Korea", {GC Consulting Approvers 2}, 1) . It returns a 1 which is not the row that actually matches the search.
I am really scratching my head here as to why the Match function is returning a 1.