that what i thought thank you, now i assume my changing variable cells are the quantities produced as well as the hours required, and my set objective is F7 representing total profit but when i put F7 into the set objective it says it needs to be a formula and i dont know what formula to put ?