Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Specifing Cells to Sum on Condition

I have a spreasheet that contains data for 3 years

Jan 2006 Jan 2007 Jan 2008
50 50 0

Etc. Etc

All the months are populated for 2006 & 2007

But 2008 only has cells populate to June

I would like to sum only the rows for 2006 & 2007 up to the same YTD as 2008

The columns are there for 2008 there are just no numbers populated.

Is this possible?



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Specifing Cells to Sum on Condition

=SUM(A1:INDEX(A1:A12,MONTH(TODAY())))

and so on

--
__________________________________
HTH

Bob

"phuser" wrote in message
el...
I have a spreasheet that contains data for 3 years

Jan 2006 Jan 2007 Jan 2008
50 50 0

Etc. Etc

All the months are populated for 2006 & 2007

But 2008 only has cells populate to June

I would like to sum only the rows for 2006 & 2007 up to the same YTD as
2008

The columns are there for 2008 there are just no numbers populated.

Is this possible?





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Specifing Cells to Sum on Condition

I'm not really sure what you want. Do you want a sum at the bottom of
each column which will only show up to the same month as the latest in
the current year? Or do you want a single sum for 2006 and another sum
for 2007 which will only take into account the months up to the
current? How many items do you have in each column? Where do you want
the sums to go (which cells)?

Please give further details.

Pete

On Jun 24, 11:15*pm, "phuser" wrote:
I have a spreasheet that contains data for 3 years

Jan 2006 * *Jan 2007 Jan 2008
50 * * * * * * * *50 * * * * * *0

Etc. Etc

All the months are populated for 2006 & 2007

But 2008 only has cells populate to June

I would like to sum only the rows for 2006 & 2007 up to the same YTD as 2008

The columns are there for 2008 there are just no numbers populated.

Is this possible?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count cells with condition Amanda Excel Worksheet Functions 2 October 13th 07 06:59 PM
Sum of cells under a condition Colin Excel Worksheet Functions 4 August 24th 07 09:46 AM
specifing colors in an excel chart keith Charts and Charting in Excel 2 May 28th 06 05:02 AM
Hiding cells on condition Pennington Excel Worksheet Functions 19 April 21st 05 12:30 AM
sum of a cell if 2 cells meet a condition Markitos Excel Worksheet Functions 4 January 4th 05 05:27 PM


All times are GMT +1. The time now is 10:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"