Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 41
  • Last Modified:

Excel help (using macros)

I have the following problem I'd like to compute in a cell.

Payments start at month X (Mar). They go up increments of 10, every 2 months (payment period) for a number of periods 5, until they stop going up and remain at the same level. I want to create cells with the values under "payments" below, i.e. 0, 0, 100, 100, 110, 110, ... 140, 140, 140, 140 etc.

Payment period: Every 2 months.
Number of periods: 5
Start date: Mar
Payment increment amount: 10
Initial payment: 100

Period:                       1                 2              3               4              5                 6
Month:     Jan  Feb  Mar  Apr  May  Jun   Jul   Aug  Sep  Oct   Nov  Dec  Jan  Feb
Payment:  0      0     100  100  110  110  120 120   130  130  140  140   140  140
0
mjbancroft
Asked:
mjbancroft
  • 2
1 Solution
 
Rob HensonIT & Database AssistantCommented:
Not sure why you want to use macros, this can be done with formulas.

See attached workbook.
Payments.xlsx
1
 
mjbancroftAuthor Commented:
Thanks very much. I knew it could be done with a formula but frankly was a little stumped. I thought I had a good grasp of excel but your formulas are really elegant and they will be useful for the future. Thanks so much your prompt reply, I now have a very very effective financial model!
0
 
Rob HensonIT & Database AssistantCommented:
If you are happy with the solution, please do not forget to close the question.

Should you need any explanation of elements of the formula, please let me know.

Thanks
Rob
0
 
frankhelkCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Rob Henson (https:#a41797614)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

frankhelk
Experts-Exchange Cleanup Volunteer
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now