Need Order of Date Range Indicated Numerically eg. (1-5)

lager1001

Board Regular
Joined
May 17, 2019
Messages
88
I have a column with hundreds of dates. The dates are always the most current 5 sequential dates so they change daily. I need a helper column that will tell me which date is 1, which date is 2, which date is 3, which date is 4, and which date is 5 in order of occurrence.

[TABLE="width: 181"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Date Order[/TD]
[/TR]
[TR]
[TD]10/20/2019[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]10/20/2019[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]10/18/2019[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]10/18/2019[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]10/17/2019[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/17/2019[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/17/2019[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/17/2019[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/17/2019[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/17/2019[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/17/2019[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/17/2019[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/16/2019[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]10/16/2019[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]10/19/2019[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]10/20/2019[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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