Count within last 30 days if a specified value
Hi!
Could someone offer me some help with my formula below please?
I need to count how many rows have a date within the last 30 days in column 'Timestamp', and have a value above 8 in column 'NPS', and have a certain name in column 'Centre':
=COUNTIFS({Feedback mastersheet Range 1}, <=TODAY(30), {Feedback mastersheet Range 2}, >8, {Feedback mastersheet Range 3}, "CENTRE NAME HERE")
This is being used in a secondary sheet, hence the references back to the mastersheet.
Would be really grateful for any help! :)
Thanks
Oscar
Best Answer
-
I believe the below is what you are looking for:
=COUNTIFS({Feedback mastersheet Range 1}, AND(@cell <= TODAY(), @cell >= TODAY(-30)), {Feedback mastersheet Range 2}, @cell>8, {Feedback mastersheet Range 3}, "CENTRE NAME HERE")
Answers
-
I believe the below is what you are looking for:
=COUNTIFS({Feedback mastersheet Range 1}, AND(@cell <= TODAY(), @cell >= TODAY(-30)), {Feedback mastersheet Range 2}, @cell>8, {Feedback mastersheet Range 3}, "CENTRE NAME HERE")
-
That seems to work! Thank you so much, that's so helpful!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!