I need to have a formula which will look in one cell and if there is something in, copy the text.
So if A1 has text in it, copy it to C1, but if no text then take the value from B1 and insert into C1.
Is this possible?
B
I need to have a formula which will look in one cell and if there is something in, copy the text.
So if A1 has text in it, copy it to C1, but if no text then take the value from B1 and insert into C1.
Is this possible?
B
Insert this into C1:
=IF(A1<>"",A1,B1)
Thank you so much!!![]()
How do I hide the 0, if there's nothing in either cell?
No problem. Try this:
=IF(IF(A1<>"",A1,B1)=0,"",IF(A1<>"",A1,B1))
Thanks! Is it possible for a cell to have a value entered into it, and if it doesn't default to the formula used?
Not in the same cell, but you can "stage gate" it. Have a column in between that you can enter data into (column C) and then have the formula in column D. For example:
=IF(IF(C1<>"",(IF(A1<>"",A1,B1),C1)=0,"",IF(C1<>"",(IF(A1<>"",A1,B1),C1))
This checks if you manually entered anything into C. If you did, it just uses that. If C is blank, then it checks A and B like before.
Hi,
It's coming up with a message that says "Your formula is missing a parenthesis--) or (.
Sorry, that's my fault - that's what I get for typing that freehand and not testing in a worksheet.
=IF(IF(C1<>"",C1,IF(A1<>"",A1,B1))=0,"",IF(C1<>"",C1,IF(A1<>"",A1,B1)))
Thank you so much for your help!
No worries.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks