Forum Discussion

Greg_M's avatar
Greg_M
Copper Contributor
Sep 05, 2025
Solved

Having trouble with IF formula

Hello, I'm not sure what's going on with my formula, but it is supposed to double the "Grip" when a checkbox is checked. All the numbers being pulled from tables are correct and when not checked the...
  • Riny_van_Eekelen's avatar
    Sep 06, 2025

    I agree with mathetes​ that it's very difficult to diagnose such a formula. Comparing the if_true part of the formula with the if_false part I notice some inconsistencies concerning the number and placement of several parentheses. If you can fix that your problem will probably be solved.

    You mention that the if_false calculation (i.e. X8 is not checked) returns the correct value, then why not us this:

    =
    (
      INDEX
        (
           DATA_THK,
           MATCH(1,(Flg_Thk[Spec.]=N8)*(Flg_Thk[Series]=O8)*(Flg_Thk[Class]=P8)*(Size=Q8),0),
           MATCH(R8,FLG_TYPE, 0)
         )
        + T8 * (R8="Lap Joint (LJ)") + V8 * (U8="RF")
     ) 
    * IF(X8, 2, 1)

    I hope I got all the pairs of parentheses correct. See if this works. If not please upload you file or a link to on OneDrive or similar that give access to it. Then it will be a lot easier to help.

Resources