I'm currently building a macro that uses 3 different calculations with different columns based on the type of the file.
Type 1: Columns A, B,C
Type 2: Columns D, E, F
Type 3: Columns X,Y,Z
The user may not input all 3 different types which is causing an issue with the formula tool because it doesn't recognize the variable.

Is there a way to bypass this error?