Countifs array spilling over

ramswin

New Member
Joined
Mar 3, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I am trying to count the Position ID (column E in the first screenshot) by a few different requires (column A (by Month), column F, column H, column I and column BE). If you take a look at the formula in the second screenshot, I believe I'm doing it correctly because the right number populates in D26 (122). However, cell E26 next to it is also highlighted and when I try to drag the formula across I get a spill error. I need to drag the formula across because it's counting the specific Position IDs by the month in row 18 at the top of the screenshot. Can someone please assist? Much appreciated! (I'm not beholden to that Countifs formula either so if there is a better way I'm open to it).

1734024976065.png
1734025191009.png
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You need to wrap the formula in SUM.
 
Upvote 0
Solution
Because you have an array for the criteria, you need to add the results together.
 
Upvote 0

Forum statistics

Threads
1,224,773
Messages
6,180,869
Members
453,003
Latest member
SalihZekiKoni

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