combining an if statement

R

Ryder

I would like to have a cell that combines static text with an if statement.
it might look something like, The if(x=4, 2004, if(x=5, 2005, if(x=6,
2006,0))) annual report is now avilable. I understand how to write the IF
statement, i am just unsure of the formating that will allow me to acheive
the sentence i would like. I did this function about 3 years ago, i just
don't remember how.
 
E

Erin

To get the text to appear put it in quotes "2004" "annual report is now
available"
etc
 
N

N Harkawat

=if(x=4, 2004, if(x=5, 2005, if(x=6, 2006,0)))&" annual report is now
avilable"
 
C

CLR

=IF(A1=4,2004,IF(A1=5,2005,IF(A1=6,2006,0)))&" Annual Report is now
available"

Vaya con Dios,
Chuck, CABGx3
 

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