Greater than / less than when in a table.

the_darkness

New Member
Joined
Oct 31, 2019
Messages
6
So, I'm pretty much a noob at Excel and this will probably be one of those kinds of questions, but here goes.

I have a table with the first two columns being 1 hour increment markers (staggered +1hr), labeled T1 and T2. the next column will be a set of COUNTIFS functions asking if a set of conditions occurred during that hour.

In other tables up to now, I've mostly needed only one value, and a simple 'Table1[Start Time], [@T1]' would complete the column. However, now I have 2 values and I'll need to include both :00 and :59. Using the [@__] method with >= operators either returns a 0 or errors regardless of how I configure the syntax.

So, am I typing something wrong in my COUNTIFS statment? Or should I be using another function entirely to accomplish this?

Many thanks in advance.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
if you're counting "events" between 2 times in a table with Countifs maybe try,

=countifs(table1[Start Time],">="&[@T1],table1[Start Time],"<="&[@T2],table1[event],[@event])
 
Upvote 0

Forum statistics

Threads
1,223,702
Messages
6,173,957
Members
452,539
Latest member
delvey

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