Formula to add up % complete

I am trying to create a formula to count the number of 100% complete items in the % complete column AND the Category is the item on the Parent row (in the example below it would be "AUS").

I tried:

=COUNTIF({Sheet -% Complete} = 1, AND(COUNTIF({Sheet - Category}, "AUS")))

I get an error of INVALID OPERATION.

image.png


Thanks for the help.

最佳答案

  • Dan W
    Dan W ✭✭✭✭✭
    edited 06/02/23 Answer ✓

    @JennS_

    Are you referencing another sheet? If so using the reference you have in your formula you would put

    =COUNTIFS({Sheet -% Complete}, 1,{Sheet - Category}, "AUS")

    This is also assuming you have the format for the Percentage set to percentage.

Answers

  • Kleerfyre
    Kleerfyre ✭✭✭✭✭✭

    You need to use a COUNTIFS Statement. You will also have to put this formula in a different cell in a different column as the formula will error out as it won't like trying to count itself.


    =COUNTIFS([% Complete]:[% Complete], "100%", Category:Category,"AUS")

    Jonathan Sanders, CSM

    "Change is always scary because it is unknown, but facing the unknown is what makes us stronger."

  • JennS_
    JennS_ ✭✭

    这并不工作。它returned an #UNPARSEABLE

  • Dan W
    Dan W ✭✭✭✭✭
    edited 06/02/23 Answer ✓

    @JennS_

    Are you referencing another sheet? If so using the reference you have in your formula you would put

    =COUNTIFS({Sheet -% Complete}, 1,{Sheet - Category}, "AUS")

    This is also assuming you have the format for the Percentage set to percentage.

  • JennS_
    JennS_ ✭✭

    Thanks! This worked.

  • Can someone help me understand why this formula is not working?

    I have given weightage to 6 items - BAU:30%, Escalation - 10%, IAT Implementation - 10%, UAT - 30%, IAT Renewal -10% & E&O-10%

    Below formula giving me the final result of 50% instead of 100% when all items have 100 score. But when I reduce individual item score below 100, Final result is also reducing correctly.

    =IF([BAU Score]@row = 1, 0.3, IF([BAU Score]@row >= 0.5, 0.15, 0)) + IF([Escalation Score]@row = 1, 0.1, IF([Escalation Score]@row >= 0.5, 0.05, 0)) + IF([IAT Implementation Score]@row = 1, 0.1, IF([IAT Implementation Score]@row >= 0.5, 0.05, 0)) + IF([UAT Score]@row = 1, 0.3, IF([UAT Score]@row >= 0.5, 0.15, 0)) + IF([IAT Renewal Score]@row = 1, 0.1, IF([IAT Renewal Score]@row >= 0.5, 0.05, 0)) + IF([E&O Score]@row = 1, 0.1, IF([E&O Score]@row >= 0.5, 0.05, 0))

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi@Sarita Sah

    I hope you're well and safe!

    I added the formula to an example sheet, which worked for me.

    Can you share some screenshots?(Delete/replace any confidential/sensitive information before sharing) That would make it easier to help.

    I hope that helps!

    Be safe, and have a fantastic weekend!

    Best,

    Andrée Starå| Workflow Consultant / CEO @WORK BOLD

    我的帖子(s) help or answer your question or solve your problem? Please support the Community bymarking 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:[email protected]| P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • Sarita Sah
    Sarita Sah ✭✭
    edited 06/26/23

    @Andrée Starå, hey I realized the problem, thanks a lot. I had missed to add "greater than" along with =, so its working now. thanks anyways.

  • @Andrée Starå, hey I realized the problem, thanks a lot. I had missed to add "greater than" along with =, so its working now. thanks anyways.

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    @Sarita Sah

    Excellent! Easy to miss!

    Happy to help!

    Remember!我的帖子(s) help or answer your question or solve your problem? Please support the Community bymarking 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:[email protected]| P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the公式手册模板!
Instead of the CONTAINS function, try making it equal to the number:<\/p>

