american/australian dates

orsm6

Well-known Member
Joined
Oct 3, 2012
Messages
511
Office Version
  1. 365
Platform
  1. Windows
Hi all - not sure how to tackle this one. I dump some data into a sheet for a date range in any given week that is only ever 5 days maximum. When the report is extracted it comes out in American date format (unable to be changed as far as I can tell)

I need to be able to use the dates in formulas in excel, but the issue I face right now is that:
- 02/05/2024 is showing up in excel as 2nd June 2024
- 02/20/2024 pretty sure also is not going to show the right date


The report pasted could be 1000 lines, so if possible it would be great to avoid a helper column.

looking for advice and a solution f anyone has one.

TIA

EDIT: cannot rely on text to columns or anything like that as the users of the file have extremely limited skills. so preference is to use formulas.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
02/05/2024 is showing up in excel as 2nd June 2024
Not sure why it would show that rather than 2nd May 2024 but try

  • Select the column
  • Data tab
  • Text to Columns
  • Delimited
  • Next
  • Make sure all the checkboxes are cleared
  • Next
  • Select Date checkbox
  • Select the MDY option (yes MDY as you want the source format)
  • Click Finish
  • Format the cells as desired
 
Upvote 0
Not sure why it would show that rather than 2nd May 2024 but try

  • Select the column
  • Data tab
  • Text to Columns
  • Delimited
  • Next
  • Make sure all the checkboxes are cleared
  • Next
  • Select Date checkbox
  • Select the MDY option (yes MDY as you want the source format)
  • Click Finish
  • Format the cells as desired
Thanks Mark - as mentioned I need a way of doing this by formula.

The users don't have the experience to do it as you suggested each time they populate the file

Also - yes - this one does show as MAY.. apologies...

if it says 02/06/2024 it says JUNE
 
Upvote 0
The users don't have the experience to do it as you suggested each time they populate the file
It isn't that hard or complicated when you try it but if you insist on a formula please post some sample data to test on (about a dozen lines) using XL2BB (and get the cell references you are using)
 
Upvote 0
Since you have 365 and want to use a formula, see if this works for you:

testprojprotect.xlsm
AB
1Imported DateDate dd/mm/yyyy
22/05/20245/02/2024
302/20/202420/02/2024
HideThis
Cell Formulas
RangeFormula
B2:B3B2=LET(sDt,TEXT(A2,"dd/mm/yyyy"), aDt,TEXTSPLIT(sDt,"/"), DATE(INDEX(aDt,,3),INDEX(aDt,,1),INDEX(aDt,,2)))
 
Upvote 1
Solution
Since you have 365 and want to use a formula, see if this works for you:

testprojprotect.xlsm
AB
1Imported DateDate dd/mm/yyyy
22/05/20245/02/2024
302/20/202420/02/2024
HideThis
Cell Formulas
RangeFormula
B2:B3B2=LET(sDt,TEXT(A2,"dd/mm/yyyy"), aDt,TEXTSPLIT(sDt,"/"), DATE(INDEX(aDt,,3),INDEX(aDt,,1),INDEX(aDt,,2)))
Thanks Alex - exactly as needed.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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