How to Assign a Reoccurring Number Sequence Based on Cell Value

Theemeadelis

New Member
Joined
Jul 10, 2023
Messages
20
Office Version
  1. 365
Platform
  1. Windows
I am in need of assigning a re-occurring number sequence to a large data set, based on cell value.

A small sample of the data set shows below, in column A:

1689072992536.png


I need to generate a re-occurring number sequence in column B, like showing below:

1689073098815.png


So in column A, for every entry of AX1002, the number sequence starts at 100, and counts up, until a new value appears in column A, i.e. AX1003, which causes the number sequence to reset to begin again at 100 and count up until another new value appears in column A, i.e. AX1019, causing it again to reset at 100... and so on.

There are 1,363 rows in total on the worksheet.

Thank you in advance for any help that can be provided.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
How about
Excel Formula:
=99+COUNTIFS(A$2:A2,A2)
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,205
Members
452,618
Latest member
Tam84

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