Hi,
I'm using Excel 2003.
I have a spreadsheet with the following columns:
A: Number
B: Name of measure
C: Jan
D: Feb
E: Mar
F: Apr
G: May
...etc until
N: Dec
O: Target
P: % Var From Target
Q: Traffic Light
Column O has a fixed number. P and Q have formulas:
P: =IF(O5>0,(C5-O5)/O5,"")
Q: =IF(C5>=80%,"G",IF(C5<70%,"R","Y"))
Users will fill in the spreadsheet each month. I want the red cells in the formulas for column P (% Var From Target) and column Q (Traffic Light) to change monthly: to use data from one month behind the current month.
For example, C5 is the column for Jan. C5 is the cell in the formulas above (in red). That is fine for this month (Feb) since the spreadsheet is showing January's data. But next month (Mar), I would like the red cells in the two formulas above to become D5 (in Mar, I am looking at Feb's data and D5 is the data for Feb). Then in Apr, I want the red cells to change to E5 (E5 is the data for Mar). In May, I want the cell C5 to change to F5 (F5 is the data for Apr), etc.
Anyone know how I can change the 2 formulas to be one month behind the current month?
Thanks,
Bookmarks