Hi All,
I have a tricky one for you. Its regarding counting number of occurences of a value, and numbering it earliest oldest starting with 1.
I have a set of values, lets call them customers in Column A, next to each customer is a date in Column B. Each date represents the day he bought products in.
I am trying to number the invoices for that each customer based on the date, first invoice getting a 1, second getting as per the date gets a 2 and so on.... in Column C. This for example enables me to filter by "third" invoice for all customers, regardless when he bought as long as it was third purchase in that month.
Essentially i want a formula that looks for all occurrences of a value (customer), and gives that purchase instance a number according to dates earliest to newest. Check the example attached. This is very tough manually, considering in a given month i can have up to 500/600 unique customers, and each can buy up to 5 or 6 times.
Capture2.JPG
Hope its clear enough, i thought of going for a pivot, but it got very messy
Thanks.
Bookmarks