Converting multiple date serial number in same cell

crtk09

New Member
Joined
Dec 17, 2021
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I've been given a sheet with approximately 25 cells that have 2 dates in each cell as serial numbers, and I'm trying to figure out how to quickly convert them to short/long dates.

Right now I'm doing it manually, where I copy-paste the serial into a date formatted cell, which returns the date, and then copy-paste that result back. I'm wondering if there's a smarter or more automated way I can accomplish this, especially considering there's a shape (arrow) involved as well.

E.g.:

1656347919322.png


Many thanks!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Assuming your values start in cell A1, put this formula in cell B1 and copy it down to the end of your data. Next copy those formula results and Paste Special Values over top of the original values.
Excel Formula:
=REPLACE(REPLACE(A1,LEN(A1)-4,5,TEXT(RIGHT(A1,5),"m/d/yyyy")),1,5,TEXT(LEFT(A1,5),"m/d/yyyy"))
 
Upvote 0
Solution
Assuming your values start in cell A1, put this formula in cell B1 and copy it down to the end of your data. Next copy those formula results and Paste Special Values over top of the original values.
Excel Formula:
=REPLACE(REPLACE(A1,LEN(A1)-4,5,TEXT(RIGHT(A1,5),"m/d/yyyy")),1,5,TEXT(LEFT(A1,5),"m/d/yyyy"))
Thank you so much, Rick! This works perfectly and will save me a lot of time!
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,264
Members
449,075
Latest member
staticfluids

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