Nick van Staden
New Member
- Joined
- Dec 6, 2017
- Messages
- 18
- Office Version
- 365
- Platform
- Windows
Need Help on the countifs formula based on a running count if action date is grater than start date.
I am using formula: =COUNTIF($A$1:A2,A2) to show a running count of unique values in column A however need this formula to only start calculation if
[TABLE="width: 604"]
<tbody>[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][TABLE="width: 112"]
<tbody>[TR]
[TD]USER_REF[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 110"]
<tbody>[TR]
[TD]ACTION_DATE[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD]STARTDATE[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 140"]
<tbody>[TR]
[TD]USER_REF _COUNT[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 148"]
<tbody>[TR]
[TD]COUNTIF_ACTION DATE > START_DATE[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2019/01/25[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]1[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/02/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2019/01/25[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/03/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2019/01/25[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2014/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/02/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2014/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2014/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
<strike>
</strike><strike></strike>
I am using formula: =COUNTIF($A$1:A2,A2) to show a running count of unique values in column A however need this formula to only start calculation if
action date is grater than start date.
Example: User ref 2 first action date if prior to start date so must not count this record.
Example: User ref 2 first action date if prior to start date so must not count this record.
[TABLE="width: 604"]
<tbody>[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][TABLE="width: 112"]
<tbody>[TR]
[TD]USER_REF[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 110"]
<tbody>[TR]
[TD]ACTION_DATE[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD]STARTDATE[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 140"]
<tbody>[TR]
[TD]USER_REF _COUNT[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 148"]
<tbody>[TR]
[TD]COUNTIF_ACTION DATE > START_DATE[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2019/01/25[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]1[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/02/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2019/01/25[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/03/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2019/01/25[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2014/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/02/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2014/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="align: right"]2019/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]<strike></strike>[TABLE="width: 94"]
<tbody>[TR]
[TD="align: right"]2014/01/01[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
<strike>
</strike>
Last edited: