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 "
 

Some videos you may like

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
54,929
Office Version
  1. 365
Platform
  1. Windows
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?
 

Watch MrExcel Video

Forum statistics

Threads
1,114,528
Messages
5,548,574
Members
410,852
Latest member
WernerS
Top