Cross Sheet COUNTIFS
Hello,
I have a data sheet with a date column and column A.
I have another sheet for summaries where I am trying to do make a cross sheet reference formula from the data sheet.
I am trying to make a formula: count if date is in October 2024 and cell at column A is "no"
Here is the formula that I tried: =COUNTIF({Data Sheet Range 1}, "No", {Data Sheet Range 5}, AND(YEAR(@cell) = 2024, MONTH(@cell) = 10))
I get invalid data type.
Any sort of assistance would be greatly appreciated.
Thank you
Best Answer
-
If you use a countifs formula (countifs always multiple parameters) and then say that the date has to be greater or equal to the 1st of october 2024 and less than or equal to the 31st of octboer 2024 that should work. Something like this:
=COUNTIFS({Data Sheet Range 1}, "No", {Data Sheet Range 5}, >=DATE(2024, 10, 1), {Data Sheet Range 5}, <=DATE(2024, 10, 31))
Hopefully that works?
Answers
-
If you use a countifs formula (countifs always multiple parameters) and then say that the date has to be greater or equal to the 1st of october 2024 and less than or equal to the 31st of octboer 2024 that should work. Something like this:
=COUNTIFS({Data Sheet Range 1}, "No", {Data Sheet Range 5}, >=DATE(2024, 10, 1), {Data Sheet Range 5}, <=DATE(2024, 10, 31))
Hopefully that works?
-
That worked! Thank you so much!
That formula will help me get rid of so many different reports and sheets!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!