Another Formula Question
Answers
-
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?
-
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"), "")
-
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"
-
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"))
-
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".
-
-
I'm glad it worked, and I hope it did it on time :)
Regards
-
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
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 436 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 508 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!