COUNTIF Alternative for multiple criteria?

dan17602

New Member
Joined
Mar 20, 2011
Messages
9
Hi all,

I am currently in the process of creating a lateness report

Example of the data sheet.

Col B = Lateness code ie "Lunch"
Col F = Duration of the lateness ("HH:MM:SS")
Col H = Area where they work

Basically what im after is to work out if the occurance is over 3 minutes to calculate the time over (Collum B) but only if the code is "Lunch" & area "Retail".

From my understanding I can't work this out with a single countif because it has more than one criteria?

Thanks in advance for any help
 
Last edited:

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You can use Countifs for multiple criteria.
Assuming you have 1000 used rows with row 1 being column headers and row 2 onwards containing data, this may work:

=COUNTIFS(F2:F1000,">00:03:00",B2:B1000,"Lunch",H2:H1000,"Retail")
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

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