Hi,
I've posted this query before and had responses which, although helpful in other ways, didn't quite address what I was looking to achieve. I now think I've found a way around the problem and would be grateful for any feedback on whether it sounds ok.
Problem:
Database of sales records is not consolidated by part number, therefore instead of:
Order No.: 12345 / Part Number: 6789 / Qty: 3
The data appears as:
Order No.: 12345 / Part Number: 6789 / Qty: 1
Order No.: 12345 / Part Number: 6789 / Qty: 1
Order No.: 12345 / Part Number: 6789 / Qty: 1
I'm aware I can create Pivot Tables, but this doesn't quite work the way I want it to. What I want is for the source data to be tidied up so that it can then be queried in whatever way is required.
What I've since done is as follows:
Thanks,
Doug.
I've posted this query before and had responses which, although helpful in other ways, didn't quite address what I was looking to achieve. I now think I've found a way around the problem and would be grateful for any feedback on whether it sounds ok.
Problem:
Database of sales records is not consolidated by part number, therefore instead of:
Order No.: 12345 / Part Number: 6789 / Qty: 3
The data appears as:
Order No.: 12345 / Part Number: 6789 / Qty: 1
Order No.: 12345 / Part Number: 6789 / Qty: 1
Order No.: 12345 / Part Number: 6789 / Qty: 1
I'm aware I can create Pivot Tables, but this doesn't quite work the way I want it to. What I want is for the source data to be tidied up so that it can then be queried in whatever way is required.
What I've since done is as follows:
- Concatenate the 'Order' and 'Part' columns into a new column 'Order&Part'
- Copy and paste back as values only
- Subtotal: at each change in Order&Part, sum in Qty column
- Select level 2 outline
- Go to visible cells only
- Select all the blank cells and Ctrl-Enter formula which equals the cell above.
- Select all the data- copy and paste to new worksheet as values.
- Delete the 'Order&Part' column as no longer required.
- This leaves me with the data appearing as it should, for example with a quantity of 3 on one row, instead of three separate rows of 1 qty.
Thanks,
Doug.