I have some data in the same format as the Raw Data table in the attached file, and I need to change it into the same format as the Desired Format table.
So it's a list of account numbers and credit note details; and I need to have the credit notes for each customer on one line per account number with six sets of columns for credit notes per quarter. There are instances where there are more than six credit notes per customer in a quarter, but in these cases I just want to see the first six (by date credited).
It's really frustrating as it feels like it should be fairly straightforward but I can't do it and I have to have the data ready for Friday
So it's a list of account numbers and credit note details; and I need to have the credit notes for each customer on one line per account number with six sets of columns for credit notes per quarter. There are instances where there are more than six credit notes per customer in a quarter, but in these cases I just want to see the first six (by date credited).
It's really frustrating as it feels like it should be fairly straightforward but I can't do it and I have to have the data ready for Friday
