convert number to date format

Phill032

Board Regular
Joined
Nov 9, 2016
Messages
51
Hi Guys,

Hopefully someone can help convert the below number into a date format.
18222
This is supposed to correspond to the 20 Nov 2017.
The full data extracted from the report is all in one single cell and each number represents a date seperated by a full stop. I just need the last date. example below

18167. 18167. 18174. 18202. 18213. 18222
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
OK I must be missing something here, how on earth does 18222 correspond to 20 11 2017?
 
Upvote 0
If i knew that i wouldn't be here :(
Each number represents the date of a price change on the internet of stocked items.
This is the data that my reports pull out, was hoping someone would have seen something similar and have a answer..
 
Upvote 0
I get that you need an answer, but that is in no date format that I am familiar with. Excel treats dates as a number of days from 0/1/1900, so todays date of 11/26/2017 (US format) is actually 43065


So, with that said, do you have any idea what 18222 might represent? For instance, 18222 days ago was Saturday, January 06, 1968
 
Upvote 0
Yep you are right into it, it is days since the 01/01/68... just had this confirmed from our service provider.
So it is easy to work with now that i know what the numbers relate too.

Thanks for your help
 
Upvote 0

Excel 2010
AB
131-Dec-6724837
2
31822220-Nov-17
41822321-Nov-17
5
6a
Cell Formulas
RangeFormula
B1=A1
B3=A3+$B$1
B4=A4+$B$1



If the date sequence starts at Dec 31 1967 (general format 24837),

adding 24837 to the 18222 will yield the specified date.
 
Upvote 0
Trying to guess :confused:
It seems that the in this system the number 1 corresponds to 1 Jan 1968.
So to get the Excel corresponded date all you have to do is add 24837 (corresponds to 31 Dec 1967)

Something like

A
B
1
Starting Date​
31/12/1967​
2
3
Number​
Excel Date​
4
18167​
26/09/2017​
5
18174​
03/10/2017​
6
18202​
31/10/2017​
7
18213​
11/11/2017​
8
18222​
20/11/2017​

Formula in A4 copied down
=A4+B$1

A shot in the dark ;)

M.
 
Upvote 0
Nice, not the way i was going to go about it but i think this would be better than my way

thanks again
 
Upvote 0

Forum statistics

Threads
1,213,567
Messages
6,114,342
Members
448,570
Latest member
rik81h

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