# cumulative sum formula in excel 2003

#### muffinson

##### New Member
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

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

#### NBVC

##### Well-known Member
Like this?

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

#### Domenic

##### MrExcel MVP
Try...

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

Hope this helps!

#### muffinson

##### New Member
Thank YOu

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

I'm so happy...

Replies
1
Views
43
Replies
3
Views
99
Replies
5
Views
59
Replies
1
Views
48
Replies
2
Views
113

1,109,443
Messages
5,528,791
Members
409,834
Latest member
vexceled

### This Week's Hot Topics

• Change military grades into rank
Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
• VBA COUNTIF SOLUTION
Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
• INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
• Auto-Create a monthly Sign in sheet for preschool students
The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
• VBA vlookup multiple results
Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
• Extract values for earliest/latest times
I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...