combining text and formulas

andrewb90

Well-known Member
Joined
Dec 16, 2009
Messages
1,077
Hi,

I am trying to combine the text values of several formulas in addition to adding some text (punctuation) in between.

Here is the data that I am trying to combine

C14: 2013
C15: Period 6
C16: Week 1

In Cell C13, I would like to have this value returned: "2013 - Period 6, Week 1"

Is there such a way to do this?

Thanks,
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Code:
=C14&" - "&C15&" - "&C16
That does work, make sure you're copying it exactly
 
Upvote 0
ah, I figured out what was wrong, I had to enter in something on the other cells, the existing text didn't get recognized until I did that.
 
Upvote 0
Could use something like this to remove the #value!
=If(Iserror(C14&" - "&C15&" - "&C16)=true,"Data Missing",C14&" - "&C15&" - "&C16)
 
Upvote 0
just a thought but you could check and see if you have 'transition formula evaluation' turned on which is usually under the Lotus compatability area of advanced options

not sure where it is in 2003 though.
 
Upvote 0
Could use something like this to remove the #value!
=If(Iserror(C14&" - "&C15&" - "&C16)=true,"Data Missing",C14&" - "&C15&" - "&C16)
You do not have to test the return value from ISERROR to see if it is TRUE or FALSE... those are the values it returns naturally, the the IF function can use them directly. Think about it... you are testing if TRUE=TRUE and, if it does, that evaluation is TRUE (which is what the IF function uses)... but if the return value from ISERROR is TRUE, why test it only to produce the same TRUE value after the test? Just use the TRUE it returns directly. Same analysis for when it returns FALSE.
 
Upvote 0

Forum statistics

Threads
1,214,999
Messages
6,122,645
Members
449,093
Latest member
Ahmad123098

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top