Leave blank if date is in the future
I'm wanting a cell to be blank if the month is in the future (highlighted cells below) but once we are in that current month to start counting. Right now my formula is pulling from our master page and counting all the entries with in a certain time period but not sure where to go from there.
=COUNTIFS({Created}, <=DATE(2022, 3, 31), {Created}, >=DATE(2022, 3, 1))
Best Answer
-
Hi @Alywilk
You can add an IF statement at the beginning that says IF Today's Date is less than DATE(2022, 3, 1), return blank: ""
Try this:
=IF(TODAY() < DATE(2022, 03, 01), "", COUNTIFS({Created}, <=DATE(2022, 03, 31), {Created}, >=DATE(2022, 03, 01)))
Cheers!
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @Alywilk
You can add an IF statement at the beginning that says IF Today's Date is less than DATE(2022, 3, 1), return blank: ""
Try this:
=IF(TODAY() < DATE(2022, 03, 01), "", COUNTIFS({Created}, <=DATE(2022, 03, 31), {Created}, >=DATE(2022, 03, 01)))
Cheers!
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you that worked!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives