Dates in one Cell Format change

yashsrawat

Board Regular
Joined
Aug 11, 2006
Messages
106
Hi All

Need small help, In one of my report i have to copy all the dates in one CELL in excel, but format is should be DD-MMM-YY( 07-Jan-2018), is it possible to change the Format on one cell where we have bunch of all these dates

Cell
A1
"9-30-2015
8-31-2016
5-2-2017
7-17-2017
7-31-2017"
10-6-2016
6-7-2017
8-22-2017
9-5-2017"
9-14-2016
5-23-2017
7-26-2017
8-3-2017 "
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Formatting only applies to numeric or date entries.
However, in order to make an entry of numerous date like you have shown, it would have to be a Text entry.
So, you cannot apply normal formatting to that kind of data.

You would have to use VBA to do something like that, if you insist on keeping all dates in a single cell.
If you want to pursue that option, please answer the following:
- Are there really random double-quote marks (") scattered throughout the data?
- Are the different dates entered into a single cell like that using soft-carriage returns?
- Do you want this VBA to run on existing data, or are you entering the data this way and want it to be corrected upon making an entry?
 
Upvote 0

Forum statistics

Threads
1,224,852
Messages
6,181,403
Members
453,036
Latest member
Koyaanisqatsi

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