#BOOLEAN Expected Duplicate Month checkbox formula assistance
Formula I am using =COUNTIFS({F & A Monthly Updates Range 2}, Department@row, {F & A Monthly Updates Range 3}, "3").
The problem I am facing is when submissions are made multiple times for a duplicative month. For example, the form has a system column to capture the date the submission on the sheet form was made. If I submit June 1 then June 30 for my July submission then it will capture June twice and a #BOOLEAN Expected error appears on my tracker (snapshot). The tracker shown is referencing another sheet by department then month so it has a multiple criteria to look up.
Best Answer
-
Hi, @Linda F
Modify your current formula in the following manner:
IF( YOUR_COUNTIF_EXPRESSION = 0, 0, 1)
The checkbox column type requires a Boolean value: "TRUE or FALSE" or "1 or 0". Your original formula returns a value that is neither "1" nor "0" when multiple reports are submitted within the month. The modified formula will return FALSE(0) when the count is 0; otherwise, it will return TRUE(1) when the count is anything other than 0.
=IF( COUNTIFS({F & A Monthly Updates Range 2}, Department@row, {F & A Monthly Updates Range 3}, "3") = 0, 0, 1)
Answers
-
Hi @Linda F
I hope you're well and safe!
How would you like it to work? Can you elaborate?
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I would like the appropriate checkbox to be checked when a department provides their monthly report. For example, if I am operations and I submit my August 2022 report then the checkbox is marked. I use the report to set up an alert when the box is not checked. The issue is when a dept. submits 2 reports in a month - possibly to submit the next month report early as the due date is the 5th of every month.
-
@Andrée Starå Good morning Andree. I was following up to see if you had any suggestions on fixing my formula based on how I want it to work?
-
Hi, @Linda F
Modify your current formula in the following manner:
IF( YOUR_COUNTIF_EXPRESSION = 0, 0, 1)
The checkbox column type requires a Boolean value: "TRUE or FALSE" or "1 or 0". Your original formula returns a value that is neither "1" nor "0" when multiple reports are submitted within the month. The modified formula will return FALSE(0) when the count is 0; otherwise, it will return TRUE(1) when the count is anything other than 0.
=IF( COUNTIFS({F & A Monthly Updates Range 2}, Department@row, {F & A Monthly Updates Range 3}, "3") = 0, 0, 1)
-
I saw that Toufong had answered already!
Let me know if I can help with anything else!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Toufong Vang Thank you so much, that is exactly what I needed. I see my mistake now and so glad you were able to assist.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!