#1   Report Post  
Posted to microsoft.public.excel.misc
rivers
 
Posts: n/a
Default Easy one for CountIF

Hi peeps require help but cant get my head around it.
i require a count if formula to count the amount of times a team number
reaccures but then i want it to then count the amount of times the column
next to the team name says "yes" if there is no yes then i dont want it to
count. heres what i have so far but it keeps returning "0"

=COUNTIF(Summary!L:L,(Summary!L:L="Yes"*AND Summary!D:D=C2))

Column L being Yes No values and D being "Team 101" and higher
and C2 being the team inwhich i want it to find in column D hope theres
enough info

thanks before hand


  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Easy one for CountIF

=Sumproduct(--(Summary!L1:L200="Yes"),--(Summary!D1:D200=C2))

Note SUMPRODUCT must be a range and cannot be a colummn i.e D:D is invalid

HTH

"rivers" wrote:

Hi peeps require help but cant get my head around it.
i require a count if formula to count the amount of times a team number
reaccures but then i want it to then count the amount of times the column
next to the team name says "yes" if there is no yes then i dont want it to
count. heres what i have so far but it keeps returning "0"

=COUNTIF(Summary!L:L,(Summary!L:L="Yes"*AND Summary!D:D=C2))

Column L being Yes No values and D being "Team 101" and higher
and C2 being the team inwhich i want it to find in column D hope theres
enough info

thanks before hand


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
Easy question? Page numbers ATC Excel Discussion (Misc queries) 1 February 1st 06 04:27 AM
Easy VB code question Anthony Excel Discussion (Misc queries) 2 July 8th 05 08:45 PM
OsCommerce - Easy Populate Script - CSV/TXT Conversion Problem. PriceTrim Excel Discussion (Misc queries) 3 July 5th 05 05:27 PM
new user with easy question? not easy for me speakeztruth New Users to Excel 5 June 3rd 05 09:40 PM
is there an easy way to move parts of cells around jvoortman Excel Discussion (Misc queries) 0 January 21st 05 11:08 PM


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