This has been posted a few times before but the answer has never been definitive nor has it been dynamic to work in a multitude of situations.
Sheets:
Starting Point: $C$10:$C$999
=INDEX(DataSheetA:DataSheetD:$E$10:$E$999, MATCH($C10, DataSheetA:DataSheetD:$C$10:$C$999, 0))
Obviously this will not work because Excel cannot accommodate these kind of 3-D (or rather 4-D?) references. This should explain the goal though. Whenever a value, that is not blank, is found on a sheet then stop and return that value. This is the goal. Simple enough, but everyone and their mother loves VLOOKUP to do this, which I LOATHE, so nobody has made a good INDEX/MATCH version.
I found a somewhat useful UDF for looking up across multiple sheets via VLOOKUP, but not only is it slow as heck, it causes circular reference errors in worksheets if they are made using the same cells/columns/rows for specific data.
Can someone help me? Is there another way to do this? I did try nested IFERRORS & INDEX/MATCH for each sheet, which works, until the return value is "" which causes the rest of the IFERRORS to never fire off. The solution is a monstrous bunch of nested if statements...yucky.
Please and thanks,
Sheets:
- DataSheetA
- DatasheetB
- DataSheetC
- DataSheetD
Starting Point: $C$10:$C$999
=INDEX(DataSheetA:DataSheetD:$E$10:$E$999, MATCH($C10, DataSheetA:DataSheetD:$C$10:$C$999, 0))
Obviously this will not work because Excel cannot accommodate these kind of 3-D (or rather 4-D?) references. This should explain the goal though. Whenever a value, that is not blank, is found on a sheet then stop and return that value. This is the goal. Simple enough, but everyone and their mother loves VLOOKUP to do this, which I LOATHE, so nobody has made a good INDEX/MATCH version.
I found a somewhat useful UDF for looking up across multiple sheets via VLOOKUP, but not only is it slow as heck, it causes circular reference errors in worksheets if they are made using the same cells/columns/rows for specific data.
Can someone help me? Is there another way to do this? I did try nested IFERRORS & INDEX/MATCH for each sheet, which works, until the return value is "" which causes the rest of the IFERRORS to never fire off. The solution is a monstrous bunch of nested if statements...yucky.
Please and thanks,