Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ryder
 
Posts: n/a
Default combining an if statement

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.
  #2   Report Post  
Erin
 
Posts: n/a
Default

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


"Ryder" wrote:

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.

  #3   Report Post  
N Harkawat
 
Posts: n/a
Default

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

"Ryder" wrote in message
...
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.



  #4   Report Post  
CLR
 
Posts: n/a
Default

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

Vaya con Dios,
Chuck, CABGx3



"Ryder" wrote in message
...
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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What statement to use? Paul Excel Worksheet Functions 6 February 13th 05 05:23 PM
How do I fix a circular reference in a financial statement? drjayhawk25 Excel Discussion (Misc queries) 0 February 7th 05 05:19 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM
Combining SUM Function with Nested If Statement Somecallmejosh Excel Discussion (Misc queries) 3 December 6th 04 04:25 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM


All times are GMT +1. The time now is 06:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"