Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Count all but a specific reference cell (countif ?) +

I'm using count if for the master counts of a fantasy football team:
QBs 2 <- =countif($a$3:$a$20,"QB") etc
RBs 5
WR/Tes 6
K 1
Def 2
Total 16

Below shows the columns indicating the bye weeks for that particular player.
Cat Bye

Def 4
QB 5
RB 6
WR 6
QB 6
K 6
WR 6
RB 7
RB 7
RB 8
WR 8
TE 8
WR 8
Def 9
WR 10
RB 10

How can I get the week counts e.g. in week 6 that would show the following
(indicating that in week 6, I'll only have these players available):
e.g. If 6 was entered in a specific cell(F1), then
QBs 1
RBs 4
WR/Tes 4
K 0
Def 2
Total 11
or if 8 was entered in that specific cell(F1), then
QBs 2
RBs 4
WR/Tes 3
K 1
Def 2
Total 12

etc

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Count all but a specific reference cell (countif ?) +

One way for multi-criteria counting is to use sumproduct ..

Assume source data for Cat, Bye is within A3:B20

In F1 will be the week# (Bye col):
In E2 down will be listed the cats eg; QB, RB, WR, TE, etc

Then in F2: =SUMPRODUCT((B$3:B$20=F$1)*(A$3:A$20=E2))
with F2 copied down, will return the required "week counts" for each cat

For combined cats, eg: WR/TEs, you could easily do the additional roll-ups
(sums) in another range, either below/adjacent to col F
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Steve" wrote:
I'm using count if for the master counts of a fantasy football team:
QBs 2 <- =countif($a$3:$a$20,"QB") etc
RBs 5
WR/Tes 6
K 1
Def 2
Total 16

Below shows the columns indicating the bye weeks for that particular player.
Cat Bye

Def 4
QB 5
RB 6
WR 6
QB 6
K 6
WR 6
RB 7
RB 7
RB 8
WR 8
TE 8
WR 8
Def 9
WR 10
RB 10

How can I get the week counts e.g. in week 6 that would show the following
(indicating that in week 6, I'll only have these players available):
e.g. If 6 was entered in a specific cell(F1), then
QBs 1
RBs 4
WR/Tes 4
K 0
Def 2
Total 11
or if 8 was entered in that specific cell(F1), then
QBs 2
RBs 4
WR/Tes 3
K 1
Def 2
Total 12

etc

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Count all but a specific reference cell (countif ?) +

Thanks,

Worked great.

"Max" wrote:

One way for multi-criteria counting is to use sumproduct ..

Assume source data for Cat, Bye is within A3:B20

In F1 will be the week# (Bye col):
In E2 down will be listed the cats eg; QB, RB, WR, TE, etc

Then in F2: =SUMPRODUCT((B$3:B$20=F$1)*(A$3:A$20=E2))
with F2 copied down, will return the required "week counts" for each cat

For combined cats, eg: WR/TEs, you could easily do the additional roll-ups
(sums) in another range, either below/adjacent to col F
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Steve" wrote:
I'm using count if for the master counts of a fantasy football team:
QBs 2 <- =countif($a$3:$a$20,"QB") etc
RBs 5
WR/Tes 6
K 1
Def 2
Total 16

Below shows the columns indicating the bye weeks for that particular player.
Cat Bye

Def 4
QB 5
RB 6
WR 6
QB 6
K 6
WR 6
RB 7
RB 7
RB 8
WR 8
TE 8
WR 8
Def 9
WR 10
RB 10

How can I get the week counts e.g. in week 6 that would show the following
(indicating that in week 6, I'll only have these players available):
e.g. If 6 was entered in a specific cell(F1), then
QBs 1
RBs 4
WR/Tes 4
K 0
Def 2
Total 11
or if 8 was entered in that specific cell(F1), then
QBs 2
RBs 4
WR/Tes 3
K 1
Def 2
Total 12

etc

Thanks,

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Count all but a specific reference cell (countif ?) +

welcome, Steve.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Steve" wrote in message
...
Thanks,

Worked great.



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 cell reference won't work Kenny Newbry Excel Worksheet Functions 4 June 26th 07 07:59 PM
Can you force a spreadsheet to open to a specific cell reference? KatJ Setting up and Configuration of Excel 3 November 8th 06 11:32 PM
Countif for the number of a specific count? [email protected] Excel Worksheet Functions 2 June 27th 06 06:51 PM
COUNTIF less than cell reference stevepain Excel Discussion (Misc queries) 3 July 12th 05 04:17 PM
Countif with cell reference Nick Excel Worksheet Functions 2 May 6th 05 04:48 PM


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