COOUNT IF statement with AND?

gg

Well-known Member
Joined
Nov 18, 2003
Messages
560
Can I have a Count if "AND" statement? Together?

Countif(AND(.......?

Two criteria must be met before the count?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
Given the paucity of information, a general formula:

=SUMPRODUCT(--(Range1=Cond1),--(Range2=Cond2))
 

gg

Well-known Member
Joined
Nov 18, 2003
Messages
560

ADVERTISEMENT

Ok I may need to go into some detail.

I have table that has 4 columns
A = Dates
B = Names
C = Names2
D = Scores

I want to be able to identify when
Name X had a score for today and yesterday ( Today-1)

also 3 scores in 4 days
and 4 scores in 5 days.

I am trying to determine the effect of being over worked if you will.

In summary I want to know effects of
back to back days.
3 scores in 4 days
4 scores in 5 days

So I am trying to come up with a moving array that I can drag down and it automatically compute.

Make sense?
 

gg

Well-known Member
Joined
Nov 18, 2003
Messages
560
I need these to be in different columns
BTB,3N4,4N5
 

gg

Well-known Member
Joined
Nov 18, 2003
Messages
560
Currently the formula that Aladin above gave me working good for the
back to Back.

I am just trying to understand how I can apply it to the others.

3 in 4 days
4 in 5 days

???Any ideas?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,102
Messages
5,768,102
Members
425,454
Latest member
khoro

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
Top