Originally Posted by
mungovan
Hi, Basically this is my problem:
I need to do a lookup on 2 columns that returns a value in the third column.
Example:
COLUMN1 COLUMN2 COLUMN3
3 4 1
3 6 0
So then in the cell:
If COLUMN1 contains a 3 and COLUMN2 contains a 4 then return 1
and
If COLUMN1 contains a 3 and COLUMN2 contains a 6 then return 0
Can this be done??
Kind Regards,
Declan
And what about if column 1 doesn't contain a 3, or column 2 doesn't contain either a 4 or 6?
You may need to clarify this last point, but assuming the default is neither 1 nor 0 but a null value, the following will work:
Bookmarks