Hi all,
I am trying to have column H total the points to date only if the name in Column A matches the row above it. I had created a macro to automatically sort Column A. But currently Column H is adding the row above even though the names do not match. Column H currently has this formula: =IF(G2<=$M$1,"0",SUM(E2,H1)) but I only want that to happen if the names match in A. I hope that makes sense. It's currently showing 2.5 points to date but it should only show 1 for Employee 1. I have over 200 names so writing each individual name would be tedious and time consuming as each formula. Any suggestions are appreciated!
[TABLE="width: 1000"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD]Column G[/TD]
[TD]Column H[/TD]
[TD]Column M[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Mins[/TD]
[TD]Type[/TD]
[TD]Points[/TD]
[TD]email[/TD]
[TD]reset date[/TD]
[TD]Points to Date[/TD]
[TD]=Now()[/TD]
[/TR]
[TR]
[TD]Employee 1[/TD]
[TD]5/20/19[/TD]
[TD]6[/TD]
[TD]Late 2[/TD]
[TD].5[/TD]
[TD]y[/TD]
[TD]11/20/19[/TD]
[TD].5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Employee 2[/TD]
[TD]4/15/19[/TD]
[TD]20[/TD]
[TD]Late 3[/TD]
[TD]1.5[/TD]
[TD]y[/TD]
[TD]10/15/19[/TD]
[TD]1.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Employee 1[/TD]
[TD]5/21/19[/TD]
[TD]10[/TD]
[TD]Late 2[/TD]
[TD].5[/TD]
[TD]y[/TD]
[TD]11/21/19[/TD]
[TD]2.5[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am trying to have column H total the points to date only if the name in Column A matches the row above it. I had created a macro to automatically sort Column A. But currently Column H is adding the row above even though the names do not match. Column H currently has this formula: =IF(G2<=$M$1,"0",SUM(E2,H1)) but I only want that to happen if the names match in A. I hope that makes sense. It's currently showing 2.5 points to date but it should only show 1 for Employee 1. I have over 200 names so writing each individual name would be tedious and time consuming as each formula. Any suggestions are appreciated!
[TABLE="width: 1000"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD]Column G[/TD]
[TD]Column H[/TD]
[TD]Column M[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Mins[/TD]
[TD]Type[/TD]
[TD]Points[/TD]
[TD]email[/TD]
[TD]reset date[/TD]
[TD]Points to Date[/TD]
[TD]=Now()[/TD]
[/TR]
[TR]
[TD]Employee 1[/TD]
[TD]5/20/19[/TD]
[TD]6[/TD]
[TD]Late 2[/TD]
[TD].5[/TD]
[TD]y[/TD]
[TD]11/20/19[/TD]
[TD].5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Employee 2[/TD]
[TD]4/15/19[/TD]
[TD]20[/TD]
[TD]Late 3[/TD]
[TD]1.5[/TD]
[TD]y[/TD]
[TD]10/15/19[/TD]
[TD]1.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Employee 1[/TD]
[TD]5/21/19[/TD]
[TD]10[/TD]
[TD]Late 2[/TD]
[TD].5[/TD]
[TD]y[/TD]
[TD]11/21/19[/TD]
[TD]2.5[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]