Counting dates as entries
I am compiling a metrics page, and need to count a date field, teh automated "created" which stores date and time the row was created. I want to count a total of "01/XX/19", XX meaning i dont care about the days, i just want all of January 2019 entries.
I am refrencing another sheet (hence the metric sheet), so i need to do that. The goal is to utilize for each month/2019, as well as each month/2018, and continue in years to come.
Thanks!
Comments
-
Hi,
Try this.
Change the last number (4) to which month you want to count. The IFERROR part will remove an error if there is a cell that isn't a date in the range (not needed for the created column but if you want to reference another date column)
=COUNTIFS({Reference to other sheet}; IFERROR(MONTH(@cell); 0) = 4)
The same version but with the below changes for your and others convenience.
=COUNTIFS({Reference to other sheet}, IFERROR(MONTH(@cell), 0) = 4)
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!