If/then to print text.

S

Shadyhosta

I want to use a formula so that when a value over zero is put into one cell,
a line of text prints in another cell. I know it is an if then function, but
I've forgotten the exact formula and the way to encode the text message in
the formula.
 
G

gls858

Shadyhosta said:
I want to use a formula so that when a value over zero is put into one cell,
a line of text prints in another cell. I know it is an if then function, but
I've forgotten the exact formula and the way to encode the text message in
the formula.
Try this:

=IF(A1>0,"print this text","print this other text")

gls858
 
B

Bill Kuunders

The value is in A2
In the other cell enter

=IF(A2>0,"this is greater than zero or what ever","")

Regards
Bill K
 

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