Excel Date Format - Display Correct Date without changing Regional Settings

chrono2483

Board Regular
Joined
Aug 23, 2014
Messages
164
Office Version
  1. 2016
Hello,

I pull regular raw data, and one of the columns is the date formatted as follows:

[TABLE="width: 148"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: right"]01/08/2017 0:00[/TD]
[/TR]
[TR]
[TD="align: right"]02/08/2017 0:00[/TD]
[/TR]
[TR]
[TD="align: right"]03/08/2017 0:00[/TD]
[/TR]
[TR]
[TD="align: right"]03/08/2017 0:00[/TD]
[/TR]
[TR]
[TD="align: right"]18/08/2017 0:00[/TD]
[/TR]
</tbody>[/TABLE]

Usually, I can use =int() to extract the date, and format it to display the true date (August 1, 2017; August 2, 2017; August 3, 2017, etc). However, with this file it all displays as August 1, 2017. No matter how I format the cell, I cannot get it to display the true date. When I convert to text, it all comes up as 42948.

Is there a macro/formula/formatting that can be done to convert it correct. I've read that it may have something to do with the regional settings, but I don't want to adjust the settings specifically for this one file.

Any help would be great. Thank you.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Are you sure that the files calculation isn't set to manual?
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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