Want to practice working with formulas directly in Smartsheet?

Check out theFormula Handbook templateto view 100+ formulas, including a glossary of every function and examples of commonly used and advanced formulas.
❓️ob欧宝娱乐app手机下载产品的问题
Sign in andask it here!The community's got your back.

Wondering if there’s a problem?
Check out theStatus Pageand subscribe for notifications.

Check what Support you have access to based on your Plan
Overview of Smartsheet support hours and resources

沙re your knowledge!
Help others byanswering questions.

Formulas and Functions

Stumped by a formula? Ask for help or find examples to see how others use a formula to solve a similar problem.

Discussion List

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the公式手册模板!
=COUNTIFS([Do you plan to stay overnight May 1st?]:[Do you plan to stay overnight May 1st?], \"Yes\")<\/p>"},{"commentID":385326,"body":"

Sounds like you just need a basic COUNTIFS.<\/p>

=COUNTIFS([Column Name]:[Column name], @cell = \"Yes\")<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]},{"discussionID":107619,"type":"question","name":"Automation for contact column notication, once month by active, for only their projects.","excerpt":"I want to notify everyone in my \"Project Leader\" column of only their own projects that are active once a month. An Automation like... Run once a month on this day at this time, If project status is active, Notify Project Leader of all rows assigned to them. There doesn't seem to already be a way to group projects by…","snippet":"I want to notify everyone in my \"Project Leader\" column of only their own projects that are active once a month. An Automation like... Run once a month on this day at this time,…","categoryID":322,"dateInserted":"2023-07-14T14:13:22+00:00","dateUpdated":null,"dateLastComment":"2023-07-14T17:20:10+00:00","insertUserID":151431,"insertUser":{"userID":151431,"name":"Geilisa","url":"https:\/\/community.smartsheet.com\/profile\/Geilisa","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!ZnspmT_we0s!7Ijp-7vLSzs!HbngNM8iINM","dateLastActive":"2023-07-14T17:17:23+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":151431,"lastUser":{"userID":151431,"name":"Geilisa","url":"https:\/\/community.smartsheet.com\/profile\/Geilisa","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!ZnspmT_we0s!7Ijp-7vLSzs!HbngNM8iINM","dateLastActive":"2023-07-14T17:17:23+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":17,"score":null,"hot":3378700412,"url":"https:\/\/community.smartsheet.com\/discussion\/107619\/automation-for-contact-column-notication-once-month-by-active-for-only-their-projects","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107619\/automation-for-contact-column-notication-once-month-by-active-for-only-their-projects","format":"Rich","lastPost":{"discussionID":107619,"commentID":385346,"name":"Re: Automation for contact column notication, once month by active, for only their projects.","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/385346#Comment_385346","dateInserted":"2023-07-14T17:20:10+00:00","insertUserID":151431,"insertUser":{"userID":151431,"name":"Geilisa","url":"https:\/\/community.smartsheet.com\/profile\/Geilisa","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!ZnspmT_we0s!7Ijp-7vLSzs!HbngNM8iINM","dateLastActive":"2023-07-14T17:17:23+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-14T17:17:54+00:00","dateAnswered":"2023-07-14T14:23:39+00:00","acceptedAnswers":[{"commentID":385281,"body":"

You would set your trigger to be date based and then select the option for Custom Recurrence to set up the monthly portion.<\/p>

You would use a condition of the Status column being \"Active\" to apply the filter.<\/p>

Then the recipient for the Alert would be \"Send To Contacts In A Cell\" and you would select the Project Leader column which will only send rows meeting the previous condition to the appropriate Project Leader(s). So if I am leader on rows 1, 3, and 5 (assuming they are all active), I will only be alerted to rows 1, 3, and 5.<\/p>


<\/p>

\n
\n \n \"image.png\"<\/img><\/a>\n <\/div>\n<\/div>\n
\n
\n \n \"image.png\"<\/img><\/a>\n <\/div>\n<\/div>\n


<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":107618,"type":"question","name":"Formula","excerpt":"I am new ti Smartsheet and formulas. This is the formula I have, and it is not working, and I don't know what I have done wrong. =COUNTIFS({Stage 6}, =\"6- Testing\", [{Stage 61}, =\"6- Opening\"]) What I am trying to get is the number of projects that are in phase 6 weather it is opening or testing. Both are values in the…","snippet":"I am new ti Smartsheet and formulas. This is the formula I have, and it is not working, and I don't know what I have done wrong. =COUNTIFS({Stage 6}, =\"6- Testing\", [{Stage 61},…","categoryID":322,"dateInserted":"2023-07-14T14:02:17+00:00","dateUpdated":null,"dateLastComment":"2023-07-14T14:17:16+00:00","insertUserID":162539,"insertUser":{"userID":162539,"name":"L. Sauerhoff","title":"Product Manager","url":"https:\/\/community.smartsheet.com\/profile\/L.%20Sauerhoff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-14T15:09:42+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-07-14T18:58:34+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":19,"score":null,"hot":3378688773,"url":"https:\/\/community.smartsheet.com\/discussion\/107618\/formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107618\/formula","format":"Rich","lastPost":{"discussionID":107618,"commentID":385280,"name":"Re: Formula","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/385280#Comment_385280","dateInserted":"2023-07-14T14:17:16+00:00","insertUserID":45516,"insertUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-07-14T18:58:34+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-14T15:09:39+00:00","dateAnswered":"2023-07-14T14:12:52+00:00","acceptedAnswers":[{"commentID":385276,"body":"

Give this a try:<\/p>

=COUNTIFS({Stage 6}, OR(@cell = \"6- Testing\", @cell =\"6- Opening\"))<\/p>"},{"commentID":385280,"body":"

Your syntax is a bit off to start. You don't need the square brackets around the second range\/criteria set.<\/p>

=COUNTIFS({Stage 6}, =\"6- Testing\", {Stage 61}, =\"6- Opening\")<\/p>


<\/p>

I also notice that you said they are both in the same column yet you have two different ranges listed in your formula (6 and 61).<\/p>


<\/p>

Even after correcting the syntax and range issue though, it still will not accomplish what you are wanting because the COUNTIFS implies \"and\" when looking at multiple range\/criteria sets. This means you are technically counting rows where the same cell is equal to both \"6- Testing\" AND \"6- Opening\" at the same time which is not possible.<\/p>


<\/p>

What you really want is to count cells within the same range that are either \"6- Testing\" OR \"6- Opening\", and that looks more like:<\/p>

=COUNTIFS({Range}, OR(@cell = \"6- Testing\", @cell = \"6- Opening\"))<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=322&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":10000,"limit":3},"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Formulas and Functions