CountIfs how to

FanofExcel18

Board Regular
Joined
Jun 7, 2018
Messages
65
My Data

1ABCD
2SequenceDate/TimeWhoWhat
31 10/1/18 2:41 PMJohn SmithOpen*
41 10/1/18 2:41 PMJohn SmithEdited
52 10/4/18 2:15 PMJohn SmithOpen*
62 10/4/18 2:15 PMJohn SmithEdited
73 10/5/18 2:16 PMJohn SmithOpen*
83 10/5/18 4:16 PMJohn SmithEdited*
94 10/6/18 2:16 PMJohn SmithOpen*
104 10/6/18 2:16 PMJohn SmithMoved

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>

What I'm trying to do:
I want to count the amount of touches. Touches = Edited and Open
However, I do not want to capture Edited and Open together if they happen within a span of 20 minutes of each other.

Example of Results Looking for:
Number of Touches: 5 (2 hour time difference counted on Seq 3)

Anyone have any ideas?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
How do you get 5 ?

Sequence 1 Opened 10/1/18 2:41 Edited 10/1/18 2:41,
2:41 is within 20 mins of 2:41 so netither of them get counted.
So I make it 2 (for Sequence 3 Opened (1) and Edited (2).

How do you get 5 ?
 
Last edited:
Upvote 0
How do you get 5 ?

Sequence 1 Opened 10/1/18 2:41 Edited 10/1/18 2:41,
2:41 is within 20 mins of 2:41 so netither of them get counted.
So I make it 2 (for Sequence 3 Opened (1) and Edited (2).

How do you get 5 ?

I meant to write in the original post anything with a * was counted( the 5).
So for sequence 1, I would only count that as 1 hit vs 2. For Sequence 3, its a 2 since they are 2 hours apart. Make Sense?
 
Upvote 0
Your data suggests the following.

There are only ever TWO records for a sequence, one labelled OPENED the other labelled EDITED or MOVED.

Is that so?
 
Upvote 0
Your data suggests the following.

There are only ever TWO records for a sequence, one labelled OPENED the other labelled EDITED or MOVED.

Is that so?

There could be more than one edited for sequence but during different date/times. Example would be Sequence 1 has 6 entries, each with an edited but each with a different date/timestamp.
 
Upvote 0

Forum statistics

Threads
1,215,450
Messages
6,124,912
Members
449,195
Latest member
Stevenciu

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