Countifs and exclude criteria

I am trying to count how many people are requesting computers only. I would like to exclude the people that are requesting a computer and internet. I have the formula for the total number computers requested =COUNTIFS(, {Computer Only}, "Computer") but not how to not count the ones that have internet. Can anyone help?

computerandinternet.JPG


Best Answer

Answers

  • Thank you David! The first formula worked perfectly.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the公式手册模板!
It looks like you are trying to count how many cells between [Column5] and [Column16] (on each row) contains the value in [Column17]$10. Is that correct?<\/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":109190,"type":"question","name":"How to remove the last letter from a text field.","excerpt":"I have a list of data: 8888 H 88 H 888 M 8.888 M How do I remove the H & M to leave a number that I can use in a calculation?","snippet":"I have a list of data: 8888 H 88 H 888 M 8.888 M How do I remove the H & M to leave a number that I can use in a calculation?","categoryID":322,"dateInserted":"2023-08-21T12:31:17+00:00","dateUpdated":null,"dateLastComment":"2023-08-21T15:57:28+00:00","insertUserID":135590,"insertUser":{"userID":135590,"name":"Jbob","url":"https:\/\/community.smartsheet.com\/profile\/Jbob","photoUrl":"https:\/\/lh3.googleusercontent.com\/a\/AGNmyxY995A_sfSQHsmgUsRgqeK4EHeVdf9h7QM2bqHd=s96-c","dateLastActive":"2023-08-21T13:45:58+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-08-21T18:05:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":33,"score":null,"hot":3385257525,"url":"https:\/\/community.smartsheet.com\/discussion\/109190\/how-to-remove-the-last-letter-from-a-text-field","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109190\/how-to-remove-the-last-letter-from-a-text-field","format":"Rich","lastPost":{"discussionID":109190,"commentID":391615,"name":"Re: How to remove the last letter from a text field.","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/391615#Comment_391615","dateInserted":"2023-08-21T15:57:28+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-08-21T18:05:33+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-08-21T14:43:19+00:00","dateAnswered":"2023-08-21T13:39:11+00:00","acceptedAnswers":[{"commentID":391595,"body":"

Try wrapping it in a VALUE function.<\/p>

=VALUE(<\/strong>original_formula)<\/strong><\/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":109184,"type":"question","name":"If and Match Formula Help","excerpt":"Hello - I have 2 sheets. One that shows all the fields from our on-prem environment and another that shows all the fields that were migrated to our sandbox via a migration tool. I want to know if any fields were not migrated from our on-prem environment to the sandbox. Any suggestions on an equation to use? I tried the…","snippet":"Hello - I have 2 sheets. One that shows all the fields from our on-prem environment and another that shows all the fields that were migrated to our sandbox via a migration tool. I…","categoryID":322,"dateInserted":"2023-08-20T19:17:19+00:00","dateUpdated":"2023-08-21T08:42:53+00:00","dateLastComment":"2023-08-21T13:43:25+00:00","insertUserID":145541,"insertUser":{"userID":145541,"name":"Melissa Larkin","url":"https:\/\/community.smartsheet.com\/profile\/Melissa%20Larkin","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-21T13:40:37+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":91566,"lastUserID":91566,"lastUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-08-21T16:31:48+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":32,"score":null,"hot":3385186244,"url":"https:\/\/community.smartsheet.com\/discussion\/109184\/if-and-match-formula-help","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109184\/if-and-match-formula-help","format":"Rich","lastPost":{"discussionID":109184,"commentID":391600,"name":"Re: If and Match Formula Help","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/391600#Comment_391600","dateInserted":"2023-08-21T13:43:25+00:00","insertUserID":91566,"insertUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-08-21T16:31:48+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"}},"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,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/QC7F1X0I1XUP\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-21T13:42:50+00:00","dateAnswered":"2023-08-21T12:58:43+00:00","acceptedAnswers":[{"commentID":391588,"body":"

Hi @Melissa Larkin<\/a> <\/p>

What I would do in this instance is actually use a COUNTIFS formula to \"count\" the number of rows in your second sheet that have the same data as in your current sheet. <\/p>

The COUNT will be 0 if it hasn't been migrated, or 1 if it has.<\/p>

Try this:<\/p>

=IF(COUNTIFS({Metadata - Sandbox - Test - 2023_08_18 Range 1}, Helper@row) > 0, \"Migrated to Sandbox\", \"Not Migrated\")<\/p>

Cheers,<\/p>

Genevieve<\/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