Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Another Formula Question

2»

Answers

  • ✭✭

    @Andrée Starå

    Here is a screenshot of my columns. It is a long sheet. There is 1 status column. I want all the "Approver" columns to return a value of "Approved" if they are "Approved or APproved with changes", if it is blank I want nothing, and if any of them are "Not approved" I want it to return a value of Not Approved? Can this be done?


  • ✭✭

    Alex Argumedo 

    That one still came up as unparseable. I have just a few hours to finish this.. Is there any way that we can figure this out together?

  • ✭✭✭✭✭

    try:

    =IFERROR(IF(AND(OR([Approver (Brendan Fowler)]@row = "Approved", [Approver (Brendan Fowler)]@row = "Approved, with changes"), OR([Approver (Steve Nelson)]@row = "Approved", [Approver (Steve Nelson)]@row = "Approved with changes"), OR([Approver - Content Division (Matthew)]@row = "Approved", [Approver - Content Division (Matthew)]@row = "Approved with changes"), OR([Legal Department - Approval]@row = "Approved", [Legal Department - Approval]@row = "Approved with changes"), OR([Approver: Johnathan]@row = "Approved", [Approver: Johnathan]@row = "Approved with changes")), "Approved", "Not Approved"), "")

  • ✭✭

    Alex Argumedo

    This is what I had typed in


    =IFERROR(IF(AND(OR([Approver (Brendan Fowler)]@row = "Approved", [Approver (Brendan Fowler)]@row = "Approved, with changes"), OR([Approver: Steve Nelson]@row = "Approved", [Approver: Steve Nelson]@row = "Approved, with changes"), OR([Approver: Matthew]@row = "Approved", [Approver: Matthew]@row = "Approved, with changes"), OR([Legal Department - Approval]@row = "Approved", [Legal Department - Approval]@row = "Approved, with changes"), OR([Approver: Johnathan]@row = "Approved", [Approver: Johnathan]@row = "Approved, with changes"), "Approved", "Not Approved"), ""))


    Now, instead of getting "Unparseable" I get "Incorrect Argument Set"??

  • ✭✭✭✭✭

    remove this comma "Approved, with changes" << it keeps coming back, that comma breaks the formula and it is about 5 times in it.

    the comma is between the quotations.

    Replace all "Approved, with changes" with "Approved with changes"

  • ✭✭

    Toufong Vang 

    This is the formula I tried in regards to your post.. It came back with a blank when the cells are blank, which I appreciate. However, when anyone clicks "Approve the status doesnt change?

    =IF(COUNTIF([Approver (Brendan Fowler)]@row:[Approver: Johnathan]@row, @cell <> "") < 5, "", IF(FIND("Not", JOIN([Approver (Brendan Fowler)]@row:[Approver: Johnathan]@row)) = 0, "Approved", "Not Approved"))

  • ✭✭✭✭✭
    edited 06/14/21 Answer ✓

    The formula has been revised to use generic column labels. You can substitute the actual labels to finalize the formula.

    = IF( OR( Column11@row = "", Column12@row = "", Column13@row = "", Column14@row = "", Column15@row = ""), "No Status", IF( FIND("Not", Column11@row + Column12@row + Column13@row + Column14@row + Column15@row + "") = 0 , "Approved", "Not Approved"))

    The approach remains unchanged:

    • Check to see if there are blanks in any of the 5 cells, and if so, then return "No Status".
    • Else, combine the contents of all 5 cells and see if "Not" is in the string and return "Approved" if it isn't found,;
    • Else, return "Not Approved".
  • ✭✭

    Toufong Vang 


    IT WORKED!! Thank you so much!! Alex Argumedo  I cannot thank you enough for your help.

  • ✭✭✭✭✭

    I'm glad it worked, and I hope it did it on time :)

    Regards

  • Community Champion

    @Ashlee

    Glad you got it working!

    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.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I'm trying to create a SUMIF formula that looks at the salesperson name in a column and adds up or totals their $ sales in another column. To ultimately show in Dashboard of Totals Sales by Salesperso…
    User: "Allan Z"
    Answered ✓
    9
    2
  • Good day Smartsheet Team, Getting an unparseable error on this formula: =IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"") Trying to pull in a…
    User: "stratman"
    Answered ✓
    15
    2
  • I have a sheet that compiles all the responses from a form. The sheet has multiple start and end date columns, but only one start and one end date cell is NOT blank depending on the activity selected …
    User: "m_anderson"
    Answered ✓
    13
    2