## Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

• Help others & share knowledge
• Earn cash & points
Solved

# Excel help (using macros)

Posted on 2016-09-13
31 Views
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
Question by:mjbancroft
• 2

LVL 33

Accepted Solution

Rob Henson earned 500 total points
ID: 41797614
Not sure why you want to use macros, this can be done with formulas.

See attached workbook.
Payments.xlsx
1

Author Comment

ID: 41798391
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

LVL 33

Expert Comment

ID: 41799781
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

LVL 14

Expert Comment

ID: 41851694
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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.