I am trying to simplify a horrible and old spreadsheet for attendance tracking (there is a worksheet for every employee, SMH). I am moving everything to a new spreadsheet to just be on one sheet with all of the data, and a pivot table to display the count of types of occurrences, and another pivot table to display the amount of points an employee has. On the data worksheet, the points are calculated as such: =IFERROR(IFS(C1696="ta","1",C1696="ab","2",C1696="eo","1",C1696="nc","3",C1696="fmla","0",C1696="br","0",C1696="jd","0",C1696="eo2","2"),"0")
The result of the pivot tables is:
THIS ONE IS CORRECT
[TABLE="width: 360"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Count of Occurrence Type[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Associate[/TD]
[TD]AB[/TD]
[TD]EO[/TD]
[TD]FMLA[/TD]
[TD]TA[/TD]
[TD]Grand Total[/TD]
[/TR]
[TR]
[TD]Adams, Carol[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]11[/TD]
[/TR]
[TR]
[TD]Betton, Kellye[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]54[/TD]
[/TR]
[TR]
[TD]Birch, Pamela[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]73[/TD]
[/TR]
</tbody>[/TABLE]
THIS ONE IS WRONG
[TABLE="width: 181"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Row Labels[/TD]
[TD]Sum of Points[/TD]
[/TR]
[TR]
[TD]Adams, Carol[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Berry, Linda[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Betton, Kellye[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Birch, Pamela[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
The field for Sum of Points contains the formula. I have changed the result from the iferror from a blank to a zero, formatted the column to numbers, tried changing the display to Classic layout. I have been searching the web but nothing is helping . I have the formula plugged in due of the users that will hopefully change ways and convert to this and maintain it. Help would be greatly appreciated!
The result of the pivot tables is:
THIS ONE IS CORRECT
[TABLE="width: 360"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Count of Occurrence Type[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Associate[/TD]
[TD]AB[/TD]
[TD]EO[/TD]
[TD]FMLA[/TD]
[TD]TA[/TD]
[TD]Grand Total[/TD]
[/TR]
[TR]
[TD]Adams, Carol[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]11[/TD]
[/TR]
[TR]
[TD]Betton, Kellye[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]54[/TD]
[/TR]
[TR]
[TD]Birch, Pamela[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]73[/TD]
[/TR]
</tbody>[/TABLE]
THIS ONE IS WRONG
[TABLE="width: 181"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Row Labels[/TD]
[TD]Sum of Points[/TD]
[/TR]
[TR]
[TD]Adams, Carol[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Berry, Linda[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Betton, Kellye[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Birch, Pamela[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
The field for Sum of Points contains the formula. I have changed the result from the iferror from a blank to a zero, formatted the column to numbers, tried changing the display to Classic layout. I have been searching the web but nothing is helping . I have the formula plugged in due of the users that will hopefully change ways and convert to this and maintain it. Help would be greatly appreciated!