Dec 29 2023 06:02 PM
A-P | Q | R | S | T | |||||
1 | Bad Debt | 10 | 5 | ||||||
2 | Bad Debt | 5 | 15 | ||||||
3 | Bus Check | 5 | 20 | ||||||
4 | Check | 15 | 5 | ||||||
5 | PayPal | 20 | 10 | ||||||
6 | Check | 30 | 25 | ||||||
7 | SpeedPay | 35 | 10 | ||||||
8 | Venmo | 25 | 5 | ||||||
9 | Check | 15 | 40 | ||||||
10 | Check | 20 | 35 | ||||||
11 | Bus Check | 14 | 7 | ||||||
12 | Bus Check | 21 | 14 | ||||||
13 | |||||||||
14 | TOTALS | 145 | 160 | <--- desired totals to receive if formula is working properly | |||||
Dec 29 2023 09:10 PM
Solution@Tamara Duvall There's some conflicting information in your explanation:
I have a list of numbers in the range R$1:R$10 that I want to sum as long as they AREN'T labeled in the range $Q$1:$Q$10 with text values equal to "Bad Debt","Bus Check","Check","PayPal", AND "Venmo"....If it worked properly, it would sum lines R1:R10, except the number on line 7 labeled "SpeedPay".
These two statements contradict one another. If they AREN'T labeled "Bad Debt", "Bus Check", "Check", "PayPal" and "Venmo", then the total would sum ONLY "SpeedPay", which would be 35.
Having said that, here's a couple of examples that might be what you're looking for...
To exclude all items in the list:
=SUM(FILTER(R$1:R$10, ISNA(XMATCH($Q$1:$Q$10, {"Bad Debt";"Bus Check";"Check";"PayPal";"Venmo"})), 0))
To include all items in the list:
=SUM(SUMIFS(R$1:R$10, $Q$1:$Q$10, {"Bad Debt";"Bus Check";"Check";"PayPal";"Venmo"}))
Adjust the range references as required. Please see the attached workbook for more examples...
Dec 29 2023 09:25 PM
Dec 30 2023 09:16 AM
Dec 29 2023 09:10 PM
Solution@Tamara Duvall There's some conflicting information in your explanation:
I have a list of numbers in the range R$1:R$10 that I want to sum as long as they AREN'T labeled in the range $Q$1:$Q$10 with text values equal to "Bad Debt","Bus Check","Check","PayPal", AND "Venmo"....If it worked properly, it would sum lines R1:R10, except the number on line 7 labeled "SpeedPay".
These two statements contradict one another. If they AREN'T labeled "Bad Debt", "Bus Check", "Check", "PayPal" and "Venmo", then the total would sum ONLY "SpeedPay", which would be 35.
Having said that, here's a couple of examples that might be what you're looking for...
To exclude all items in the list:
=SUM(FILTER(R$1:R$10, ISNA(XMATCH($Q$1:$Q$10, {"Bad Debt";"Bus Check";"Check";"PayPal";"Venmo"})), 0))
To include all items in the list:
=SUM(SUMIFS(R$1:R$10, $Q$1:$Q$10, {"Bad Debt";"Bus Check";"Check";"PayPal";"Venmo"}))
Adjust the range references as required. Please see the attached workbook for more examples...