Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kpt kpt is offline
external usenet poster
 
Posts: 11
Default Value if an if statement is false

I need to know if there is a way that when an if statement is either true or
false the value returned can contain a mixture of text and a cell reference.
Example =IF(A12=4,"Mdl =" cell reference here, value if false)

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Value if an if statement is false

You can concatenate any number of cell references and text by using the
ampersand (&).

I.E. =IF(A12=4, "MDL=" & B12, "value if false")



"kpt" wrote:

I need to know if there is a way that when an if statement is either true or
false the value returned can contain a mixture of text and a cell reference.
Example =IF(A12=4,"Mdl =" cell reference here, value if false)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Value if an if statement is false

Hi,

I don't understand your example but the answer is yes you can have a mixture
of text and a cell reference, you do it with the & (ampersand) sign

=IF(A12=4,"Mdl =" & A13, "Something else")

Mike

"kpt" wrote:

I need to know if there is a way that when an if statement is either true or
false the value returned can contain a mixture of text and a cell reference.
Example =IF(A12=4,"Mdl =" cell reference here, value if false)

  #4   Report Post  
Posted to microsoft.public.excel.misc
kpt kpt is offline
external usenet poster
 
Posts: 11
Default Value if an if statement is false

Thank you so much

"Mike H" wrote:

Hi,

I don't understand your example but the answer is yes you can have a mixture
of text and a cell reference, you do it with the & (ampersand) sign

=IF(A12=4,"Mdl =" & A13, "Something else")

Mike

"kpt" wrote:

I need to know if there is a way that when an if statement is either true or
false the value returned can contain a mixture of text and a cell reference.
Example =IF(A12=4,"Mdl =" cell reference here, value if false)

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
False Statement won't show spiz via OfficeKB.com Excel Worksheet Functions 3 June 20th 08 06:29 PM
Two TRUE to one FALSE statement bluebird Excel Worksheet Functions 4 January 11th 07 04:07 PM
If Statement returns true when false? Eric Excel Discussion (Misc queries) 3 September 11th 06 01:58 PM
If statement that does nothing when false higherlimits Excel Discussion (Misc queries) 1 May 26th 06 06:11 PM
keep cell blank if IF statement is False ruthslaughter New Users to Excel 5 November 25th 05 01:30 PM


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

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

About Us

"It's about Microsoft Excel"