Combining Cells

scottc786

New Member
Joined
Jun 9, 2008
Messages
42
Morning All - Just a quick one. I have 2 cells i need to combine, but i only want part of the information out of one of them. How can I do this within excel?

this is an example

Cell 1 Cell 2 Cell 3 (needs to be:)
Havas 01/12/2013 Havas 01/2013

basically, i need to take the day out of an american date. I have several hundred lines to go through, and this data changes all the time, so doing it manually really doesn't appreal 1st thing on a monday morning! :)

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Morning All - Just a quick one. I have 2 cells i need to combine, but i only want part of the information out of one of them. How can I do this within excel?

this is an example

Cell 1 Cell 2 Cell 3 (needs to be:)
Havas 01/12/2013 Havas 01/2013

basically, i need to take the day out of an american date. I have several hundred lines to go through, and this data changes all the time, so doing it manually really doesn't appreal 1st thing on a monday morning! :)

Thanks
If cell 2 is actually a date (12 Jan), try this:
=A1&" "&TEXT(B1,"mm/yyyy")
 
Upvote 0
Thanks - I have already tried that, but as it is a US date, and there is no preset mm/yy on the date format options, i am stuck :(
 
Upvote 0
If the second value is text, you could try:
=A1&" "&REPLACE(B1,4,3,"")
 
Upvote 0

Forum statistics

Threads
1,214,789
Messages
6,121,593
Members
449,038
Latest member
Arbind kumar

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