How is the checkbox function recognised?
I'm trying to output the number of sick-days into a cell using the criteria 'email address' and checkbox ticked as i only want it to recognise the sickdays if checkbox is ticked. Don't really understand how the checkbox is recognized as I am getting a '#invalid operation'
=SUMIFS([Is your absence related to a disability]:[Is your absence related to a disability] =1, [Your email address]:[Your email address], "phil.lomas@company.org", [Number of sick days]:[Number of sick days])
Can anyone put me on the right path?
Thankyou
Comments
-
Hi Phil,
Try something like this.
=SUMIFS([Number of sick days]:[Number of sick days]; [Is your absence related to a disability]:[Is your absence related to a disability]; 1; [Your email address]:[Your email address]; "phil.lomas@company.org")
The same version but with the below changes for your and others convenience.
=SUMIFS([Number of sick days]:[Number of sick days], [Is your absence related to a disability]:[Is your absence related to a disability], 1, [Your email address]:[Your email address], "phil.lomas@company.org")
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Hope that helps!
Did it work?
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
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.
-
Yes that does it. :-)
-
Excellent!
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.
-
To further explain...
SUMIFS has a different syntax than SUMIF. The range to be summed comes first in a SUMIFS.
.
When writing it out, the range and the criteria need to be separated with a comma or semicolon depending on your region. So instead of having this:
[Column Name]:[Column Name] = 1
you would need to use this:
[Column Name]:[Column Name], 1
or
[Column Name]:[Column Name]; 1
.
in relation to your original question, a box being checked can either be referenced with true or 1.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 416 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!