Counting Cells meeting two criteria

Crdtk8

New Member
Joined
Feb 12, 2015
Messages
5
I have a raw data sheet containg cells similiar to below
[TABLE="width: 895"]
<colgroup><col span="5"><col><col><col span="5"></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]CAPT[/TD]
[TD]Tail[/TD]
[TD]CBAC[/TD]
[TD]ATA[/TD]
[TD]Discrepancy[/TD]
[TD]Corrective Act[/TD]
[TD]Sta[/TD]
[TD]Flt[/TD]
[TD]MinDLY[/TD]
[TD]>30 Min[/TD]
[TD]<= 30 Mins[/TD]
[/TR]
[TR]
[TD]1/1/15[/TD]
[TD][/TD]
[TD]163[/TD]
[TD] [/TD]
[TD]3810[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]16[/TD]
[TD] [/TD]
[TD]16[/TD]
[/TR]
[TR]
[TD]1/1/15[/TD]
[TD][/TD]
[TD]171[/TD]
[TD] [/TD]
[TD]3010[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]11[/TD]
[TD] [/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]1/1/15[/TD]
[TD][/TD]
[TD]158[/TD]
[TD] [/TD]
[TD]2910[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]114[/TD]
[TD]114[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1/1/15[/TD]
[TD][/TD]
[TD]155[/TD]
[TD] [/TD]
[TD]2910[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]38[/TD]
[TD]38[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]

What I'm trying to count is the amoount of time tail # 163 was delayed, and that delay was <= 30 Mins. I've played around with a countifs statement but can't seem to get it to work. Thank you in advanced for your help.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Welcome to the board.

Assuming your table starts in A1, try:

=COUNTIFS(C2:C5,163,L2:L5,">0")
 
Upvote 0
Welcome to the board.

Assuming your table starts in A1, try:

=COUNTIFS(C2:C5,163,L2:L5,">0")

Thank you so much, I feel silly that I didnt think to try it that way, but it worked perfectly! I apperciate your help and speedy response.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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