Hello All, I have having great difficulty trying to find the right formulas in excel to do what I want it to do. I am trying to have a If function formula switch between which formula to use based off another cell.
Like this, I want the cell to use this function if B12 has the color "White" selected. =IF(B12="White",IF(G1>189,"Pass","Fail")) but if B12 has the color "Yellow" selected I want the same cell to use this function IF(B12="Yellow",IF(G1>142,"Pass","Fail")). As you can see it is the same formula but the only differences are the colors and the "IF" function of G1. How can I have the same cell (I1) choose which formula to use based upon what color is selected in B12. If G1's average is above 189 while the color white is selected it passes at the same time if G1's average is above 142 while the color is y yellow it passes.
In the end how can I have the same cell choose which formula to used based upon what color is selected in B12.
I hope this makes sense. Here is formula I come up with but it does work but only in my head lol. Where am I wrong and how can I make this work
=IF(B12="White",IF(G1>189,"Pass","Fail")), IF(B12="Yellow",IF(G1>142,"Pass","Fail"))
Like this, I want the cell to use this function if B12 has the color "White" selected. =IF(B12="White",IF(G1>189,"Pass","Fail")) but if B12 has the color "Yellow" selected I want the same cell to use this function IF(B12="Yellow",IF(G1>142,"Pass","Fail")). As you can see it is the same formula but the only differences are the colors and the "IF" function of G1. How can I have the same cell (I1) choose which formula to use based upon what color is selected in B12. If G1's average is above 189 while the color white is selected it passes at the same time if G1's average is above 142 while the color is y yellow it passes.
In the end how can I have the same cell choose which formula to used based upon what color is selected in B12.
I hope this makes sense. Here is formula I come up with but it does work but only in my head lol. Where am I wrong and how can I make this work
=IF(B12="White",IF(G1>189,"Pass","Fail")), IF(B12="Yellow",IF(G1>142,"Pass","Fail"))