calculate in large array

Memar

Board Regular
Joined
Sep 2, 2011
Messages
76
[TABLE="width: 500"]
<tbody>[TR]
[TD]Projected price Inflation [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Date [/TD]
[TD]Rate [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/1/2019[/TD]
[TD]5%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/1/2020[/TD]
[TD]5.5%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/1/2021[/TD]
[TD]6%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/1/2022[/TD]
[TD]6.5%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Price amount by unit[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Date [/TD]
[TD]Amount [/TD]
[TD]Desired result [/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/1/2019[/TD]
[TD]1,000[/TD]
[TD]1000 x 5%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/1/2020[/TD]
[TD]1,200[/TD]
[TD]1,200 x 5.5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/1/2021[/TD]
[TD]1,500[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/1/2022[/TD]
[TD]2,000[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I want to multiple the price amount by the projected estimated rate for each year. example if the date is greater than January 1, 2019 multiply 1,000 by 5% if the date is greater than January 2020 to multiply 1,200 by 5.5% etc. Which Excel function is the best to do this kind of calculation for large amount of data like this.

Thank you very much for your help and time.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Excel 2010
ABCDEFG
1DateAmountDesired resultorYearRate
201-01-191,00050105001-01-195%
301-01-201,20066126601-01-205.50%
401-01-211,50090159001-01-216%
501-01-222,000130213001-01-226.50%
605-05-221,000651065
709-09-221,000651065
3a
Cell Formulas
RangeFormula
C2=LOOKUP(A2,$F$2:$G$5)*B2
D2=(1+LOOKUP(A2,$F$2:$G$5))*B2
 
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