I have a spreadsheet where some part numbers have been replaced by newer part numbers.
Each has its own row, identified in column A with the part number and columns C, D, E, etc. filled with the weekly data (sales).
The issue is that I'm trying to do an analysis for the year. I know, for example, that Part A in row 1 was replaced at some point in the year by Part Z in row 8. So, for some of the year sales were derived by Part A and for the balance of the year by Part Z. In some weeks there may have been some overlap as both parts shipped before we exhausted the supply of A and moved totally to Z.
For purposes of my report, I need to treat both of these parts as the same. I need to find a way to consolidate both rows of data, either Part A into Part Z, or Part Z into Part A, so I can determine the total amount of the combined parts shipped during the year.
I was hoping someone could help with a formula that would allow me to easily combine the two data sets.
All the part numbers, both old and new, are shown in column A. I added a column B and referenced the new part number where applicable via a vlookup table from another spreadsheet, as not all parts in column A were replaced.
Since all the parts are in column A, I was trying to figure out a way to cross-reference those that were replaced by a new part as listed in column B.
Example:
A B C D E F
1 1234 5678 65 78 92 0
2 5575 5679 22 66 88 0
3 5678 0 0 0 8 24
The formula(s) should see that in row 1, part 1234 was replaced by 5678. It should combine the data in C, D, and E with the data in row 3 for part 5678. Cell E3 should total 100 (E1+E8) and move the 65 from C1 and the 78 from D1 into C3 and D3 respectively.
I hope I made this clear. It's a challenge and I'm beating my head against the wall.
Thanks!
Each has its own row, identified in column A with the part number and columns C, D, E, etc. filled with the weekly data (sales).
The issue is that I'm trying to do an analysis for the year. I know, for example, that Part A in row 1 was replaced at some point in the year by Part Z in row 8. So, for some of the year sales were derived by Part A and for the balance of the year by Part Z. In some weeks there may have been some overlap as both parts shipped before we exhausted the supply of A and moved totally to Z.
For purposes of my report, I need to treat both of these parts as the same. I need to find a way to consolidate both rows of data, either Part A into Part Z, or Part Z into Part A, so I can determine the total amount of the combined parts shipped during the year.
I was hoping someone could help with a formula that would allow me to easily combine the two data sets.
All the part numbers, both old and new, are shown in column A. I added a column B and referenced the new part number where applicable via a vlookup table from another spreadsheet, as not all parts in column A were replaced.
Since all the parts are in column A, I was trying to figure out a way to cross-reference those that were replaced by a new part as listed in column B.
Example:
A B C D E F
1 1234 5678 65 78 92 0
2 5575 5679 22 66 88 0
3 5678 0 0 0 8 24
The formula(s) should see that in row 1, part 1234 was replaced by 5678. It should combine the data in C, D, and E with the data in row 3 for part 5678. Cell E3 should total 100 (E1+E8) and move the 65 from C1 and the 78 from D1 into C3 and D3 respectively.
I hope I made this clear. It's a challenge and I'm beating my head against the wall.
Thanks!