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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
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,216,036
Messages
6,128,432
Members
449,452
Latest member
Chris87

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