My data looks like this.
| A | B | C |
|---|---|---|
| 1 | 1000 | Credit Card |
| 2 | 200 | Debit Card |
| 3 | 1000 | Pay Later |
I want to sum of column B entries where the corresponding value in C is either "Credit Card", "Pay Later" (May have more values in future).
How do I calculate total debt in the above data?