cumulative sum formula in excel 2003

muffinson

New Member
Joined
Oct 4, 2006
Messages
10
I have a spreadsheet that looks like this



A B C D E F

1 Month ?

2

3 Jan Feb Mar Apr May MTD

4 10 14 15 9 8 ?




I want to have a cumulative sum formula in cell f4, which would add up the figures in row 4 depending on the date I entered in cell B2.


For e.g. if I entered Mar in B1, my MTD figure in F4 would = 39, the Sum of Jan, Feb & Mar.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

NBVC

Well-known Member
Joined
Aug 31, 2005
Messages
5,828
Like this?

=SUM(A4:INDEX(A4:E4,MATCH(B1,A3:E3,0)))
 

Domenic

MrExcel MVP
Joined
Mar 10, 2004
Messages
20,512
Office Version
  1. 365
Platform
  1. Windows
Try...

=SUM(B4:INDEX(B4:F4,MATCH(B1,B3:F3,0)))

Hope this helps!
 

muffinson

New Member
Joined
Oct 4, 2006
Messages
10
Thank YOu

Thank you so much!! it works.... I only wished I understood how but it works....

I'm so happy...
 

Forum statistics

Threads
1,175,843
Messages
5,899,777
Members
434,798
Latest member
dragontbone

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
Top