Hello everyone,
Is there a way I could combine the data from two columns in one field in PIVOT table?
The data looks something like this:
<tbody>
</tbody>
So, I would like to have in one PIVOT field combined products from both columns A and B (with removed duplicates) and the sum of quantities from both column C and D, depending in which column the product is placed.
It would be the same as using SUMIF from field C if product is in column A + SUMIF from field D if product is in column B.
Anyone has any idea how to do this?
Is there a way I could combine the data from two columns in one field in PIVOT table?
The data looks something like this:
Product A | Product B | Quantity - product A | Quantity - product B |
ID14 | ID2 | 10 | 4 |
ID14 | 12 | ||
ID2 | 10 | ||
ID16 | ID14 | 20 | 7 |
ID17 | ID16 | 10 | 11 |
<tbody>
</tbody>
So, I would like to have in one PIVOT field combined products from both columns A and B (with removed duplicates) and the sum of quantities from both column C and D, depending in which column the product is placed.
It would be the same as using SUMIF from field C if product is in column A + SUMIF from field D if product is in column B.
Anyone has any idea how to do this?