As you can see in the column sumif I have duplicate values for in row 2 and 3. What I am looking to do is remove that duplicate value so I can get an average of the Sum total for each document number. I need to leave all data intact for a pivot table. Running the pivot table in rows as Item/Document #/Work Center in Columns Type and in values work time, but using the average function averages each individual workcenter rather then the Document as a whole.
I am using the sumif based on =SUMIFS(E:E,B:B,B2,C:C,C2). PS how do you make your tables look pretty on this forum?
<tbody>
</tbody>
I am using the sumif based on =SUMIFS(E:E,B:B,B2,C:C,C2). PS how do you make your tables look pretty on this forum?
A | B | C | D | E | F |
Work Center | Type | Item | Document Number | Work Time (Hour) | sumif |
YL | Jewel | Forest | 1 | 4.12 | 4.12 |
CA | Pol | Forest | 1 | 1.25 | 1.97 |
CV | Pol | Forest | 1 | 0.72 | 1.97 |
KY | Set | Forest | 1 | 0.83 | 0.83 |
NA | Eng | Forest | 1 | 0.9 | 0.9 |
CR | Rep | Forest | 1 | 1.25 | 1.25 |
DL | Jewel | Sun | 2 | 3.3 | 17.07 |
JG | Pol | Sun | 2 | 2 | 8.43 |
AT | Set | Sun | 2 | 2.82 | 5.6 |
CZ | Jewel | Sun | 2 | 3.75 | 17.07 |
AD | Pol | Sun | 2 | 1.38 | 8.43 |
CR | Rep | Sun | 2 | 3.33 | 8.51 |
CZ | Jewel | Sun | 3 | 3.7 | 17.07 |
AD | Pol | Sun | 3 | 2.6 | 8.43 |
DL | Jewel | Sun | 3 | 4 | 17.07 |
AT | Set | Sun | 3 | 1.8 | 5.6 |
CR | Rep | Sun | 3 | 5.18 | 8.51 |
CZ | Jewel | Sun | 4 | 2.32 | 17.07 |
AD | Pol | Sun | 4 | 2.45 | 8.43 |
NA | Eng | Sun | 4 | 0.57 | 0.57 |
AT | Set | Sun | 4 | 0.98 | 5.6 |
<tbody>
</tbody>
Last edited: