Countifs, date range on multiple sheets

HuskyJones

New Member
Joined
Sep 30, 2015
Messages
48
Office Version
  1. 365
Platform
  1. Windows
Hi Hive
Can i pick your brilliant minds again!

I have a workbook with multiple sheets (43). Column "M" on all worksheets is a date range that's completed when a customer registers.
On a front page I want to be able to
a) count total for a current month combined all sheets (ColG) - i've tried variations in G10 of.. =COUNTIFS('North Central London:Wales'!M3:M10001,">=01/02/2025",'North Central London:Wales'!M3:M10001,"<=28/02/2025")
b) count for the current month/quarter for each tab individually (ColD) - i think this might be the EOMonth thingy?

Hope i'm making sense, you folks normally understand me:ROFLMAO:

🙏🙏
 

Attachments

  • Screenshot 2025-02-12 183120.jpg
    Screenshot 2025-02-12 183120.jpg
    61.9 KB · Views: 6
For a), try:
Excel Formula:
=SUM(--(EOMONTH(+VSTACK('North Central London:Wales'!M3:M10001),0)=DATEVALUE("28/02/2025")))
 
Upvote 0
For a), try:
Excel Formula:
=SUM(--(EOMONTH(+VSTACK('North Central London:Wales'!M3:M10001),0)=DATEVALUE("28/02/2025")))
That's fabulous thank you!!! need to learn more about vstack!

now to try and figure out the current month bit :unsure:
 
Upvote 0
Try:
Excel Formula:
=SUM(--(EOMONTH(+VSTACK('North Central London:Wales'!M3:M10001),0)=EOMONTH(TODAY(),0)))
sorry for the long delays in replies Cubist, only work a couple of days a week :)
That works fab THANK YOU!!
Can I apply the same principle to count numbers before and after specific dates (i.e. 08/11/2024)
Is there a way of working current quarters?
sorry to be a PITA!
 
Upvote 0
Can I apply the same principle to count numbers before and after specific dates (i.e. 08/11/2024)
Adjust the conditions as needed. For example, before 8/11/2024:

Excel Formula:
=SUM(--(VSTACK('North Central London:Wales'!M3:M10001)<DATEVALUE("8/11/2024"),0)))
 
Upvote 0

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