ERROR IN FORMULA - COUNTIF/SUMPRODUCT, etc...???

OLineCoach

Board Regular
Joined
Feb 27, 2005
Messages
126
Hopefully we can solve this issue. On my worksheet to track football player's stats I am in a pickle. I have two separate sheets - one for OFFENSE, and one for STATS. The STATS sheet generates output using data from the OFFENSE data.

I am tracking each play of a football game. The player who touches the ball (either as a runner or receiver) has his number entered in Col. E

If the play is a run, the number of yards (pos or neg) go in Col. F

If the play is a completed pass, the number of yards go in Col. H

Example below of OFFENSE:
STATJACK_SOUTH FLORENCE_TooFixErrors.xls
ABCDEFGHIJKLMN
31=Keep1 = YES1=YES
4Ball2=Lose1=YesPenRUNPASS
5QDOWNDISTOnPLAYERRUNFUM?PASSQBINT?Yds1st D?TDTD
611103428
7122422111
8111047246
91244122101
1011103122
111282971
121372812841
OFFENSE


PROBLEM:
On the STATS sheet, the number of player rushing attempts (col. C) is generating a count of RUNS and RECEPTIONS combined. Am currently using a COUNTIF formula, which is wrong.

I want to be able to separate the number of rush attempts from the number of plays the player had a reception. Sample of STATS sheet is below as well.
STATJACK_SOUTH FLORENCE_TooFixErrors.xls
ABCDE
4RUSHING
5Player NameNumberATTYARDSTD
6OFF BY 11 ATT210410
7Too Many413120
8Counting Pass plays51681
9too75120
10224320
11248220
INDIVID STATS


THANKS FOR ANY AND ALL HELP!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi,

Try:

=SUMPRODUCT(--(OFFENSE!$E$6:$E$168=B6),--(OFFENSE!$F$6:$F$168<>""))

and

=SUMPRODUCT(--(OFFENSE!$E$6:$E$168=B6),--(OFFENSE!$H$6:$H$168<>""))
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top