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".
My current formula is =IF([To whom will the sample go?]@row = "Customer/Shipped out", "Shipping Date: " + [Date to be Shipped]@row + CHAR(10) + [Ship Method]@row + CHAR(10) + CHAR(10) + [TR Full Contact Info]@row , "") I need this to be able to look at [TR Full Contact Info]@row and if blank, pull the information from [IN…
Hello, Can a combination of the INDEX(COLLECT and NETDAYS Formula be used to get the number of days between two dates in the same column? I want to get the number of days between two dates on the same sheet, in the same column, that have matching names and different project types. For Example: Studio Name is equal to…
I am trying to pull a phone number and email from our master roster that is on another sheet in Smartsheet. I cannot figure out the formula. This is the formula I have tried. =INDEX([EMPLOYEE NAME]@row , MATCH({IMS Master Roster Range 2}), 0)