SUMIFS formula

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
719
Office Version
  1. 2010
Platform
  1. Windows
Hello:


Excel 2010
CDEF
2Amount Posting layerStatus
31,250.00BF from 9/30/17
42,900.00Oct-17 c-card
5294.49Oct-17 c-cardcleared
6111.87Oct-17 c-cardcleared
7394.96Nov-17 c-cardcleared
8141.97Nov-17 c-card
9406.62Nov-17 c-cardcleared
101,445.00Nov-17 c-cardcleared
111,897.27Nov-17 c-cardcleared
121,976.00Dec-17 c-card
13451.88Dec-17 c-card
14510.32Dec-17 c-card
15255.16Dec-17 c-card
16399.00Jan-18 c-cardcleared
17399.00Jan-18 c-cardcleared
18399.00Jan-18 c-card
19399.00Jan-18 c-card
2013,631.54
21
22Total c/cclearedO/s
2312/31/201712,035.5412,035.54
24Jan-18 c-card1,596.00798.00798.00
2513,631.54798.0012,833.54
Sheet1
Cell Formulas
RangeFormula
C20=SUM(C3:C19)
F23=D23-E23
F24=D24-E24
F25=SUM(F23:F24)
D23=SUM(SUMIF($D$3:$D$19,{"Oct-17 c-card","Nov-17 c-card","Dec-17 c-card"},$C$3:$C$19))+1250
D24=SUM(SUMIF($D$3:$D$19,C24,$C$3:$C$19))
D25=SUM(D23:D24)
E24=SUMIFS($C$1:$C$17,D1:D17,C24,$E$1:$E$17,"Cleared")
E25=SUM(E23:E24)


In E23 required value should be 4,550.21 (294.49+111.87+394.96+406.62+1445+1897.27)

Could you suggest formula please? (maybe one similar to formula in D23)
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hey,

Try this in E23:
SUMIFS(C3:C19,E3:E19,"cleared",D3:D19,"Oct-17 c-card")+SUMIFS(C3:C19,E3:E19,"cleared",D3:D19,"Nov-17 c-card")+SUMIFS(C3:C19,E3:E19,"cleared",D3:D19,"Dec-17 c-card")
 
Upvote 0
Hello:

Thanks for suggestion.

My data sample above only shows three months. My actual data has several months so if I use formula shown in post#3, it would a long formula. Is there a shorter version - maybe a formula similar to the one in D23?

Regards,

Sean
 
Upvote 0
1. Data incosistency: Change A23 to "Dec 2017 c-card"

2. Then in E23
=SUMPRODUCT((A3:A21)*(D3:D21="cleared")*(B3:B21=A23))
and copy down the column
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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