Ramp Up formula without VBA

FlashDota

New Member
Joined
Jun 11, 2023
Messages
33
Office Version
  1. 2021
Platform
  1. Windows
I have a task which I want to complete without using VBA. I want to multiply the value for each month with the corresponding months percentage down below. But Month 1 won't be the same for every person, since for Person 1 Starting Month is January, Person 2 Starting Month is February and Person 3 Starting Month is April. Reference the table below for desired results. What formula does this in the most straightforward way?




ListStarting monthMonth 1Month 2Month 3Desired results
Person 1
1/1/2024​
150​
250​
350​
150*10%250*20%350*30%
Person 2
2/1/2024​
290​
390​
490​
290*20%390*30%490*40%
Person 3
4/1/2024​
640​
340​
140​
640*40%340*50%140*60%
1/1/2024​
1/2/2024​
1/3/2024​
1/4/2024​
1/5/2024​
1/6/2024​
1/7/2024​
1/8/2024​
1/9/2024​
1/10/2024​
1/11/2024​
1/12/2024​
10%​
20%​
30%​
40%​
50%​
60%​
70%​
80%​
90%​
80%​
70%​
60%​
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
How about
Fluff.xlsm
ABCDEFGHIJKL
1ListStarting monthMonth 1Month 2Month 3Desired results
2Person 101/01/20241502503501550105
3Person 201/02/202429039049058117196
4Person 301/04/202464034014025617084
5
6
7
8
901/01/202401/02/202401/03/202401/04/202401/05/202401/06/202401/07/202401/08/202401/09/202401/10/202401/11/202401/12/2024
1010%20%30%40%50%60%70%80%90%80%70%60%
Sheet6
Cell Formulas
RangeFormula
G2:I4G2=C2:E2*INDEX($A$10:$L$10,XMATCH(B2,$A$9:$L$9)+{0,1,2})
Dynamic array formulas.
 
Upvote 0
Solution
How about
Fluff.xlsm
ABCDEFGHIJKL
1ListStarting monthMonth 1Month 2Month 3Desired results
2Person 101/01/20241502503501550105
3Person 201/02/202429039049058117196
4Person 301/04/202464034014025617084
5
6
7
8
901/01/202401/02/202401/03/202401/04/202401/05/202401/06/202401/07/202401/08/202401/09/202401/10/202401/11/202401/12/2024
1010%20%30%40%50%60%70%80%90%80%70%60%
Sheet6
Cell Formulas
RangeFormula
G2:I4G2=C2:E2*INDEX($A$10:$L$10,XMATCH(B2,$A$9:$L$9)+{0,1,2})
Dynamic array formulas.
Thanks, this is a great formula. So if I was to add more months to it, I would just need to change the first range "C2:E2" and the numbers in bracket {0, 1, 2}.
Is there a way to make this part {0, 1, 2} also dynamic? Let's say I did this for 36 months I would need to wrote 0 to 35 manually
 
Upvote 0
For 36 months you could use Sequence(,36,0) instead of {0,1,2}
 
Upvote 0
For 36 months you could use Sequence(,36,0) instead of {0,1,2}
I tried it but it's not working?

ListStarting monthMonth 1Month 2Month 3Month 4Month 5Month 6Month 7Month 8Month 9Month 10Month 11Month 12Month 13Month 14Month 15Month 16Month 17Month 18Month 19Month 20Month 21Month 22Month 23Month 24Month 25Month 26Month 27Month 28Month 29Month 30Month 31Month 32Month 33Month 34Month 35Month 36
Person 1
1/1/2024​
150​
250​
350​
150​
250​
350​
150​
250​
150​
250​
350​
350​
150​
250​
350​
150​
150​
250​
350​
250​
350​
150​
250​
350​
150​
250​
350​
150​
250​
350​
150​
250​
150​
250​
350​
350​
Person 2
2/1/2024​
290​
390​
490​
290​
390​
490​
290​
390​
290​
390​
490​
490​
290​
390​
490​
290​
290​
390​
490​
390​
490​
290​
390​
490​
290​
390​
490​
290​
390​
490​
290​
390​
290​
390​
490​
490​
Person 3
4/1/2024​
640​
340​
140​
640​
340​
140​
640​
340​
640​
340​
140​
140​
640​
340​
140​
640​
640​
340​
140​
340​
140​
640​
340​
140​
640​
340​
140​
640​
340​
140​
640​
340​
640​
340​
140​
140​
1/1/2024​
2/1/2024​
3/1/2024​
4/1/2024​
5/1/2024​
6/1/2024​
7/1/2024​
8/1/2024​
9/1/2024​
10/1/2024​
11/1/2024​
12/1/2024​
0.1​
0.2​
0.3​
0.4​
0.5​
0.6​
0.7​
0.8​
0.9​
0.8​
0.7​
0.6​
Desired results
Person 1
15​
50​
105​
60​
125​
210​
105​
200​
135​
200​
245​
210​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
Person 2
58​
117​
196​
145​
234​
343​
232​
351​
232​
273​
294​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
Person 3
256​
170​
84​
448​
272​
126​
512​
238​
384​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
#REF!​
 
Upvote 0
You need to change the range inside the index/match, so it should be
Excel Formula:
=C2:AL2*INDEX($A$10:$AJ$10,XMATCH(B2,$A$9:$AJ$9)+SEQUENCE(,36,0))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top