I'm trying to auto input in sequential numbers in the COUNT (Column A) based on the invoice number (Column B) this can go go on for over a thousand records depending on how many invoice were put in the excel spreadsheet so it will vary. And is rather time stressed to do the counts manually. I'm looking for either VBA or formula to help do it for me Right now I am looking at each number in Column B then putting in a number starting at 1 and going on up to 799 (was a recent one, about cried).
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Count (Column A)[/TD]
[TD]InvoiceNumber (Column B)[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]21554479[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]21554479[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]21559296[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]21559296[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]21566988[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]21566988[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]22466113[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]22466113[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]22466113[/TD]
[/TR]
</tbody>[/TABLE]
I hope this was more challenging not me just not able to think it through after 10 hours straight programming!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Count (Column A)[/TD]
[TD]InvoiceNumber (Column B)[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]21554479[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]21554479[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]21559296[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]21559296[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]21566988[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]21566988[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]22466113[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]22466113[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]22466113[/TD]
[/TR]
</tbody>[/TABLE]
I hope this was more challenging not me just not able to think it through after 10 hours straight programming!