CountIf Status Last 30 Days & Next 90 Days
Hello,
I have a sheet that has a columns that include Status, Start Date & Finish Date.
I need a countif formula that will pull back how many Completed (Status) have fallen within the last 30 days (Finish Date).
I need a countif formula that will pull back how many Not Started (Status) will fall within the next the 90 days (Start Date).
Best Answer
-
[these] are for when you're referencing a column in the current sheet.
{these} are cross-sheet references, when you're looking at columns in a second sheet.
See: Create a Cell or Column Reference in a Formula
In your instance, it sounds like you want a COUNTIFS plural!
=COUNTIFS({NetSuite Status}, @cell = "Completed", {NetSuite Finish}, AND(@cell <= TODAY(), @cell > TODAY(-30)))
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
I have made it this far:
How do I merge them together correctly?
=COUNTIF({NetSuite Status}, @cell = "Completed") & =COUNTIF({NetSuite Finish}, AND(@cell <= TODAY(), @cell > TODAY(-30)))
-
Can anyone explain the [ brackets versus the { brackets?
-
[these] are for when you're referencing a column in the current sheet.
{these} are cross-sheet references, when you're looking at columns in a second sheet.
See: Create a Cell or Column Reference in a Formula
In your instance, it sounds like you want a COUNTIFS plural!
=COUNTIFS({NetSuite Status}, @cell = "Completed", {NetSuite Finish}, AND(@cell <= TODAY(), @cell > TODAY(-30)))
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
@Genevieve P. Thanks, can I also add if the Status is Blank?
So Status is either Completed or Cell is Blank?
=COUNTIFS({NetSuite Status}, @cell = "Completed", {NetSuite Finish}, AND(@cell <= TODAY(), @cell > TODAY(-30)))
-
Yes! Try this:
=COUNTIFS({NetSuite Status}, OR(@cell = "Completed", @cell = ""), {NetSuite Finish}, AND(@cell <= TODAY(), @cell > TODAY(-30)))
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
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!