Excel formula

ashliiii

Board Regular
Joined
Feb 27, 2011
Messages
65
Suppose I have an Excel sheet with cell A1 = 1000, A2 = 950, A3 = 775, A4 = 625, A5 = 595 and A6 = 410.

If cell A5 = 2, what formula should I type in cell A6, so that A6 = 1950 which is the sum A1 + A2. If I were to type value 3 in cell A5, then cell A6 = 2725, the value A1 + A2 + A3. Thank you for your time.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
What happens to the 595 already in A5 and the 410 in A6??
 
Upvote 0
Book1
AB
11000
2950
3775
4625
55953
64102725
Sheet1
Cell Formulas
RangeFormula
B6B6=SUM(A1:INDEX(A1:A6,B5,1))
 
Upvote 0

Forum statistics

Threads
1,215,346
Messages
6,124,417
Members
449,157
Latest member
mytux

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