Hi all,
I had the following table with 1 machine to make a calculation. I was using multiple "if" + "and" statements, all was well but now I have to do the same with 2 machines which will exceeds the 7 if's limit.
Could you please help me. I am used to using vlookup but I am not used to having "if's" as well as "and's".
--col A---------col B----------col C---------col D
machine------tool-----------shift---------Result
----1------------1---------------1---------- + 10%
----1------------1---------------2---------- + 20%
----1------------1---------------3---------- + 30%
----1------------2--------------------------- + 40%
----1------------3--------------------------- + 50%
----2------------1---------------1---------- + 15%
----2------------1---------------2---------- + 25%
----2------------1---------------3--------- + 35%
----2------------2--------------------------- + 45%
----2------------3-------------------------- + 55%
How can I compile a formula to say that if I am looking at any combination listed I add a certain percentage to my data. i.e,
machine 1
tool 1
shift 1
I add 10% to the data
machine 2
tool 2
I add 45% to the data
I hope this is clear enough,
thanks for your help as always,
Greg.
Bookmarks