How to make the formula in column D E F be more dynamic when the number in column C changed into different row?

suloveh68

New Member
Joined
Jul 9, 2024
Messages
2
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
See attached picture for the detail:

Question: The output for column D, E, F should be using the number in column C * % starting from 100% all the way down to year of 21; however, the installed number in column C can happened in year 5,6, or any year, how to make the calculation in column D, E,F be more dynamic? For example, if there is installed amount 55 happened in year 5, how to write a formula in column D to make the number be calculated automatically in year 5
1720562763474.png
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Welcome to the Forum!

How about:

ABCDEFG
1Year%InstalledCalculation 1Calculation 2Calculation 3
211.00 
320.98
430.965555.00
540.9453.90
650.9252.80
760.9051.70
870.8850.60
980.865849.5058.00
1090.8448.4056.84
11100.8247.3055.68
12110.8046.2054.52
13120.7845.1053.36
14130.765944.0052.2059.00
15140.7442.9051.0457.82
16150.7241.8049.8856.64
17160.7040.7048.7255.46
18170.6839.6047.5654.28
19180.6638.5046.4053.10
20190.6437.4045.2451.92
21200.6236.3044.0850.74
22210.6035.2042.9249.56
2334.1041.7648.38
2433.0040.6047.20
2539.4446.02
2638.2844.84
2737.1243.66
2835.9642.48
2934.8041.30
3040.12
3138.94
3237.76
3336.58
3435.40
35
Sheet1
Cell Formulas
RangeFormula
A2:A22A2=SEQUENCE(21)
E1:G1E1="Calculation "&SEQUENCE(,COUNT(D2:D22))
E2:G34E2=LET(d,D2:D22,pc,B2:B22,f,IF(d<>"",1+ROW(d)-MIN(ROW(d))),N,TRANSPOSE(FILTER(f,f)),s,SEQUENCE(ROWS(pc)+MAX(N)-1),IFERROR(INDEX(d,N)*IF(s>=N,INDEX(pc,s-N+1),""),""))
Dynamic array formulas.
 
Upvote 1
Solution
Welcome to the Forum!

How about:

ABCDEFG
1Year%InstalledCalculation 1Calculation 2Calculation 3
211.00 
320.98
430.965555.00
540.9453.90
650.9252.80
760.9051.70
870.8850.60
980.865849.5058.00
1090.8448.4056.84
11100.8247.3055.68
12110.8046.2054.52
13120.7845.1053.36
14130.765944.0052.2059.00
15140.7442.9051.0457.82
16150.7241.8049.8856.64
17160.7040.7048.7255.46
18170.6839.6047.5654.28
19180.6638.5046.4053.10
20190.6437.4045.2451.92
21200.6236.3044.0850.74
22210.6035.2042.9249.56
2334.1041.7648.38
2433.0040.6047.20
2539.4446.02
2638.2844.84
2737.1243.66
2835.9642.48
2934.8041.30
3040.12
3138.94
3237.76
3336.58
3435.40
35
Sheet1
Cell Formulas
RangeFormula
A2:A22A2=SEQUENCE(21)
E1:G1E1="Calculation "&SEQUENCE(,COUNT(D2:D22))
E2:G34E2=LET(d,D2:D22,pc,B2:B22,f,IF(d<>"",1+ROW(d)-MIN(ROW(d))),N,TRANSPOSE(FILTER(f,f)),s,SEQUENCE(ROWS(pc)+MAX(N)-1),IFERROR(INDEX(d,N)*IF(s>=N,INDEX(pc,s-N+1),""),""))
Dynamic array formulas.
wow! That's so genius! Thank you so much!
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,152
Members
452,615
Latest member
bogeys2birdies

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