Date Value to Code ID

parvezse16

New Member
Joined
Sep 5, 2021
Messages
14
Office Version
  1. 2013
Platform
  1. Windows
Sir, I'm looking for a formula that generates the Date ID from Date value like below in mini sheet, I found a pattern using CountIF on A1&B1 that is 1/1/1900, I don't know how to use this pattern for 05.09.21(todays date) to get a Date like in the below cells.
Thanks in advance





Date IDDate
8913830B25.01.21
6018EF9F23.02.21
A38F431A25.02.21
2A31AD4703.03.21
D78B5B8C10.03.21
61A94CF515.03.21
D94D327723.03.21
E32C800723.04.21
4710767A03.05.21
9A86CB3701.06.21
9A86CB3701.06.21
B15AE20406.05.21
09304B4417.09.20
24C1DD4C03.06.21
5001BBCA06.08.21
B9D41D5A11.08.21
65BD101913.08.21
02CA074416.08.21
BB56EE3717.08.21
631F012D23.08.21
631F012D23.08.21
FB8B4C1524.08.21
FB8B4C1524.08.21
51B7885A30.08.21
1DD5A3BE16.10.20
1093B67622.10.20
CB63F58B27.05.21
FAF145C901.09.21
86BA7A2902.09.21
73ECC05F03.09.21
3A9F553321.10.20
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Not clear what you're asking.
Hi Sektor,
There are two columns Date ID and Date, These are already created and I don't have the formula that generates Date ID for 05.09.21 (todays date), so How could I create a formula from these two columns and apply on Today's date.
I hope this is clear, Now. Otherwise you can ask me.
Thanks
 
Upvote 0
What is the connection between the ID's and dates in the table? The ID's look like hex but they do not correspond to the dates shown.
 
Upvote 0
What is the connection between the ID's and dates in the table? The ID's look like hex but they do not correspond to the dates shown.
I don't know what exactly the connection between IDs and Dates but I think these are generated using date value, like if you see there are duplicate dates and the ID is also repeated, if there is just a series of IDs than each row has a unique ID
 
Upvote 0
I think these are generated using date value,
If they were then they would be 4 in the range of AB37 to AE11 for dates in 2020 and 2021. The ID's in your list all convert to values between 8 and 10 digits that bear no resemblance to the dates shown. Date serials in that range are only 5 digits, as are all dates from 17.05.1927 to 14.10.2173
if you see there are duplicate dates and the ID is also repeated
I agree, but unless you know the connection, there is no way of us converting it into a formula.
 
Upvote 0
If they were then they would be 4 in the range of AB37 to AE11 for dates in 2020 and 2021. The ID's in your list all convert to values between 8 and 10 digits that bear no resemblance to the dates shown. Date serials in that range are only 5 digits, as are all dates from 17.05.1927 to 14.10.2173
The IDs are fixed length of 8 digits, and also dates are 6 digits like dd.mm.yy
 
Upvote 0
The IDs are fixed length of 8 digits
Correct, but the values that they convert to are 8 to 10 digits.
dates are 6 digits like dd.mm.yy
Date serials are 5 digits, which is what excel would use for the conversion. Based on the format, your dates are more likely to be 10 character text strings which are not valid as dates to convert.
 
Upvote 0
S
Correct, but the values that they convert to are 8 to 10 digits.

Date serials are 5 digits, which is what excel would use for the conversion. Based on the format, your dates are more likely to be 10 character text strings which are not valid as dates to convert.
Sir, You can change the format as per the excel requirement but keeping the same date with different format not a character/string but a date format.
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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