After much experimentation, I found something that sort of works, but I need to combine them all together.
My actual data is more complicated than the example I gave. I need to have one cell that checks against three different columns on sheet2 before returning an error.
If this returns a value, stop here:
If it doesn't, check this:
If that doesn't match, check this:
If none of those match, return #N/A
Can I combine them all into one big IF statement? I need to check each of them separately, rather than just across the columns.
I didn't want to go into great detail about the data, but if it will help I can explain more about it.
I didn't use the curly brackets since I'm not looking across more than one column at a time.
Bookmarks