Date formatting issue

CHML

Board Regular
Joined
Mar 19, 2023
Messages
73
Office Version
  1. 2019
Platform
  1. Windows
  2. Web
Hi, After downloading a report, I noticed that somehow, Excel caught up services for (in this image scenario) December 10, 2023, as October 12, 2023 (in numeric format).
How can I tell Excel to treat the 2 first digits on the left as the Month, and the mid as days? If I simply do by formatting to "mm/dd/yyyy" It still thinks its October and shows as 10/12/2023.

If you help with a formula perspective, consider there are some dates that have only 1 digit as the day.

Thanking you in advance.
1705270532227.png

1705270855338.png
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try selecting the column - Data - Text to Columns - click Next - make sure nothing is checked - click Next - Check the Date option and choose MDY - click Finish
 
Upvote 0
why don't you reverse the text format to be like this?

Excel Formula:
=TEXT(A15,"MMMM, DDDD DD, YYYY")
 
Upvote 0
why don't you reverse the text format to be like this?

Excel Formula:
=TEXT(A15,"MMMM, DDDD DD, YYYY")
A) because the result is text and not a real date
B) because it doesn't reverse the Month and Day i.e with 10/12/2023 the result needed is December, Sunday 10, 2023
C) It doesn't work with the likes of 12/17/2023 which are text if the pc is in dd/mm/yyyy format

Book2
ABC
1212/10/2023October, Thursday 12, 2023
1312/17/202312/17/2023
Sheet1
Cell Formulas
RangeFormula
C12:C13C12=TEXT(A12,"MMMM, DDDD DD, YYYY")
 
Last edited:
Upvote 0
Thanks for trying to help; So far neither of these tips solved the issue.
Attached is what I get when doing SunnyAlv's suggestion; (Remember the correct date is Dec 10)
1705293198715.png


When I tried following MARK858's steps, nothing changed. Excel displays it as DMY and in the formula bar as MDY. but is fooling by assuming that the service was done in the month of the first two digits at the left, but in fact, the true service dates were all in December.
 
Upvote 0
This was my first step;
1705294342305.png


Then;
1705294382312.png


Then;
1705294431382.png

Results;
1705294491460.png
 
Upvote 0
The formula bar is correct, format column A as d/mm/yyyy or dddd, mmmm dd, yyyyy (if you want it in the same format as column B in post 1)
 
Last edited:
Upvote 0
I changed A5 for example
1705295004001.png


But it still thinks the moth is January 12, 2023 see bellow
1705295084977.png
 
Upvote 0
Is your computers regional setting in dd/mm/yyyy? because it changes

1705295313630.png


to

1705295382843.png


for me after running Text to Columns
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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