Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default CountIF() & SumIF() with multiple criteria

G'day everyone

Need a little help with the following please.

Using 97-2003 format

=COUNTIF(AND('2008'!$B5:$B2004,"Eastern Creek",'2008'!$E5:$E2004,"VIC"))

Essential what I am need is to count only the records that match column B &
D.

=SUMIF(AND('2008'!$B5:$B2004,"Eastern
Creek",'2008'!$E5:$E2004,"VIC"),'2008'!$I5:$I2004) )

Again match the 2 criteria, sum only that which matches in Column (i).

TIA
Mark.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default CountIF() & SumIF() with multiple criteria

Try these:

=SUMPRODUCT(--('2008'!$B5:$B2004="Eastern
Creek").--('2008'!$E5:$E2004="VIC"))

=SUMPRODUCT(--('2008'!$B5:$B2004="Eastern
Creek"),--('2008'!$E5:$E2004="VIC"),'2008'!$I5:$I2004)

--
Biff
Microsoft Excel MVP


"NoodNutt" wrote in message
...
G'day everyone

Need a little help with the following please.

Using 97-2003 format

=COUNTIF(AND('2008'!$B5:$B2004,"Eastern Creek",'2008'!$E5:$E2004,"VIC"))

Essential what I am need is to count only the records that match column B
& D.

=SUMIF(AND('2008'!$B5:$B2004,"Eastern
Creek",'2008'!$E5:$E2004,"VIC"),'2008'!$I5:$I2004) )

Again match the 2 criteria, sum only that which matches in Column (i).

TIA
Mark.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default CountIF() & SumIF() with multiple criteria

G'day Biff

Thx you so much, you've saved me again

Regards
Mark.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default CountIF() & SumIF() with multiple criteria

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"NoodNutt" wrote in message
...
G'day Biff

Thx you so much, you've saved me again

Regards
Mark.





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default CountIF() & SumIF() with multiple criteria

Thank you, Thank you, Thank you!!!!
--
Sharyn


"T. Valko" wrote:

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"NoodNutt" wrote in message
...
G'day Biff

Thx you so much, you've saved me again

Regards
Mark.








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default CountIF() & SumIF() with multiple criteria

You're quite welcome!

--
Biff
Microsoft Excel MVP


"Sharyn" wrote in message
...
Thank you, Thank you, Thank you!!!!
--
Sharyn


"T. Valko" wrote:

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"NoodNutt" wrote in message
...
G'day Biff

Thx you so much, you've saved me again

Regards
Mark.








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
Countif or sumif with 2 criteria chrisk Excel Discussion (Misc queries) 10 July 11th 07 02:10 PM
Countif & Sumif with Multiple criteria Kim Shelton at PDC Excel Worksheet Functions 6 September 25th 06 03:36 PM
multiple criteria with countif or sumif Renee Excel Worksheet Functions 2 July 28th 06 02:01 PM
Multiple Criteria for COUNTIF and SUMIF nils_odendaal Excel Worksheet Functions 1 November 16th 05 08:38 AM
SUMIF/COUNTIF with an additional criteria || cypher || Excel Worksheet Functions 1 November 15th 04 06:42 AM


All times are GMT +1. The time now is 02:44 PM.

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"