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

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
59,294
Office Version
  1. 365
Platform
  1. Windows
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

scottc786

New Member
Joined
Jun 9, 2008
Messages
42
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

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
59,294
Office Version
  1. 365
Platform
  1. Windows
If the second value is text, you could try:
=A1&" "&REPLACE(B1,4,3,"")
 
Upvote 0

Forum statistics

Threads
1,191,687
Messages
5,988,014
Members
440,125
Latest member
vincentchu2369

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
Top