Hello,
I am trying to find a function that will count starting at 1 based on the column besides it. I need the count to start at 1 each time a new Document number is reported.
Example of what I am trying to achieve below:
Any ideas on how to solve this?
I am trying to find a function that will count starting at 1 based on the column besides it. I need the count to start at 1 each time a new Document number is reported.
Example of what I am trying to achieve below:
Line | Document Number |
1 | P-0001 |
2 | P-0001 |
3 | P-0001 |
4 | P-0001 |
5 | P-0001 |
6 | P-0001 |
1 | P-0002 |
2 | P-0002 |
1 | P-0003 |
2 | P-0003 |
3 | P-0003 |
4 | P-0003 |
Any ideas on how to solve this?