adding changing number of days

A

Aivars

Hello,
Bank calculates loan repayment due dates like this:
1 181 day from drawdawn day
2 184 days from previous payment day
3 181 days from previous payment day
4 184 days from previous payment day
5 181 days from previous payment day
and so on
....
How can I make formula or macro add to previous date one time 181
days, next time 184 days and so on again in order to get the dates
when payments are due?

Excel 2000/XP, Win 2000/XP

Thank you very much

Aivars
 
D

Don Guillett

one way would be to store the variable in a cell somewhere & use an if
statement
 
T

Tom Ogilvy

Assume first date is in A1
in A2
=a1+if(mod(row(),2)=0,181,184))

Then drag fill down the column

Regards,
Tom Ogilvy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top