Hi everyone. I want to create a formula/method without making a big hairy IF statement.
I have equipment items coded by importance from 1 (Most) to 6 (Least). When ordering I have a specific formula in mind for each item code. I know I could create a six or more level IF statement as that is fairly straight forward. The workbook is under construction so I can add sheets, lookup tables, etc if needed. Right now every item has a minimum and maximum value assigned for possession/issue from warehouse purposes. So the Tier 1 items I total up all the "Max" numbers on the items and subtract out the on hand count. That tells me what I need to receive to issue those items to the techs and bring them all up to the max allowed per tech. The Tier 2 items are ordered up to the mid point (median) between the MIN & MAX. The Tier 3 Items are ordered to bring everyone up to the minimum allowance. Tier 4, 5, 6 all have unique circumstances. I'd like to have a single cell with the correct order qty based on what tier the part is on. Right now all I am seeing is a big ol IF statement. Anyone have an idea for a different approach. I am very open to learning new skills that lead to a solution so any insight is appreciated.
I have equipment items coded by importance from 1 (Most) to 6 (Least). When ordering I have a specific formula in mind for each item code. I know I could create a six or more level IF statement as that is fairly straight forward. The workbook is under construction so I can add sheets, lookup tables, etc if needed. Right now every item has a minimum and maximum value assigned for possession/issue from warehouse purposes. So the Tier 1 items I total up all the "Max" numbers on the items and subtract out the on hand count. That tells me what I need to receive to issue those items to the techs and bring them all up to the max allowed per tech. The Tier 2 items are ordered up to the mid point (median) between the MIN & MAX. The Tier 3 Items are ordered to bring everyone up to the minimum allowance. Tier 4, 5, 6 all have unique circumstances. I'd like to have a single cell with the correct order qty based on what tier the part is on. Right now all I am seeing is a big ol IF statement. Anyone have an idea for a different approach. I am very open to learning new skills that lead to a solution so any insight is appreciated.