If Statement

K

krc547

How do I get a cell to inout what is in that cell unless it is blank, if it
is blank then return what is in another cell, if both are blank then return
nothing.

Example:

=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)
 
F

FSt1

hi
not exactly sure if i understand you.
formulas cannot "output" values. they can only return them.
an if formula can look at 2 cells and if return one or the other. or leave
blank.

rephrase your question.

Regards
FSt1
 
P

PCLIVE

Maybe this:

=IF('Input Form'!C29="",IF('Input Form'!H7="","",'Input Form'!H17),"'Input
Form'!C29")

HTH,
Paul
 
K

krc547

I need to look at cell c29, if cell C29 is blank, then cell H17, if cell h17
is blank then nothing.
 
F

FSt1

hi
I think i understand now.
try this
=IF(C29<>"",C29,IF(H17<>"",H17,""))

regards
FSt1
 
P

Pete_UK

Ensure that the cell is formatted as General, then re-enter the
formula.

Hope this helps.

Pete
 

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