I am looking for a formula or macro that can number consecutively until a number changes, then restart.
Below is sample data that I have. In column A I have customer numbers, in column B I would like a way to number them consecutively until the value in column A changes.
<colgroup><col><col></colgroup><tbody>
</tbody>
Below is sample data that I have. In column A I have customer numbers, in column B I would like a way to number them consecutively until the value in column A changes.
Column A 371663 | B 1 |
371663 | 2 |
371663 | 3 |
371663 | 4 |
371663 | 5 |
371663 | 6 |
371663 | 7 |
372003 | 1 |
372003 | 2 |
372646 | 1 |
372646 | 2 |
375486 | 1 |
375486 | 2 |
377061 | 1 |
377061 | 2 |
378990 | 1 |
378990 | 2 |
<colgroup><col><col></colgroup><tbody>
</tbody>