Hi team, hoping you can help with the index,match formula to find the occurrence where the storage unit is not blank (or zero). The formula is referring to a table (called "Runners") in another sheet. The table is refreshed every hour throughout the day to bring in new data. Unfortunately there are more columns of data than the sample below, so I am unable to use a pivot table or vlookup and must be an INDEX.
Here is where I am up to with the formula:
=IF(INDEX(Runners[[#All],[Storage Unit]],MATCH(F2,Runners[[#All],[Name]],0))<>0,INDEX(Runners[[#All],[Location]],MATCH(F2,Runners[[#All],[Name]],0)),"Give me second occurance")
F2 refers to another sheet with Names
Sample of table:
<tbody>
</tbody>
Outcome:
Index Louise to find "Adelaide" because there is a value in the storage unit column [9] - not "Melbourne" because it's the first Match.
Index Peter to find "Perth" because there is a value in the storage unit column [5] - not "Sydney" because it's the first Match.
Appreciate your help.
Dave.
Here is where I am up to with the formula:
=IF(INDEX(Runners[[#All],[Storage Unit]],MATCH(F2,Runners[[#All],[Name]],0))<>0,INDEX(Runners[[#All],[Location]],MATCH(F2,Runners[[#All],[Name]],0)),"Give me second occurance")
F2 refers to another sheet with Names
Sample of table:
Name | Location | Storage Unit |
Michael | Brisbane | 4 |
Peter | Sydney | |
Louise | Melbourne | |
Peter | Perth | 5 |
Louise | Adelaide | 9 |
<tbody>
</tbody>
Outcome:
Index Louise to find "Adelaide" because there is a value in the storage unit column [9] - not "Melbourne" because it's the first Match.
Index Peter to find "Perth" because there is a value in the storage unit column [5] - not "Sydney" because it's the first Match.
Appreciate your help.
Dave.