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 information? 👀 | 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 information? 👀 | 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 information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
Check out the Formula Handbook template!