calpolymis
MIS
Hi, I need to develope a macro for Excel to calculate desired profit margin depending on our cost. Here's the scenario.
A1: landing cost
If 0 <= A1 <= 2, then multiply 200% to A1 and write the target profit margin on B1
If 3 <= A1 <= 5, then multiply 150% to A1 and write the target profit margin on B1
If 6 <= A1 <= 10, then multiply 75% to A1 and write the target profit margin on B1
.....
So, it's a CASE scenario that determins the target profit margin depending on the cost group. I've been pretty much away from this kind of stuff so I really need someone's help to solve this problem.
I would really appreciate some detailed instructions to implement on Excel.
Please let me know if you need any further detail.
Thank you.
A1: landing cost
If 0 <= A1 <= 2, then multiply 200% to A1 and write the target profit margin on B1
If 3 <= A1 <= 5, then multiply 150% to A1 and write the target profit margin on B1
If 6 <= A1 <= 10, then multiply 75% to A1 and write the target profit margin on B1
.....
So, it's a CASE scenario that determins the target profit margin depending on the cost group. I've been pretty much away from this kind of stuff so I really need someone's help to solve this problem.
I would really appreciate some detailed instructions to implement on Excel.
Please let me know if you need any further detail.
Thank you.