Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
False Statement won't show | Excel Worksheet Functions | |||
Two TRUE to one FALSE statement | Excel Worksheet Functions | |||
If Statement returns true when false? | Excel Discussion (Misc queries) | |||
If statement that does nothing when false | Excel Discussion (Misc queries) | |||
keep cell blank if IF statement is False | New Users to Excel |