countif comparing other cells

sweetlb

New Member
Joined
Oct 9, 2006
Messages
12
I am keeping track of high school football stats and trying to come up with a way to calculate 3rd conversion rate.
I have 3 columns: “Down”, “to go”, and “Gain”.
I want to read the “Down” column and if = 3, then I want to see if “gain” is greater than or equal to the “to go” column.
Example:
A B C
Down To Go Gain
1 10 4
2 6 1
3 5 12
1 10 7
2 3 1
3 2 1
4 1 9
1 10 2
2 8 -2
3 10 4

This is what I was thinking, but can’t seem to get it to work.
=COUNTIF((A1:A10=3)*(C1:C10,">=" B1:B10))

Expecting my output to be 1 in this example.
Any help would be appreciated.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
I am keeping track of high school football stats and trying to come up with a way to calculate 3rd conversion rate.
I have 3 columns: “Down”, “to go”, and “Gain”.
I want to read the “Down” column and if = 3, then I want to see if “gain” is greater than or equal to the “to go” column.
Example:
A B C
Down To Go Gain
1 10 4
2 6 1
3 5 12
1 10 7
2 3 1
3 2 1
4 1 9
1 10 2
2 8 -2
3 10 4

This is what I was thinking, but can’t seem to get it to work.
=COUNTIF((A1:A10=3)*(C1:C10,">=" B1:B10))

Expecting my output to be 1 in this example.
Any help would be appreciated.

Try,

=SUMPRODUCT((A1:A10=3)*(C1:C10>B1:B10))
 
Upvote 0

Forum statistics

Threads
1,213,528
Messages
6,114,154
Members
448,553
Latest member
slaytonpa

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