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.
 

Some videos you may like

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
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
19,309
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...
 

Watch MrExcel Video

Forum statistics

Threads
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...
Top