Hi, all. I've created what I thought would be a simple IF statement based on a couple others I found on this site but I'm having trouble getting it to work properly past the second or third "IF". My goal is to fill in one cell (in column D) based on the info in three other cells in the same row (columns A, B and C).
If A2 is not equal to 0, insert the data from A2.
If A2 IS equal to 0, insert the data from B2.
If B2 is equal to 0, insert the data from C2.
If C2 is equal to 0, insert the word "none".
If it's easier, I can do it this way instead (I'd prefer to use the zeroes, though):
If A2 is not empty, insert the data from A2.
If A2 IS empty, insert the data from B2.
If B2 is empty, insert the data from C2.
If C2 is empty, insert the word "none".
These are the two formulas I've been working with.
=IF(A2<>0,A2,IF(A2=0,B2,IF(B2=0,C2,IF(C2=0,"none"))))
=IF(A2<>"",A2,IF(A2="",B2,IF(B2="",C2,IF(C2="","none"))))
The first two IFs work, but when it gets to C, it stops working and just shows a zero. Am I even close to getting the statements correct? Any help is appreciated.
Thanks,
Angie
Bookmarks