date formatting

Rip1971

Board Regular
Joined
Nov 3, 2020
Messages
65
Office Version
  1. 365
Platform
  1. Windows
I have a wierd thing in my reports
In a generated report which i have no influence on there is a date variable that is done in different ways. however excel does not see it as a date.
By selecting cell and then F2 and leaving the cell again without saving the format does change.All cells are formated in short date.

what can i do to have all dates in same format so they can be used in a pivot for further usage.

20201130 Compliance report.xlsx
O
4913-MAR-2018
5011/29/2019
519/17/2018
5213-MAR-2018
Data
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
When formatted your data into Short date it gives me below result as you want

Book2
A
13/13/2018
211/29/2019
39/17/2018
43/13/2018
Sheet1
 
Upvote 0
When formatted your data into Short date it gives me below result as you want

Book2
A
13/13/2018
211/29/2019
39/17/2018
43/13/2018
Sheet1
that is the wierd part. when i do it it doesn't change. only if i select cell in the bar not the cell itself and click on the checkmark.
 
Upvote 0
Try
Select entire column where date is located and then
go to > Data > Text to columns > Finish
 
Upvote 0
that is the wierd part. when i do it it doesn't change. only if i select cell in the bar not the cell itself and click on the checkmark.
That means all the entries were entered as Text, not Date.

Try doing a "Text to Columns" on that column, selecting the Date option set to "MDY", and then click Finish.
That will convert them all to dates, and then you can apply any date format you want to them.
 
Upvote 0
Solution
Try
Select entire column where date is located and then
go to > Data > Text to columns > Finish

That means all the entries were entered as Text, not Date.

Try doing a "Text to Columns" on that column, selecting the Date option set to "MDY", and then click Finish.
That will convert them all to dates, and then you can apply any date format you want to them.

This does do the trick. tried many things but this never crossed my mind.

Thank you both for this solution
 
Upvote 0
You are welcome.
Glad we were able to help.
 
Upvote 0
You're Welcome...
Glad you get the solution..
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,575
Members
449,089
Latest member
Motoracer88

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