=IF([Task level]@row = 0<\/strong>, [Task name]@row, ....................<\/p>


<\/p>

You can also save yourself some keystrokes by using the nested IF to generate just the dashes and then add the task name to the end of the nested IF.<\/p>

=IF(.....IF(.....IF(.....))) + [Task Name]@row <\/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":110856,"type":"question","name":"I am attempting to create a true\/false formula. What am I missing?","excerpt":"I am attempting to create a formula that will show an expected go live date 42 days after the created date for the project type (Union) and 14 days after the created date for the project type (Share). The first half of the formula produces a date but when I add on I receive the error \"UNPARSEABLE\" =IF([Application…","snippet":"I am attempting to create a formula that will show an expected go live date 42 days after the created date for the project type (Union) and 14 days after the created date for the…","categoryID":322,"dateInserted":"2023-09-27T14:24:47+00:00","dateUpdated":null,"dateLastComment":"2023-09-27T15:52:48+00:00","insertUserID":164792,"insertUser":{"userID":164792,"name":"Natalie K","title":"Corporate Trainer","url":"https:\/\/community.smartsheet.com\/profile\/Natalie%20K","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-09-27T22:23:38+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-09-27T17:55:47+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":16,"score":null,"hot":3391656455,"url":"https:\/\/community.smartsheet.com\/discussion\/110856\/i-am-attempting-to-create-a-true-false-formula-what-am-i-missing","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/110856\/i-am-attempting-to-create-a-true-false-formula-what-am-i-missing","format":"Rich","lastPost":{"discussionID":110856,"commentID":397256,"name":"Re: I am attempting to create a true\/false formula. What am I missing?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/397256#Comment_397256","dateInserted":"2023-09-27T15:52:48+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-09-27T17:55:47+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-09-27T14:30:47+00:00","dateAnswered":"2023-09-27T14:27:50+00:00","acceptedAnswers":[{"commentID":397233,"body":"

Try removing the closing parenthesis after the 42.<\/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":110844,"type":"question","name":"Vendor management and ID #","excerpt":"I would like to assign unique vendor IDs in a database according to vendor type (independent column) and sequential numbering. Screenshot of what I am trying to produce below. I have found that the Auto Number column type only accepts a fixed prefix and thus cannot populate different prefixes based on Vendor Type along…","snippet":"I would like to assign unique vendor IDs in a database according to vendor type (independent column) and sequential numbering. Screenshot of what I am trying to produce below. I…","categoryID":322,"dateInserted":"2023-09-27T10:15:28+00:00","dateUpdated":null,"dateLastComment":"2023-09-27T12:47:34+00:00","insertUserID":161575,"insertUser":{"userID":161575,"name":"LGraf","url":"https:\/\/community.smartsheet.com\/profile\/LGraf","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-09-27T12:47:41+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":161575,"lastUser":{"userID":161575,"name":"LGraf","url":"https:\/\/community.smartsheet.com\/profile\/LGraf","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-09-27T12:47:41+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":26,"score":null,"hot":3391629782,"url":"https:\/\/community.smartsheet.com\/discussion\/110844\/vendor-management-and-id","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/110844\/vendor-management-and-id","format":"Rich","lastPost":{"discussionID":110844,"commentID":397197,"name":"Re: Vendor management and ID #","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/397197#Comment_397197","dateInserted":"2023-09-27T12:47:34+00:00","insertUserID":161575,"insertUser":{"userID":161575,"name":"LGraf","url":"https:\/\/community.smartsheet.com\/profile\/LGraf","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-09-27T12:47:41+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,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/2R63S9Z7G5M2\/screenshot-2023-09-27-105524.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"Screenshot 2023-09-27 105524.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-09-27T12:47:39+00:00","dateAnswered":"2023-09-27T11:37:40+00:00","acceptedAnswers":[{"commentID":397184,"body":"

Hi @LGraf<\/a> <\/p>

Have an auto number column with the number only, then have your Vendor ID # combine it with the Vendor Type:<\/p>

=[Vendor Type]@row +\"-\"+ [Autonumber column]@row <\/p>

Unfortunately I don't think there is a way to have a dynamic prefix in the auto number column itself.<\/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