Date Format Issues / Conversion

Cat129

Board Regular
Joined
Oct 20, 2012
Messages
96
Hi Everyone,

Can anyone help me with date conversions please,

I receive a file from our timesheet program with everyone's hours in, and the date format is Canadian (mm/dd/yyyy), I am in the process of putting something together to process this data. The issue I have is that depending on what country you are in the date formats are different, so for me my excel is English (dd/mm/yyyy).

When I use formulas within date ranges there are errors because of the difference, for example 5th June 2020, in my original data is it shown as 06/05/2020, but when I use formulas to capture information between dates, it is read as 6th May 2020.

How do I get around this?

Thanks,
 

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"
how do you know which is Canadian and which is english - I assume some will come in as text - like 12/24/21
I receive a file from our timesheet program
If the file is exported from the timesheet program - is it exported as Excel or some other format - and then imported into excel, is it a CSV file or other format , if exported from the program, can you ask for to be export as CSV file ?
If so - rather than just open in Excel and let excel decide on the date format
Use the IMPORT part , then you specify a column DATE format to be MM/DD/YYYY
 
Upvote 0

Forum statistics

Threads
1,223,577
Messages
6,173,162
Members
452,503
Latest member
AM74

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