SUMIF across rows?

reacon84

New Member
Joined
Sep 13, 2016
Messages
36
Office Version
  1. 2016
Platform
  1. Windows
I'm hoping someone is able to help with something I've been stuck with.

I'm looking for an easy way to sum up all invoices that aren't paid - ie a formula in the yellow cells to return the values shown.

I could do lots of sumifs, but I have over 50+ invoices per centre (on each row) and it would get really messy.

Is anyone able to help please? Thanks in advance!

1643196412930.png


CentreTOTAL NOT PAIDInvoice NoAmountPayment DateInvoice NoAmountPayment DateInvoice NoAmountPayment DateInvoice NoAmountPayment Date
A£0.00INV1£100.0005/01/2022INV7£100.0005/01/2022INV13£100.0005/01/2022INV19£100.0005/01/2022
B£100.00INV2£100.00NOT PAIDINV8£100.0005/01/2022INV14£100.0005/01/2022INV20£100.0005/01/2022
C£0.00INV3£100.0005/01/2022INV9£100.0005/01/2022INV15£100.0005/01/2022INV21£100.0005/01/2022
D£200.00INV4£100.0005/01/2022INV10£100.00NOT PAIDINV16£100.00NOT PAIDINV22£100.0005/01/2022
E£0.00INV5£100.0005/01/2022INV11£100.0005/01/2022INV17£100.0005/01/2022INV23£100.0005/01/2022
F£0.00INV6£100.0005/01/2022INV12£100.0005/01/2022INV18£100.0005/01/2022INV24£100.0005/01/2022
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi,

Is this what you need:

Book3.xlsx
ABCDEFGHIJKLMN
1CentreTOTAL NOT PAIDInvoice NoAmountPayment DateInvoice NoAmountPayment DateInvoice NoAmountPayment DateInvoice NoAmountPayment Date
2A$0.00INV1$100.005/1/2022INV7$100.005/1/2022INV13$100.005/1/2022INV19$100.005/1/2022
3B$100.00INV2$100.00NOT PAIDINV8$100.005/1/2022INV14$100.005/1/2022INV20$100.005/1/2022
4C$0.00INV3$100.005/1/2022INV9$100.005/1/2022INV15$100.005/1/2022INV21$100.005/1/2022
5D$200.00INV4$100.005/1/2022INV10$100.00NOT PAIDINV16$100.00NOT PAIDINV22$100.005/1/2022
6E$0.00INV5$100.005/1/2022INV11$100.005/1/2022INV17$100.005/1/2022INV23$100.005/1/2022
7F$0.00INV6$100.005/1/2022INV12$100.005/1/2022INV18$100.005/1/2022INV24$100.005/1/2022
Sheet963
Cell Formulas
RangeFormula
B2:B7B2=SUMIF(E2:N2,"Not Paid",D2:M2)
 
Upvote 0
Solution
How about
Excel Formula:
=SUMIFS(D2:M2,E2:N2,"Not Paid")
 
Upvote 0
I never knew you could do it like that!

Thanks for your help!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,176
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top