Hi there, first time poster here.
I'm sure there is a simple solution here but I hope someone in the group can help me.
I built an application that tracks requests made by clients. When we receive a request, a due date is generated. When our agents submit their work, the date of completion is pasted in an adjacent column next to the due date corresponding with the client request.
I need to count how many times the work is submitted late.
I'm sure I can do it in VBA, but I'd rather it was a native excel equation that refreshed each time the data updates.
How would you create an equation that counts how many times work was completed on time and how many times it was late? Using the following sample should return 3 on time and 3 late:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD]Due Dates[/TD]
[TD]Work Complete[/TD]
[/TR]
[TR]
[TD]1/10/2018[/TD]
[TD]1/9/2018[/TD]
[/TR]
[TR]
[TD]1/10/2018[/TD]
[TD]1/9/2018[/TD]
[/TR]
[TR]
[TD]1/13/2018[/TD]
[TD]1/9/2018[/TD]
[/TR]
[TR]
[TD]1/13/2018[/TD]
[TD]1/16/2018[/TD]
[/TR]
[TR]
[TD]1/14/2018[/TD]
[TD]1/16/2018[/TD]
[/TR]
[TR]
[TD]1/14/2018[/TD]
[TD]1/16/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm sure there is a simple solution here but I hope someone in the group can help me.
I built an application that tracks requests made by clients. When we receive a request, a due date is generated. When our agents submit their work, the date of completion is pasted in an adjacent column next to the due date corresponding with the client request.
I need to count how many times the work is submitted late.
I'm sure I can do it in VBA, but I'd rather it was a native excel equation that refreshed each time the data updates.
How would you create an equation that counts how many times work was completed on time and how many times it was late? Using the following sample should return 3 on time and 3 late:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD]Due Dates[/TD]
[TD]Work Complete[/TD]
[/TR]
[TR]
[TD]1/10/2018[/TD]
[TD]1/9/2018[/TD]
[/TR]
[TR]
[TD]1/10/2018[/TD]
[TD]1/9/2018[/TD]
[/TR]
[TR]
[TD]1/13/2018[/TD]
[TD]1/9/2018[/TD]
[/TR]
[TR]
[TD]1/13/2018[/TD]
[TD]1/16/2018[/TD]
[/TR]
[TR]
[TD]1/14/2018[/TD]
[TD]1/16/2018[/TD]
[/TR]
[TR]
[TD]1/14/2018[/TD]
[TD]1/16/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]