PaulFogel123
Member
I have a forecasting program in Excel. The formulas to calculate future periods' forecasts depend on user-entered values on an input sheet. For example, if the user wants salaries to increase by 10% next month, he enters 10% as the forecast variable. If actual salaries this month are $10 million, next month's forecast would be $11 million. Simple so far. However, when the user then loads the next month with his actual data, it will overwrite forecast salaries for that month. Say salaries actually come in at $10.5 million, not the forecasted $11 million. I want the user-entered value on the input sheet to display 5%, the actual increase, not 10%, the forecasted increase. That's easy enough to do with an if/then statement to distinguish actual from forecast. But, if I use an if/then statement, I can't have the user enter a value into that same cell; it would overwrite the if/then statement. As this model updates itself upon each new fiscal year, each user-entered input cell needs to do double-duty.
In summary, I want the user-entered input cell to reflect either the value for a forecast period (e.g. 10%), or to calculate what that value actually was calculated upon the new uploaded values (e.g. 5%). There are two ways I've thought of to do this, both of them clunky:
1) Have two rows for each variable; one row purely for input, the other to calculate the actual result as the months advance. Displaying both of these rows might look odd; in the example above, it would show the forecast was 10% and the actual was 5%. That might not be so bad were it not for the fact that I have 200 rows of variables, and I don't want to add bulk.
2) A macro that would paste over the user-defined cell each month when actual data for that month is uploaded. But as I have 200 rows of variables with 12 months each, that would be cumbersome.
Anyone have some creative ideas?
In summary, I want the user-entered input cell to reflect either the value for a forecast period (e.g. 10%), or to calculate what that value actually was calculated upon the new uploaded values (e.g. 5%). There are two ways I've thought of to do this, both of them clunky:
1) Have two rows for each variable; one row purely for input, the other to calculate the actual result as the months advance. Displaying both of these rows might look odd; in the example above, it would show the forecast was 10% and the actual was 5%. That might not be so bad were it not for the fact that I have 200 rows of variables, and I don't want to add bulk.
2) A macro that would paste over the user-defined cell each month when actual data for that month is uploaded. But as I have 200 rows of variables with 12 months each, that would be cumbersome.
Anyone have some creative ideas?