Hi All,
I am after a macro that will help me use the goal seek function to determine Gross Margin % and Net Profit % for a very basic profit and loss summary. The GM% and NP% needs to change as they are changed in other cell references (I.e there will be input cells to change these numbers).Once the criteria for GM% and NP% are set the goal seek function should change the sales figure based on these percentages. I would not mind having two separate scenarios as I don't want to change to many variable. So maybe one macro for GM% and one Macro for NP%?.Sample shown below.
Sales $50
Cogs $20
GM $30
GM% 60%
Exp $10
NP $20
NP% 40%
The 60% gross margin and 40% gross margin needs to change with the values in the input cells and the sales number needs to change too. For Example if a GM% of 80% is required then the macro would change the sales figure to $99.58092 and the net profit margin dollar value to $69.58092 and net profit margin to 70%
Is this even possible using a macro?
Thanks
SR
I am after a macro that will help me use the goal seek function to determine Gross Margin % and Net Profit % for a very basic profit and loss summary. The GM% and NP% needs to change as they are changed in other cell references (I.e there will be input cells to change these numbers).Once the criteria for GM% and NP% are set the goal seek function should change the sales figure based on these percentages. I would not mind having two separate scenarios as I don't want to change to many variable. So maybe one macro for GM% and one Macro for NP%?.Sample shown below.
Sales $50
Cogs $20
GM $30
GM% 60%
Exp $10
NP $20
NP% 40%
The 60% gross margin and 40% gross margin needs to change with the values in the input cells and the sales number needs to change too. For Example if a GM% of 80% is required then the macro would change the sales figure to $99.58092 and the net profit margin dollar value to $69.58092 and net profit margin to 70%
Is this even possible using a macro?
Thanks
SR