CountifS

kets23

New Member
Joined
Feb 29, 2016
Messages
13
Hi

Would be grateful for any help regarding my excel query. I have a spreadsheet with a number of columns relating to parcels delivered. One of the columns (column C) relates to parcels delivered before 09:00, before 10:00 and before 12:00. There is another column (column E) that shows when these parcels were delivered in the format HH:MM:SS.

I need to establish the number of parcels by type in column C i.e. before 09:00, before 10:00 etc that were delivered on time as stated in column E. this will then tell me the number of parcels with a before 09:00 delivery that were delivered before 09:00 and allows me to work out a % delivered before 09:00. I have tried using Countifs but keep getting an error, formula I am using is as below.

=COUNTIFS(C3:C600,"Before 09:00",E3:E603,"<=09:00:00")

Kind regards
 

Some videos you may like

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi

The 2 ranges must have the same dimension.

=COUNTIFS(C3:C600,"Before 09:00",E3:E600,"<=09:00:00")
 
Last edited:

kets23

New Member
Joined
Feb 29, 2016
Messages
13
Hi

Sorry, that was a typo, they do have the same dimensions. 3 to 600.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,281
Messages
5,600,720
Members
414,401
Latest member
grenona2020

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