Multiple IF/AND

Need help. I'm setting multiple conditions to a formula, and I can't seem to get it right.

My goal is to auto-calculate our development hours based on the material type.

Say:

If the material is Instructor-Led, and new - development hours should be duration hours/60*5.63, if existing, then development hours should be duration hours/60*2.83

Another is if it's an e-learning, and new - development hours should be duration hours/60*11.25, if existing, then development hours should be duration hours/60*7.5


Here's my formula at least for the first argument:


=IF(AND(Delivery2 = "ILT", Type2 = "New", [Module Duration (mins)]2 / 60 * 5.63, IF(AND(Delivery2 = "ILT", Type2 = "Existing", [Module Duration (mins)]2 / 60 * 2.82, "-"))))


This will be a life saver.

Answers