Help with Sumifs and countifs function

Sailadarohit

New Member
Joined
Sep 7, 2022
Messages
39
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
Hi Team,

Book1
ABCDEFGH
1DepartmentCrticalityOwnerJanFebMarAprlMay
2SalesYesSelf1860512053181961375919464
3MarketingNoClient1409316371172801475915277
4HRNoClient1432216203199541103013283
5FinanceYesSelf1528118312176701314516758
Sheet1


I am unable to use sumifs and countifs for an array. Lets say i require the total sum and count for the criticality Yes and Owner Self for all the months mentioned. How can i do that using sumifs and countifs. If we have any other method as well please let me know.

Thanks in advance!!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
If u dont want to use Sumifs/Countifs, try this

Count =
Excel Formula:
=COUNT(FILTER(D2:H5,(B2:B5="Yes")*(C2:C5="Self")))

Sum =
Excel Formula:
=SUM(FILTER(D2:H5,(B2:B5="Yes")*(C2:C5="Self")))

1713951602553.png
 
Upvote 0
With Excel's older versions try SumProduct

T202404.xlsm
ABCDEFGHIKL
1DepartmentCrticalityOwnerJanFebMarAprlMay
2SalesYesSelf1860512053181961375919464163243163243
3MarketingNoClient1409316371172801475915277
4HRNoClient1432216203199541103013283
5FinanceYesSelf1528118312176701314516758
6
3b
Cell Formulas
RangeFormula
K2K2=SUMPRODUCT((B2:B5="Yes")*(C2:C5="Self")*(D2:H5))
L2L2=SUM((B2:B5="Yes")*(C2:C5="Self")*(D2:H5))
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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