Try this in C3
=IF(AND(ISBLANK(B1),ISBLANK(B2)),"",IF(ISNUMBER(B2),B2,B1))
This will leave C3 blank if both B1 and B2 are empty. If either B1 o
B2 is not empty and if B2 is a number then it will return B2 if not i
will return B1.
HTH
Stev
danie - 16 Mar 2006 19:51 GMT
How should I code the syntax for more than two cells, say 7 cells B1 through
B7?
Thanks,
> Try this in C3
>
[quoted text clipped - 7 lines]
>
> Steve