Formula for returning a blank
Best Answer
-
Hey @lisalettieri
The IF statement doesn't have any criteria to judge against.
Try this
=IF(COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 8, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 8, 31), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1)>0, COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 8, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 8, 31), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1))
Does this work for you?
Kelly
Answers
-
This is great but how do I make it return a blank, instead of ")"? Thank! I tried {Case Consultation Tracker Submission Date}, NOT(ISBLANK(@cell), {Case Consultation Tracker Submission Date}, =""))) but still returns "0".
-
Hey @lisalettieri
Try this
=IF(COUNTIFS({Case Consultation Tracker Submission Date}, NOT(ISDATE(@cell)), {Case Consultation Tracker Submission Date},<>"")>0, COUNTIFS({Case Consultation Tracker Submission Date}, NOT(ISDATE(@cell)), {Case Consultation Tracker Submission Date},<>""))
I assumed you were using the COUNTIFS formula from the other post. If not, adjust two COUNTIFS formula accordingly. If the COUNTIFS returns a zero, the cell will be blank.
Will this work for you?
Kelly -
I tried this to count all cases submitted in Aug which hasn't happened yet so it is 0 but it returns incorrect argument set:
=COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 8, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 8, 31), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1, IF(COUNTIFS({Case Consultation Tracker Submission Date}, NOT(ISDATE(@cell), {Case Consultation Tracker Submission Date}, <>"") > 0, COUNTIFS({Case Consultation Tracker Submission Date}, NOT(ISDATE(@cell)), {Case Consultation Tracker Submission Date}, <>""))))and if I use just your part of the formula, bolded here, it says Unparseable.
This works to count the Submissions in any given month but I want a blank if no submissions that month:
=COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 8, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 8, 31), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1)
-
=IF(COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 8, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 8, 31), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1), COUNTIFS({Case Consultation Tracker Submission Date}, <>0))
works
-
Actually it didn't work when there are dates in the field only when blank! Help.
-
Hey @lisalettieri
The IF statement doesn't have any criteria to judge against.
Try this
=IF(COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 8, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 8, 31), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1)>0, COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 8, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 8, 31), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1))
Does this work for you?
Kelly -
THAT DID IT!!!!!!!!!!!!!!!!!!!!!! Thank you Kelly!!!!!!!!!!!!!!!!!!!
-
I thought it did it but as soon as I tried to apply to different months it broke. Says INVALID REF.
=IF(COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 2, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 2, 29), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1) > 0, COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 2, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 2, 29), {Case Consultation Tracker Submission Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1))
This one says INVALID DATA TYPE
=IF(COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 1, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 1, 31), {Case Consultation Tracker Range Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1), >0, COUNTIFS({Case Consultation Tracker Submission Date}, >=DATE(2024, 1, 1), {Case Consultation Tracker Submission Date}, <=DATE(2024, 1, 31), {Case Consultation Tracker Submission Status}, <>"NOT Case", {Case Consultation Meeting Number}, =1))
All I did was change the dates!
This is my data:
-
I got it to work. thank you again!
-
I'm glad you got it to work! If you need anything else, be sure to @mention me. General replies to posts just get lost in the email black hole. ;)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!