I have an excel document with multiple sheets that I am referencing using IFERROR and IF statements. I have tried multiple variations of it to no avail.
Here is my current formula:
What it does is an INDEX lookup referencing a cell in the current sheet a cell of the same name in Sheet2 Column A and if the cell doesn't exist in Sheet2 it looks in Sheet3 and if it doesn't exist in Shee3 it looks in Sheet4 and if it's not in Sheet4 it says "EMPTY".
This works, however I would like to add 2 more conditions. I would like it to move onto the next sheet if the value indexed is a "0" or is blank.
So, for example:
It looks for the the value of cell A3 (let's say it's "John") in Sheet2 column A
and if "John" is not in sheet2 column A, or if "John" is in sheet2 Column A but the corresponding value it finds in column B is blank or is "0" then it moves onto sheet 3
If "John" is in Sheet3 column A and there is a value in Sheet3 Column B other than "0" it returns that value
and if "John" is not in Sheet3 column A, or if it is but the corresponding cell in Sheet 3 column B is blank or is "0" it returns the word "EMPTY"
Here is my current formula:
Excel Formula:
=IFERROR(INDEX(sheet2!B$2:B$10000,MATCH($A3,sheet2!$A$2:$A$10000,0)),IFERROR(INDEX(sheet3!B$2:B$10000,MATCH($A3,sheet3!$A$2:$A$10000,0)),IFERROR(INDEX(sheet4!B$2:B$10000,MATCH($A3,sheet4!$A$2:$A$10000,0)),"EMPTY")))
What it does is an INDEX lookup referencing a cell in the current sheet a cell of the same name in Sheet2 Column A and if the cell doesn't exist in Sheet2 it looks in Sheet3 and if it doesn't exist in Shee3 it looks in Sheet4 and if it's not in Sheet4 it says "EMPTY".
This works, however I would like to add 2 more conditions. I would like it to move onto the next sheet if the value indexed is a "0" or is blank.
So, for example:
It looks for the the value of cell A3 (let's say it's "John") in Sheet2 column A
and if "John" is not in sheet2 column A, or if "John" is in sheet2 Column A but the corresponding value it finds in column B is blank or is "0" then it moves onto sheet 3
If "John" is in Sheet3 column A and there is a value in Sheet3 Column B other than "0" it returns that value
and if "John" is not in Sheet3 column A, or if it is but the corresponding cell in Sheet 3 column B is blank or is "0" it returns the word "EMPTY"