Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 15
Default Sumif? Or what to use

Hi,

I've been playing around with this for a while but just can't make it work.

Table
2007 16
2006 14
2006 14
2007 10
2006 12
2007 12


I want a function that will give the following output
2006 (manually input) <40 (sum of all in 2006)
2007 (manually input) <38 (sum of all in 2007)

The bit in the < is the only thing I need the formula for.

Obviously I could just manually sum them all together, but this is just an example table, the real one has many years and thousands of cells.

Hope somebody is both kind and smart enough to point me in the right direction.


Cheers,
Teddy
  #2   Report Post  
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by TeddyTash View Post
Hi,

I've been playing around with this for a while but just can't make it work.

Table
2007 16
2006 14
2006 14
2007 10
2006 12
2007 12


I want a function that will give the following output
2006 (manually input) <40 (sum of all in 2006)
2007 (manually input) <38 (sum of all in 2007)

The bit in the < is the only thing I need the formula for.

Obviously I could just manually sum them all together, but this is just an example table, the real one has many years and thousands of cells.

Hope somebody is both kind and smart enough to point me in the right direction.


Cheers,
Teddy
=SUMIF(A1:A7,2006,B1:B7) for 2006 given that years are in column A and the numbers are in column B
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
sumif excelFan Excel Discussion (Misc queries) 8 July 15th 09 06:49 PM
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 04:09 AM.

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

About Us

"It's about Microsoft Excel"