|
|
| Author |
Message |
| Ant132 |
This post is not being displayed .
|
 Ant132 World Chat Champion
Joined: 18 Nov 2007 Karma :   
|
 Posted: 10:24 - 27 Feb 2015 Post subject: Excel formula help! |
 |
|
I'm trying to find the right formula to give me a cumulative number based on a month in a different cell.
E.g.
Jan Feb Mar Apr May
100 50 75 80 110
I want to have 'Mar' typed in a cell, and then a formula in a different cell that tells me the cumulative number from Jan to Mar = 225.
Hope that makes sense, I thought it would be simple but maybe my brain is dead!  ____________________ 1980 Suzuki TS50 ~ 1984 Honda CB400N ~ 1992 Triumph Trident ~ 1998 Suzuki Bandit 1200 |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Baffler186 |
This post is not being displayed .
|
 Baffler186 World Chat Champion

Joined: 31 May 2013 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Ant132 |
This post is not being displayed .
|
 Ant132 World Chat Champion
Joined: 18 Nov 2007 Karma :   
|
 Posted: 11:09 - 27 Feb 2015 Post subject: |
 |
|
Thanks for that! But if i then change it to Apr or Jun etc. I'll have to re-adjust the formula won't I?
It's not that i'm lazy, i just dont like being defeated by computers  ____________________ 1980 Suzuki TS50 ~ 1984 Honda CB400N ~ 1992 Triumph Trident ~ 1998 Suzuki Bandit 1200 |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Baffler186 |
This post is not being displayed .
|
 Baffler186 World Chat Champion

Joined: 31 May 2013 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| metalhead41 |
This post is not being displayed .
|
 metalhead41 L Plate Warrior
Joined: 02 May 2014 Karma : 
|
 Posted: 12:41 - 27 Feb 2015 Post subject: |
 |
|
Try this (for reference A1 to E1 I have Jan to May, A2 - E2 is the values and J1 is where I am entering the value to be looked up)...
| Code: |
=SUM(A1:INDIRECT(CELL("address",INDEX(A2:E2,MATCH(J1,A1:E1,0))))) |
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| el_oso |
This post is not being displayed .
|
 el_oso World Chat Champion

Joined: 17 May 2008 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
Old Thread Alert!
The last post was made 10 years, 307 days ago. Instead of replying here, would creating a new thread be more useful? |
 |
|
|