I have a column with an order id in that is created for each product ordered.
I would like to have a separate column that has numbers the transaction based on the order id. Eg.
Order Id | Transaction No.
12345 1
12345 1
12345 1
54321 2
54321 2
I hope that makes sense.
Provided that your Order Id is sorted, here is an easy solution:
Note that you have to set the very first transaction number in cell A2.