Countifs formula

nods80

New Member
Joined
Mar 21, 2018
Messages
1
hi I was hoping that someone could help with a countifs formula I am having problem with. I need to count how many times a bus takes more than 17 minutes to complete a circuit of a specific route on a specific day.

My data is organised like this.
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD]Date[/TD]
[TD]Length of time[/TD]
[/TR]
[TR]
[TD]12.03.2018AreaentryCar Park[/TD]
[TD][TABLE="width: 65"]
<tbody>[TR]
[TD="class: xl63, width: 65"]00:38:28[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

the current formula i have that works fine but doesn't take into account the date in column A is:
Code:
=(COUNTIF(Monday!J:J,">=00:17"))
using this i need to separate my data on to tabs for each day of the week. I would like to save time by only using one tab.

I am trying something like this but can't get it to work
HTML:
=countifs(A1,Monday!J:J,">=00:17")

Can anyone help?

Thanks

Nods
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
The actual difficulty here is dealing with items in Column A that aren't actually dates (e.g. the header). You can use an array formula but it's going to run slow:

Rich (BB code):
{=SUM(IF(IFERROR(WEEKDAY($A:$A,3),7)=0,IF($J:$J>=TIME(0,17,0),1,0)))}

Enter with Ctrl+Shift+Enter; don't try and put the {} in there yourself.

Change the highlighted 0 to 1 (Tuesday), 2 (Wednesday) etc.

If you could restrict the range to the actual values (rather than the whole column), there's a SUMPRODUCT that would work better.

WBD
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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