How can I get the total price based on "type"?

Let’s say I have two columns with price and type, how can I get the total for “M” and “P”?
Total Price.ods (13.9 KB)

hallo
see attached file…
Total_Price_pivottable.ods (12.3 KB)

1 Like

How was the pivot table set up?

Hallo
→Data→Pivottable→create…

Right click the pivot table and select Properties to see arrangement of fields. Field Type could instead go in the Columns for a slightly different appearance.
Help button is available from Properties dialogue

1 Like

SUMIF()

1 Like