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've seen this reported in other threads. Maybe you can search for Date Issues with Regional Settings and formats?
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Which method is this reference to?
@Cubist, i'm not sure you mean by method? This is a confusing dilemma. I saw 3 different ways the dates were presented. And, for me sometimes the xl2bb changes the format when pasting. I am in US, she has US formatted dates (often as strings); but wants them in UK format. When the formula I provided is calculated it forces formatting around and gives an incorrect datevalue than what she expected. I am baffled.
 
Last edited:
Upvote 0
@Cubist, what do you mean by method? I saw 3 different ways the dates were presented. And, for me sometimes the xl2bb changes the format when pasting. I am in US, she has US formatted dates (often as strings). When the formula I provided is calculated it forces formatting around and gives an incorrect datevalue than what she expected. I am baffled.
I was wondering if the OP tried the text-to-column or your formula in that post. It appears that s/he was referring to the formula now that I re-read it.
 
Upvote 0
I was wondering if the OP tried the text-to-column or your formula in that post. It appears that s/he was referring to the formula now that I re-read it.
Yeah. I think OP probably ruled out using TextToColumn because of the various formats. I've seen these types of formatting in date conversions conflicts before. I've not seen how they get resolved. Do you think if the formula created a text string in UK regional format and then wrap that in DATEVALUE() would work?
 
Upvote 0
I think the format is pretty consistent. I don't see an issue with my sample. The results are showing in the US, but can be easily changed to UK format.
Book2
ABC
1TextFormulaText-to-Column
208/11/2023 12:428/11/20238/11/2023 12:42
308/16/2023 12:42 PM8/16/20238/16/2023 12:42
Sheet4
Cell Formulas
RangeFormula
B2:B3B2=IF(ISNUMBER(A1),A1,DATEVALUE(TEXTBEFORE(A2," ")))
 
Upvote 0
I think the format is pretty consistent. I don't see an issue with my sample. The results are showing in the US, but can be easily changed to UK format.
Book2
ABC
1TextFormulaText-to-Column
208/11/2023 12:428/11/20238/11/2023 12:42
308/16/2023 12:42 PM8/16/20238/16/2023 12:42
Sheet4
Cell Formulas
RangeFormula
B2:B3B2=IF(ISNUMBER(A1),A1,DATEVALUE(TEXTBEFORE(A2," ")))
that is the problem. When she formats as UK the month and day get reversed. Aug 7 become Jul 8.
 
Upvote 0
I did Ctrl + 1 and changed to d/m/yyyy
Book2
ABC
1TextFormulaText-to-Column
208/11/2023 12:4211/8/202311/8/2023
308/16/2023 12:42 PM16/8/202316/8/2023
Sheet4
Cell Formulas
RangeFormula
B2:B3B2=IF(ISNUMBER(A1),A1,DATEVALUE(TEXTBEFORE(A2," ")))
 
Upvote 0
@DonnaRisso ... if you are still getting the reversed day and month try this hair brained idea:

the following formula gives me a #VALUE error because I'm in the US. But the DATEVALUE() function takes a date that is in a text string and converts it to the serial number. So, the first 3 cells in column C are in UK format, and I get a #Value error. I'm not sure if you will or not. But, try to get the "text" order of your dates into a format that the DATEVALUE() function likes. The bottom two cells are text that work into the DATEVALUE function for me.


Book1
ABCD
1
2text format no letters08/07/2023 12:4207/08/2023#VALUE!
3text format w letters8/7/2023 9:24:39 AM7/8/2023#VALUE!
4actual date/time value2023-08-07 10:4507/08/2023#VALUE!
52023/8/745145
6August 7, 202345145
Sheet1
Cell Formulas
RangeFormula
C2:C4C2=IF(ISNUMBER($B2),TEXT(INT($B2),"dd/mm/yyyy"), IF(ISNUMBER(FIND("M",$B2)), LEFT(RIGHT($B2,LEN($B2)-FIND("/",$B2)),FIND("/",RIGHT($B2,LEN($B2)-FIND("/",$B2)))-1) &"/"&LEFT($B2,FIND("/",$B2)-1) &"/"& RIGHT(LEFT($B2,FIND(" ",$B2)-1),4), MID($B2,4,2)&"/"&LEFT($B2,2)&"/"&MID($B2,7,4)))
D2:D6D2=DATEVALUE(C2)
 
Upvote 0
I did Ctrl + 1 and changed to d/m/yyyy
Book2
ABC
1TextFormulaText-to-Column
208/11/2023 12:4211/8/202311/8/2023
308/16/2023 12:42 PM16/8/202316/8/2023
Sheet4
Cell Formulas
RangeFormula
B2:B3B2=IF(ISNUMBER(A1),A1,DATEVALUE(TEXTBEFORE(A2," ")))
i'm not sure OP has TEXTBEFORE() function. It would be easier to make the formulas if they did though.
But, I really think it is the regional settting on the OP computer that is causing the mix up. I've seen it before in posts here, but never seen a satisfactory resolution.
 
Upvote 0

Forum statistics

Threads
1,217,367
Messages
6,136,142
Members
449,994
Latest member
Rocky Mountain High

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