ShipStation Date Mismatch!

DonnaRisso

New Member
Joined
May 14, 2024
Messages
12
Office Version
  1. 2019
Platform
  1. Windows
I am hoping that someone is able to help with this - I have extracted data from some software called Shipstation and the dates are so messed up!
Firstly they are in US and I need them to be in UK
but if you look at the screenshot, you will see the dates come through in multiple formats in just one report - I have tried my best but I cannot find a way to sort this out - any geniuses out thee who can help?!!
1715705138999.png
 
I didn't look at the version but can replace it with LEFT and FIND. I'm not sure about the regional settings.
Book1
ABC
1
2text format no letters8/7/2023 12:42:00 PM8/7/23
3text format w letters8/7/2023 9:24:39 AM8/7/23
4actual date/time value8/7/238/7/23
Sheet5
Cell Formulas
RangeFormula
C2:C4C2=IF(ISNUMBER(B2),B2,DATEVALUE(LEFT(B2,FIND(" ",B2)-1)))
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I didn't look at the version but can replace it with LEFT and FIND. I'm not sure about the regional settings.
Book1
ABC
1
2text format no letters8/7/2023 12:42:00 PM8/7/23
3text format w letters8/7/2023 9:24:39 AM8/7/23
4actual date/time value8/7/238/7/23
Sheet5
Cell Formulas
RangeFormula
C2:C4C2=IF(ISNUMBER(B2),B2,DATEVALUE(LEFT(B2,FIND(" ",B2)-1)))
you made that formula so easy. I always do a rube goldberg contraption!
 
Upvote 0
i'm not sure OP has TEXTBEFORE() function. It would be easier to make the formulas if they did though.
The OPs profile says 2019 so it that it the case they won't have TextBefore. For me not having Let or TextSplit is a bigger loss in this scenario.

Typically what happens is that anything with a number <= 12 in what is in the local format the month position gets converted to a date (number) but with the day and month reversed. Anything with a number > 12 will be kept as text.
I think @Cubist Post # 31 is just an example of find instead of textbefore since the formula does not address the US to UK conversion.

20240515 Data US to UK Conversion DonnaRisso.xlsx
ABCD
1Date1Date2Converted Date1Converted Date2
28/11/2023 12:428/22/2023 12:00:00 AM11/08/202322/08/2023
38/11/2023 00:418/17/2023 12:00:00 AM11/08/202317/08/2023
48/11/2023 00:358/29/2023 12:00:00 AM11/08/202329/08/2023
58/14/2023 9:24:39 AM9/05/2023 00:0014/08/20235/09/2023
68/14/2023 9:20:54 AM9/05/2023 00:0014/08/20235/09/2023
78/14/2023 9:14:43 AM8/14/2023 12:00:AM14/08/202314/08/2023
88/14/2023 9:12:27 AM8/23/2023 12:00:00 AM14/08/202323/08/2023
98/09/2023 12:428/22/2023 12:00:00 AM9/08/202322/08/2023
Formula
Cell Formulas
RangeFormula
C2:D9C2=IF(ISNUMBER(A2), DATEVALUE(TEXT(A2,"mm/dd/yyyy")), DATE( MID(A2,FIND(" ",A2)-4,4), LEFT(A2,FIND("/",A2)-1), SUBSTITUTE(MID(A2,FIND("/",A2)+1,2),"/","")) )
 
Upvote 0
Revised Edited:
@Cubist his regional setting is already UK and I think you will find that the Column formatting is already either General or the Regional setting in this case dd/mm/yyyy.
The dates are coming in as US format mm/dd/yyyy, in this format if mm > 12 then treating that string as if it where dd/mm/yyyy won't work and Excel opts to treat it as text. The 2nd part of the formula in Post #31 using DateValue on that string will error out.
If in the US format mm <=12 then Excel will treat that same string "as if" it where dd/mm/yyyy and will treat it as a number / date. However the month and day are in reverse.
 
Last edited:
Upvote 0
Revised Edited:
@Cubist his regional setting is already UK and I think you will find that the Column formatting is already either General or the Regional setting in this case dd/mm/yyyy.
The dates are coming in as US format mm/dd/yyyy, in this format if mm > 12 then treating that string as if it where dd/mm/yyyy won't work and Excel opts to treat it as text. The 2nd part of the formula in Post #31 using DateValue on that string will error out.
If in the US format mm <=12 then Excel will treat that same string "as if" it where dd/mm/yyyy and will treat it as a number / date. However the month and day are in reverse.
Appreciate the explanation. I don't have much experience dealing with regional formatting. That makes sense.
 
Upvote 0
The OPs profile says 2019 so it that it the case they won't have TextBefore. For me not having Let or TextSplit is a bigger loss in this scenario.

Typically what happens is that anything with a number <= 12 in what is in the local format the month position gets converted to a date (number) but with the day and month reversed. Anything with a number > 12 will be kept as text.
I think @Cubist Post # 31 is just an example of find instead of textbefore since the formula does not address the US to UK conversion.

20240515 Data US to UK Conversion DonnaRisso.xlsx
ABCD
1Date1Date2Converted Date1Converted Date2
28/11/2023 12:428/22/2023 12:00:00 AM11/08/202322/08/2023
38/11/2023 00:418/17/2023 12:00:00 AM11/08/202317/08/2023
48/11/2023 00:358/29/2023 12:00:00 AM11/08/202329/08/2023
58/14/2023 9:24:39 AM9/05/2023 00:0014/08/20235/09/2023
68/14/2023 9:20:54 AM9/05/2023 00:0014/08/20235/09/2023
78/14/2023 9:14:43 AM8/14/2023 12:00:AM14/08/202314/08/2023
88/14/2023 9:12:27 AM8/23/2023 12:00:00 AM14/08/202323/08/2023
98/09/2023 12:428/22/2023 12:00:00 AM9/08/202322/08/2023
Formula
Cell Formulas
RangeFormula
C2:D9C2=IF(ISNUMBER(A2), DATEVALUE(TEXT(A2,"mm/dd/yyyy")), DATE( MID(A2,FIND(" ",A2)-4,4), LEFT(A2,FIND("/",A2)-1), SUBSTITUTE(MID(A2,FIND("/",A2)+1,2),"/","")) )
THAT WORKED!!!!!
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,613
Members
452,661
Latest member
Nonhle

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