You're tackling some advanced stuff for a beginner.
Okay, first your question....
=IF(ISNUMBER(MATCH(A7,$B$2:$B$14,0)),"Duplicate!","Something Else")
Where I wrote "Something Else" is where your second equation would go.
The equation you wrote however
=ISERROR(INDEX($B$2:$B$4,MATCH(A7,$A$2:$A$4,0)))
will only return a True or a False depending on whether
INDEX($B$2:$B$4,MATCH(A7,$A$2:$A$4,0))
returns an error or not. What exactly are you trying to do with your original formula?
Assuming you are attempting to retrieve from column B, whatever row you find in column A matching A7, then the formula should be written
=IF(ISERROR(INDEX($B$2:$B$4,MATCH(A7,$A$2:$A$4,0))),"Error Check",INDEX($B$2:$B$4,MATCH(A7,$A$2:$A$4,0)))
So the whole thing would be;
=IF(ISNUMBER(MATCH(A7,$B$2:$B$14,0)),"Duplicate!",IF(ISERROR(INDEX($B$2:$B$4,MATCH(A7,$A$2:$A$4,0))),"Error Check",INDEX($B$2:$B$4,MATCH(A7,$A$2:$A$4,0))))
ChemistB
Bookmarks