I have to do sumif multiple time to get this problem solved.
Problem:
I have a table with Part Number as the first column and it is always the same for unique part. However, the description 1 and description 2 are not perfect, even for the same part number (due to the typo, etc). I need to combine the Quantity at different inventories: QTY AT V1, V2, and V3

The result if I use multiple sumif and choose the the description appears first. Of course, there are like 50k of rows with many different PN#. Error often occurs if using sumif due to human error.
I would like to ask for help on this one.
Compare the PN# if they are the same sum the quantity at different inventory locations, the description 1 and 2 just pick up whatever appear first (like CAR – BLACK and 4 WHEELS).
There are some similar questions and answers to this. However, they do not work well.
Merge Cells
This should solve your problem. I set up a workbook with 2 tabs: RawData and PNTotals. I created data that resembles the two rows in your example. I have 26 rows with 3 different PN#s: Honda, Toyota, and Kia. The code works regardless of how many rows and PN#s you have.
After running the code below, I end up with totals by PN on the PNTotals tab that look like this:
To get this to work, add the following code to a module and run the sub
DispatchTotalsByPNNumber().NOTES: Assumes raw data starts in cell A1 of the RawData sheet and that there aren’t any blank PN#s. If there are blanks, you’ll need to determine the last PN row differently.