Countif formula?
Trying to create this sheet for a medical office that gets referrals from multiple sources. This works on excel but having a hard time getting the formulas to work on smartsheet.
I'm assuming that I use the countif formula but not sure it there is a better way. I want to count the number of referrals from each source for each month and grand total and show it on the dashboard. Sorry I just started with smartsheet and trying to figure it out.
Best Answer
-
For the Grand Total, you would use something along the lines of...
=COUNTIFS(Customer:Customer, [Column3]@row)
For each month (change bold portions to appropriate month and year):
=COUNTIFS(Customer:Customer, [Column3]@row, [Order Date]:[Order Date], AND(IFERROR(MONTH(@cell), 0) = ##, IFERROR(YEAR(@cell), 0) = ####))
Answers
-
For the Grand Total, you would use something along the lines of...
=COUNTIFS(Customer:Customer, [Column3]@row)
For each month (change bold portions to appropriate month and year):
=COUNTIFS(Customer:Customer, [Column3]@row, [Order Date]:[Order Date], AND(IFERROR(MONTH(@cell), 0) = ##, IFERROR(YEAR(@cell), 0) = ####))
-
Thank you so much!! I got the grand total down now working on the months.,
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!