COUNTIFS ON MULTIPLE COLUMNS REFERENCING A DATE RANGE
I am trying to summarise a Smartsheet that we log sales activities (F2F Calls and Phone Activity into). So I want to see how many Phone calls have been done in the current month.
1. What is the most efficient way to achieve this? I have used the below formula to get June Activity, but when I try and reference another column, I get an UNPARSABLE error message? Any help would be greatly appreciated. Also, I want to automate the reference to the current month rather than arbitrarily assigning it to a month - eg 6
=COUNTIFS(Date1:Date784, MONTH(@cell) = 6, Date1:Date784, YEAR(@cell) = 2018)
Comments
-
Why only 784 rows?
What I would probably suggest (without further info) would be to use X-sheet references from another sheet to determine the counts.
If you had twelve consecutive rows with the numbers 1-12, then
=COUNTIFS({X-Sheet Ref to Date}, MONTH(@cell) = MonthColumn@row, {X-Sheet Ref to Date}, YEAR(@cell) = 2018)
or something like that.
Add a second column to with the year as a header
=COUNTIFS({X-Sheet Ref to Date@}, MONTH(@cell) = MonthColumn@row, {X-Sheet Ref to Date@}, YEAR(@cell) = ThisColumn$headerrow number)
The italicized info to be changed for your specific instance.
I hope that helps.
Craig
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!