Data entry - Copy contents of cell typed in one cell to another ce

G

Guest

if i type the number 3 in cell b1, how can I get that value copied into cell
c3?
and then when i type in cell b2, to have that value copied into cell c3
which will overwrite the previous number copied?

Thanks,
 
S

SteveG

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
 
G

Guest

How should I code the syntax for more than two cells, say 7 cells B1 through
B7?

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top