Date entered in wrong

amikes

New Member
Joined
Jan 24, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
My GNSS system uploaded all the dates wrong, so 2021-03-14 was entered as 2014-03-21. I cannot just reverse the year and day because it still recognizes it as 2014-03-21. Is there a way to fix this with a formula, or will I need to re-enter all 300 data points manually? Not sure if this makes sense.
 

Attachments

  • Screenshot 2022-01-24 103741.png
    Screenshot 2022-01-24 103741.png
    9.3 KB · Views: 3

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi,

If the values are actual dates in this format 2014-03-21 as yyyy-mm-dd
try this:

Book3.xlsx
AB
12014-03-212021-03-14
Sheet960
Cell Formulas
RangeFormula
B1B1=DATE(DAY(A1)+2000,MONTH(A1),YEAR(A1)-2000)
 
Upvote 0
Solution
Too late to edit.

Just in case, if the values are Text, then use B2 formula:

Book3.xlsx
AB
12014-03-212021-03-14
22014-03-212021-03-14
Sheet960
Cell Formulas
RangeFormula
B1B1=DATE(DAY(A1)+2000,MONTH(A1),YEAR(A1)-2000)
B2B2=DATE(2000+RIGHT(A2,2),MID(A2,6,2),MID(A2,3,2))
 
Upvote 0
Thank you! Problem is solved. This was incredibly helpful.
 
Upvote 0
You're welcome, thanks for the feedback.

Actually, I just noticed you also have Time values showing in your screenshot, do you need that included in the conversion?
 
Upvote 0
If there is a way to keep those as well, that would be greatly appreciated! They were entered in correctly
 
Upvote 0
If there is a way to keep those as well, that would be greatly appreciated! They were entered in correctly

Here you go:

Book3.xlsx
ABC
12014-03-21 7:592021-03-14 7:59< Format result cell custom yyyy-mm-dd h:mm
2Or format of your preference
Sheet960
Cell Formulas
RangeFormula
B1B1=DATE(DAY(A1)+2000,MONTH(A1),YEAR(A1)-2000)+MOD(A1,1)
 
Upvote 0
Here you go:

Book3.xlsx
ABC
12014-03-21 7:592021-03-14 7:59< Format result cell custom yyyy-mm-dd h:mm
2Or format of your preference
Sheet960
Cell Formulas
RangeFormula
B1B1=DATE(DAY(A1)+2000,MONTH(A1),YEAR(A1)-2000)+MOD(A1,1)
Thank you so much for your help!! That works so perfectly
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,019
Members
448,938
Latest member
Aaliya13

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