Assign each day a number

jmcdonald22

New Member
Joined
Jun 16, 2017
Messages
7
I have a list of invoice dates between two periods for a total of 260 business days. I need to find a way to assign a number between 1-260 to each invoice date. I have other fields being pulled in that is duplicating my invoice date preventing me from sorting and numbering 1-260. I hope my explanation makes sense and thank you for the help.
 

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.
Squire,

Does your data set include invoice numbers? If so, sort on invoice date then on invoice number. Once that is complete you could easily assign your own numbers/codes as needed.
 
Upvote 0
I don't have invoice numbers but the fields I do have allowed me to sort and number. I just wasn't able to see it first go around. Thanks for the help!
 
Upvote 0
On second thought, I think I misread your question.

You could copy/paste the invoice date column into another worksheet, then remove all duplicates so you are left with only a single line item for each date. Then sort the dates, and assign numbers 1-260.

After that, you can vlookup or index/match the assigned numbers to the dates in your primary data set.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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