R
Robert
Hi,
I need some help with a macro that will automatically
populate cells with a zero if a previous cell is a certain
value. For example:
term 36
P1 P2 P3 P4 P5
beg. Month 1 13 25 0 0
end month 12 24 36 0 0
since the term=36, the end month cannot be greater than
36. The period in which the end month = term should be the
last period with months entered (the user enters the beg
and end months in the cells so there cannot be any
formulas in the cells that will get overwritten). Any
periods after the period with an end month that = term
should automatically be populated with a zero in the beg &
end months (such as P4 & P5).
Can you please help me with a macro to do this?
Thanks,
Robert
I need some help with a macro that will automatically
populate cells with a zero if a previous cell is a certain
value. For example:
term 36
P1 P2 P3 P4 P5
beg. Month 1 13 25 0 0
end month 12 24 36 0 0
since the term=36, the end month cannot be greater than
36. The period in which the end month = term should be the
last period with months entered (the user enters the beg
and end months in the cells so there cannot be any
formulas in the cells that will get overwritten). Any
periods after the period with an end month that = term
should automatically be populated with a zero in the beg &
end months (such as P4 & P5).
Can you please help me with a macro to do this?
Thanks,
Robert