Sign in to join the conversation:
I am trying to give a percentage based on how 2 columns read. Column PassFailA and Column PassFailB. If both show Pass 100%, If A is Pass B is Fail or Vise Versa 50% and if both Fail 25%
Hello,
Thanks for the question. If I understand what you're looking to do correctly, this can be accomplished using a nested IF formula including the AND and OR functions. More on all of the available functions can be found here (https://help.smartsheet.com/functions), and we also have a blog post on how to build nested IF formulas which can be found here (https://www.smartsheet.com/blog/support-tip-build-nested-IF). Here's an example of how this could be written:
=IF(AND([Column PassFailA]@row = "Pass", [Column PassFailB]@row = "Pass"), 1, IF(AND(OR([Column PassFailA]@row = "Fail", [Column PassFailB]@row = "Fail"), OR([Column PassFailA]@row = "Pass", [Column PassFailB]@row = "Pass")), 0.5, IF(AND([Column PassFailA]@row = "Fail", [Column PassFailB]@row = "Fail"), 0.25)))
For this example I'm also using @row instead of the row's number within the cell reference. This will help make the formula more efficient as this sheet grows larger. More on @row can be found here (https://help.smartsheet.com/articles/2476491#row).
I've also included a screenshot of the outcomes for every scenario you listed. I'd also like to note that if either column is left blank, this formula will leave the % Column blank until both are set to either "Pass" or "Fail".
I've got the following formula in a Check Box column to check when something is due in the Next 3 weeks. =IFERROR(IF(AND(WEEKNUMBER([Projected Cleaning Date]@row ) = WEEKNUMBER(TODAY()) + 3, YEAR([Projected Cleaning Date]@row ) = YEAR(TODAY())), 1), "") I have them for 2 weeks, 3 weeks, 4 weeks, and 5 weeks. These stopped…
I'm using salesforce connector to pull my team's hours information in real-time. The Salesforce connector sheet contains sheet summaries that I'd like to use a cell reference for a different sheet. I can't seem to find the best way or formula to do this. I don't want to use a dashboard with report widgets because I prefer…
I have two formulas which work well independently, but when I combine them they don't. formula 1: =IF(YEAR([Joined date]@row ) = 2025, JOIN(COLLECT({Membership Survey 2025 - Experience}, {Membership Prioritisation Survey 2025 - Org}, [Organisation name]@row ))) formula 2: =IF(YEAR([Joined date]@row ) < 2025,…