Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMIF criteria in different column is met?

this is slowly driving me mad...

I'm looking to find the total number of sessions occuring in the age group
0-5 years. I tried to set age as a criteria and if the criteria was met to
sum the number of sessions in the column opposite it, but I keep getting an
error.

Age No of Sessions (Half Days)

0-5 Years 2
17-19 Years 3
5-16 Years 6
0-5 Years 1

Any help would be hugely appreciated (I'm ready to drown myself in the
fountain)





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default SUMIF criteria in different column is met?

=SUMIF(A:A,"0-5 Years",B:B)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"spandangled" wrote:

this is slowly driving me mad...

I'm looking to find the total number of sessions occuring in the age group
0-5 years. I tried to set age as a criteria and if the criteria was met to
sum the number of sessions in the column opposite it, but I keep getting an
error.

Age No of Sessions (Half Days)

0-5 Years 2
17-19 Years 3
5-16 Years 6
0-5 Years 1

Any help would be hugely appreciated (I'm ready to drown myself in the
fountain)





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default SUMIF criteria in different column is met?

Hi Spandangled,

Try this:

=SUMIF(A:A,"0-5 Years",B:B)

Judith

--
Hope this helps


"spandangled" wrote:

this is slowly driving me mad...

I'm looking to find the total number of sessions occuring in the age group
0-5 years. I tried to set age as a criteria and if the criteria was met to
sum the number of sessions in the column opposite it, but I keep getting an
error.

Age No of Sessions (Half Days)

0-5 Years 2
17-19 Years 3
5-16 Years 6
0-5 Years 1

Any help would be hugely appreciated (I'm ready to drown myself in the
fountain)





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default SUMIF criteria in different column is met?

Hi,
Let's say you have the information in column A and in B the number of sesions,
then starting in cell C1 you have again listed the group of ages you want to
summarize, in D1 enter

=sumproduct(--(C1=$A$1:$A$100),$B$1:$B$100)

copy the formula down

"spandangled" wrote:

this is slowly driving me mad...

I'm looking to find the total number of sessions occuring in the age group
0-5 years. I tried to set age as a criteria and if the criteria was met to
sum the number of sessions in the column opposite it, but I keep getting an
error.

Age No of Sessions (Half Days)

0-5 Years 2
17-19 Years 3
5-16 Years 6
0-5 Years 1

Any help would be hugely appreciated (I'm ready to drown myself in the
fountain)





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
Can I use sumif with OR to sum based on two column criteria? DLB Excel Worksheet Functions 2 November 10th 08 09:12 PM
SumIf formula from one column based on criteria from two other col stanasia Excel Discussion (Misc queries) 13 May 30th 08 08:43 PM
Sumif 2 criteria - 1 in a Row and 1 in a Column Qicea Excel Worksheet Functions 2 May 1st 08 11:26 PM
Sumif from two criteria in one column Terri Excel Discussion (Misc queries) 4 August 29th 07 04:58 PM
sumif with multiple criteria in one column my Excel Discussion (Misc queries) 4 July 5th 07 06:56 PM


All times are GMT +1. The time now is 12:47 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"