Multiple date formats - formatting

phartpants

New Member
Joined
Jul 22, 2013
Messages
4
Hi,</SPAN>

I need to run a regular report on around 250,000 rows of data from an application I don’t have permission to clean up the data from. Over time, this application has been populated by a lot of different people, without any validation rules, which means we have date fields in the following formats;</SPAN>


  • m/dd/yyyy h:mm:ss AM/PM</SPAN>
  • mm/dd/yyyy h:mm:ss AM/PM</SPAN>
  • dd/mm/yyyy hh:mm</SPAN>

I would like all of these values to be stored in either of the following formats;</SPAN>


  • dd/mm/yyyy hh:mm</SPAN>
  • dd/mm/yyyy</SPAN>

Preference would be to include the time if possible, however that’s not critical.</SPAN>

I have tried to remove formatting and apply the date format I want, using text to columns and also tried converting them to numbers, but all of these only affect the data currently stored in the dd/mm/yyyy hh:mm formats. The others are unaffected.</SPAN>

As this is a weekly report, I need something a solution which takes little effort. Appreciate any tips people may have?</SPAN>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
hey .. I think you need to check out , it's value whether it is actual date or something like text .
Always concern with Value of cell, not what it's looks like..!
to check ....
copy and paste as value Or
Use formula : isnumber()
if this thing are not useful.... pls post little part of your Data...

Good Luck...
 
Upvote 0
@MUKESHY12390 no, the US format dates appear to be text and am unable to change them by altering the format.

For example, if I select the column and change to 'NUMBER' the Australian date fields all update to a decimal number, but the US date fields remain as text.

Here is a snippet:

1/20/2009 8:15:13 PM</SPAN>
11/05/2008 15:08</SPAN>
10/28/2008 4:34:45 PM</SPAN>
1/28/2009 3:39:31 PM</SPAN>
12/08/2008 20:02</SPAN>
12/15/2008 8:51:29 PM</SPAN>
12/15/2008 8:51:32 PM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/08/2008 20:02</SPAN>
12/15/2008 8:51:33 PM</SPAN>
12/15/2008 8:51:34 PM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/08/2008 20:02</SPAN>
12/15/2008 8:51:35 PM</SPAN>
12/15/2008 8:51:36 PM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/16/2008 12:00:00 AM</SPAN>
12/08/2008 20:02</SPAN>
12/15/2008 8:51:37 PM</SPAN>

<TBODY>
</TBODY><COLGROUP><COL></COLGROUP>
 
Upvote 0
now m wondering ...it's working on my sheet.. I just change the format to dd/mm/yyyy by using custom mode ..

20/01/2009
05/11/2008
28/10/2008
28/01/2009
08/12/2008
15/12/2008
15/12/2008
16/12/2008
16/12/2008
16/12/2008
08/12/2008
15/12/2008
15/12/2008
16/12/2008
16/12/2008
16/12/2008
08/12/2008
15/12/2008
15/12/2008
16/12/2008
16/12/2008
16/12/2008
08/12/2008
15/12/2008

<colgroup><col></colgroup><tbody>
</tbody>
 
Upvote 0
Well, that is weird. I am not able to do that before, or even after copying the above text into a new workbook. I have tried just changing to default date values and by using the cutom format but neither work.

Could you please advise which version of excel you have?
 
Upvote 0

Forum statistics

Threads
1,216,743
Messages
6,132,456
Members
449,729
Latest member
davelevnt

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