I'm having some trouble coming up with an approach to this.
I have a 5 column list of over 4000 rows to extract counts from.
The list is several ebay monthly invoices.
What I am trying to do is derive a count of total stock offered plus sales made.
The Columns are:
Date / Item / ID / Fee / Amount
The sales part is pretty straightforward as a fee is charged when a sale is made so I can use SUMIFS and reference Fee.
The problem I have is that many items that don't sell get relisted each month.
Also some, but not all, "Items" have multiple stock copies so when one sells another is listed.
This always occurs after a sale.
When it sells "Item" will have a Fee noted as "FVF"
Items that are listed or relisted have a Fee noted as "Insert"
ID is numeric and unique and when an item relists it gets a new ID.
What I think I need is a way to count identical item occurrences until an FVF is found.
The row structure looks like this:
21/08/2012 / Ooby Dooby / 234765 / Insert / 0.05
22/09/2012 / Ooby Dooby / 345876 / Insert / 0.05
23/10/2012 / Ooby Dooby / 487590 / Insert / 0.05
28/10/2012 / Ooby Dooby / 487590 / FVF / 0.78
29/10/2012 / Ooby Dooby / 590682 / Insert / 0.05
There are 2 copies of Ooby Dooby represented above and 1 was sold.
I am trying to count multiple instances of this type and come up with the correct number of copies.
This is really doing my head in
Any help would be fantastic.
Bookmarks