Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 128
Default countif with multiple criteria

I'd like to be able to count the number of "Y" in column H where the values
in column D are equal to 12, 21, 60 or 23.

Any ideas would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default countif with multiple criteria

Try :
=SUMPRODUCT(((D1:D7=12)+(D1:D7=21)+(D1:D7=23)+(D1: D7=60))*(F1:F7="y"))
HTH
Daniel

I'd like to be able to count the number of "Y" in column H where the values
in column D are equal to 12, 21, 60 or 23.

Any ideas would be appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default countif with multiple criteria

=SUMPRODUCT((H2:H20="Y")*(D2:D20={10,21,23,60}))

--
__________________________________
HTH

Bob

"Sarah (OGI)" wrote in message
...
I'd like to be able to count the number of "Y" in column H where the
values
in column D are equal to 12, 21, 60 or 23.

Any ideas would be appreciated.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default countif with multiple criteria

oops. I meant

=SUMPRODUCT((H2:H20="Y")*(D2:D20={12,21,23,60}))

--
__________________________________
HTH

Bob

"Sarah (OGI)" wrote in message
...
I'd like to be able to count the number of "Y" in column H where the
values
in column D are equal to 12, 21, 60 or 23.

Any ideas would be appreciated.



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
Multiple criteria for Countif gramps Excel Discussion (Misc queries) 1 October 14th 08 06:40 PM
Nesting COUNTIF for multiple criteria in multiple columns NeedExcelHelp07 Excel Worksheet Functions 1 December 12th 07 05:47 PM
COUNTIF MULTIPLE CRITERIA will A Excel Discussion (Misc queries) 18 March 8th 06 06:58 PM
COUNTIF with multiple criteria? cyberindio Excel Worksheet Functions 6 April 26th 05 10:13 AM
Countif with multiple criteria and multiple worksheets JJ Excel Worksheet Functions 1 December 28th 04 06:37 PM


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