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 sumif with more than 1 criteria

i have a table with months in column B and names in column a and % scores in
column c. i want to create a formula that states if column B="nov" and column
A = "Bill" then total column c for those rows. actuly i want an average score
for bill for the month but i think i need to do that as a sepearate formula
once i have the total.
name date score
bill nov 98%
tony nov 95%
Bill Nov 85%
Bill dec 85%

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default sumif with more than 1 criteria

Try this to sum them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov")*(C1:C10 ))

and this to count them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov"))

so that you can get your average.

Hope this helps.

Pete

On Nov 29, 6:21 pm, Andrew@rushington
wrote:
i have a table with months in column B and names in column a and % scores in
column c. i want to create a formula that states if column B="nov" and column
A = "Bill" then total column c for those rows. actuly i want an average score
for bill for the month but i think i need to do that as a sepearate formula
once i have the total.
name date score
bill nov 98%
tony nov 95%
Bill Nov 85%
Bill dec 85%


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default sumif with more than 1 criteria

thanks i will give that a go

"Pete_UK" wrote:

Try this to sum them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov")*(C1:C10 ))

and this to count them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov"))

so that you can get your average.

Hope this helps.

Pete

On Nov 29, 6:21 pm, Andrew@rushington
wrote:
i have a table with months in column B and names in column a and % scores in
column c. i want to create a formula that states if column B="nov" and column
A = "Bill" then total column c for those rows. actuly i want an average score
for bill for the month but i think i need to do that as a sepearate formula
once i have the total.
name date score
bill nov 98%
tony nov 95%
Bill Nov 85%
Bill dec 85%



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default sumif with more than 1 criteria

You're welcome.

Pete

On Nov 30, 7:11 am, Andrew@rushington
wrote:
thanks i will give that a go



"Pete_UK" wrote:
Try this to sum them:


=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov")*(C1:C10 ))


and this to count them:


=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov"))


so that you can get your average.


Hope this helps.


Pete


On Nov 29, 6:21 pm, Andrew@rushington
wrote:
i have a table with months in column B and names in column a and % scores in
column c. i want to create a formula that states if column B="nov" and column
A = "Bill" then total column c for those rows. actuly i want an average score
for bill for the month but i think i need to do that as a sepearate formula
once i have the total.
name date score
bill nov 98%
tony nov 95%
Bill Nov 85%
Bill dec 85%- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default sumif with more than 1 criteria

i have tried that but returns a #Value, is this because some of the cells in
range are empty?

"Pete_UK" wrote:

You're welcome.

Pete

On Nov 30, 7:11 am, Andrew@rushington
wrote:
thanks i will give that a go



"Pete_UK" wrote:
Try this to sum them:


=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov")*(C1:C10 ))


and this to count them:


=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov"))


so that you can get your average.


Hope this helps.


Pete


On Nov 29, 6:21 pm, Andrew@rushington
wrote:
i have a table with months in column B and names in column a and % scores in
column c. i want to create a formula that states if column B="nov" and column
A = "Bill" then total column c for those rows. actuly i want an average score
for bill for the month but i think i need to do that as a sepearate formula
once i have the total.
name date score
bill nov 98%
tony nov 95%
Bill Nov 85%
Bill dec 85%- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default sumif with more than 1 criteria

No. It's probably because one or more of the cells in the last range
(C1:C10) contains text rather than a numerical percentage..

"Andrew@rushington" wrote in
message ...
i have tried that but returns a #Value, is this because some of the cells
in
range are empty?

"Pete_UK" wrote:

You're welcome.

Pete

On Nov 30, 7:11 am, Andrew@rushington
wrote:
thanks i will give that a go



"Pete_UK" wrote:
Try this to sum them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov")*(C1:C10 ))

and this to count them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov"))

so that you can get your average.

Hope this helps.

Pete

On Nov 29, 6:21 pm, Andrew@rushington
wrote:
i have a table with months in column B and names in column a and %
scores in
column c. i want to create a formula that states if column B="nov"
and column
A = "Bill" then total column c for those rows. actuly i want an
average score
for bill for the month but i think i need to do that as a sepearate
formula
once i have the total.
name date score
bill nov 98%
tony nov 95%
Bill Nov 85%
Bill dec 85%- Hide quoted text -

- Show quoted text -





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 with more than one criteria EJ Excel Discussion (Misc queries) 2 July 19th 06 02:19 PM
SUMIF with two criteria brodiemac Excel Discussion (Misc queries) 3 August 9th 05 05:04 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF with more than 1 criteria Mike@Q Excel Worksheet Functions 4 November 26th 04 12:17 AM
sumif 2 criteria Doug Excel Worksheet Functions 1 October 27th 04 05:06 PM


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