PivotTable duplicates
up vote
0
down vote
favorite
I have some data that I need to find an average day rate for a certain company. The data consists of 1000's of names, some duplicates with a day rate against them.
If I insert a PivotTable and filter on the company, the Average day rate will show, however, I know it is wrong as it is including the duplicate names.
I have got round this by double clicking on the average value and bringing up the data for that company in a new tab. Then I can insert another pivot table to remove the duplicates and then from that, find the average day rate.
Is there a way to by pass having to insert another pivot table, on the filtered tab?
FYI I'm very new to pivot tables.
excel duplicates excel-2007 pivot-table
add a comment |
up vote
0
down vote
favorite
I have some data that I need to find an average day rate for a certain company. The data consists of 1000's of names, some duplicates with a day rate against them.
If I insert a PivotTable and filter on the company, the Average day rate will show, however, I know it is wrong as it is including the duplicate names.
I have got round this by double clicking on the average value and bringing up the data for that company in a new tab. Then I can insert another pivot table to remove the duplicates and then from that, find the average day rate.
Is there a way to by pass having to insert another pivot table, on the filtered tab?
FYI I'm very new to pivot tables.
excel duplicates excel-2007 pivot-table
can you just use the built in remove duplicates feature on the original data?
– Scott Holtzman
Mar 31 '17 at 21:02
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have some data that I need to find an average day rate for a certain company. The data consists of 1000's of names, some duplicates with a day rate against them.
If I insert a PivotTable and filter on the company, the Average day rate will show, however, I know it is wrong as it is including the duplicate names.
I have got round this by double clicking on the average value and bringing up the data for that company in a new tab. Then I can insert another pivot table to remove the duplicates and then from that, find the average day rate.
Is there a way to by pass having to insert another pivot table, on the filtered tab?
FYI I'm very new to pivot tables.
excel duplicates excel-2007 pivot-table
I have some data that I need to find an average day rate for a certain company. The data consists of 1000's of names, some duplicates with a day rate against them.
If I insert a PivotTable and filter on the company, the Average day rate will show, however, I know it is wrong as it is including the duplicate names.
I have got round this by double clicking on the average value and bringing up the data for that company in a new tab. Then I can insert another pivot table to remove the duplicates and then from that, find the average day rate.
Is there a way to by pass having to insert another pivot table, on the filtered tab?
FYI I'm very new to pivot tables.
excel duplicates excel-2007 pivot-table
excel duplicates excel-2007 pivot-table
edited Mar 24 '15 at 23:12
pnuts
46.3k76197
46.3k76197
asked Jan 30 '13 at 17:29
Jazz
59051750
59051750
can you just use the built in remove duplicates feature on the original data?
– Scott Holtzman
Mar 31 '17 at 21:02
add a comment |
can you just use the built in remove duplicates feature on the original data?
– Scott Holtzman
Mar 31 '17 at 21:02
can you just use the built in remove duplicates feature on the original data?
– Scott Holtzman
Mar 31 '17 at 21:02
can you just use the built in remove duplicates feature on the original data?
– Scott Holtzman
Mar 31 '17 at 21:02
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
You can make a "count of Names" values field and filter the names from the "Row Label" after you have used your report filter. You just have to filter by company, then click on Row Labels => Value filters => Select which column value you want to filter (count) => Select "Greater Than 1".
One additional note. If you make your data into a Table then there is an option to remove duplicate entries once you are done finding the average. It will definitely be faster than doing it by hand, however it removes the last duplicate entry so be careful
thanks, I'll give that a go and let you know how I get on.
– Jazz
Jan 30 '13 at 23:04
Sorry, had to updated the original post. It's not a "column", it's the "values" field.
– grandocu
Jan 31 '13 at 13:39
add a comment |
up vote
0
down vote
An alternative, if sorting is allowed, might be to restrict your single PivotTable to data that is not duplicated. This might be achieved with a formula such as:
=COUNTIF(A$1:A2,A2)
in Row2 and copied down to suit, where I assume ColumnA contains names and you only want one instance and any one instance of each name. Sort on ColumnC and restrict the range for your PivotTable to those rows where the formula returns 1
.
A possible drawback however might be if you want certain individuals included more than once based on other criteria. For example if Mrs Roberts is in the list as both Clerical and Management you might want her to be treated as a separate individual for each role.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You can make a "count of Names" values field and filter the names from the "Row Label" after you have used your report filter. You just have to filter by company, then click on Row Labels => Value filters => Select which column value you want to filter (count) => Select "Greater Than 1".
One additional note. If you make your data into a Table then there is an option to remove duplicate entries once you are done finding the average. It will definitely be faster than doing it by hand, however it removes the last duplicate entry so be careful
thanks, I'll give that a go and let you know how I get on.
– Jazz
Jan 30 '13 at 23:04
Sorry, had to updated the original post. It's not a "column", it's the "values" field.
– grandocu
Jan 31 '13 at 13:39
add a comment |
up vote
0
down vote
You can make a "count of Names" values field and filter the names from the "Row Label" after you have used your report filter. You just have to filter by company, then click on Row Labels => Value filters => Select which column value you want to filter (count) => Select "Greater Than 1".
One additional note. If you make your data into a Table then there is an option to remove duplicate entries once you are done finding the average. It will definitely be faster than doing it by hand, however it removes the last duplicate entry so be careful
thanks, I'll give that a go and let you know how I get on.
– Jazz
Jan 30 '13 at 23:04
Sorry, had to updated the original post. It's not a "column", it's the "values" field.
– grandocu
Jan 31 '13 at 13:39
add a comment |
up vote
0
down vote
up vote
0
down vote
You can make a "count of Names" values field and filter the names from the "Row Label" after you have used your report filter. You just have to filter by company, then click on Row Labels => Value filters => Select which column value you want to filter (count) => Select "Greater Than 1".
One additional note. If you make your data into a Table then there is an option to remove duplicate entries once you are done finding the average. It will definitely be faster than doing it by hand, however it removes the last duplicate entry so be careful
You can make a "count of Names" values field and filter the names from the "Row Label" after you have used your report filter. You just have to filter by company, then click on Row Labels => Value filters => Select which column value you want to filter (count) => Select "Greater Than 1".
One additional note. If you make your data into a Table then there is an option to remove duplicate entries once you are done finding the average. It will definitely be faster than doing it by hand, however it removes the last duplicate entry so be careful
edited Jan 31 '13 at 13:52
answered Jan 30 '13 at 18:21
grandocu
30614
30614
thanks, I'll give that a go and let you know how I get on.
– Jazz
Jan 30 '13 at 23:04
Sorry, had to updated the original post. It's not a "column", it's the "values" field.
– grandocu
Jan 31 '13 at 13:39
add a comment |
thanks, I'll give that a go and let you know how I get on.
– Jazz
Jan 30 '13 at 23:04
Sorry, had to updated the original post. It's not a "column", it's the "values" field.
– grandocu
Jan 31 '13 at 13:39
thanks, I'll give that a go and let you know how I get on.
– Jazz
Jan 30 '13 at 23:04
thanks, I'll give that a go and let you know how I get on.
– Jazz
Jan 30 '13 at 23:04
Sorry, had to updated the original post. It's not a "column", it's the "values" field.
– grandocu
Jan 31 '13 at 13:39
Sorry, had to updated the original post. It's not a "column", it's the "values" field.
– grandocu
Jan 31 '13 at 13:39
add a comment |
up vote
0
down vote
An alternative, if sorting is allowed, might be to restrict your single PivotTable to data that is not duplicated. This might be achieved with a formula such as:
=COUNTIF(A$1:A2,A2)
in Row2 and copied down to suit, where I assume ColumnA contains names and you only want one instance and any one instance of each name. Sort on ColumnC and restrict the range for your PivotTable to those rows where the formula returns 1
.
A possible drawback however might be if you want certain individuals included more than once based on other criteria. For example if Mrs Roberts is in the list as both Clerical and Management you might want her to be treated as a separate individual for each role.
add a comment |
up vote
0
down vote
An alternative, if sorting is allowed, might be to restrict your single PivotTable to data that is not duplicated. This might be achieved with a formula such as:
=COUNTIF(A$1:A2,A2)
in Row2 and copied down to suit, where I assume ColumnA contains names and you only want one instance and any one instance of each name. Sort on ColumnC and restrict the range for your PivotTable to those rows where the formula returns 1
.
A possible drawback however might be if you want certain individuals included more than once based on other criteria. For example if Mrs Roberts is in the list as both Clerical and Management you might want her to be treated as a separate individual for each role.
add a comment |
up vote
0
down vote
up vote
0
down vote
An alternative, if sorting is allowed, might be to restrict your single PivotTable to data that is not duplicated. This might be achieved with a formula such as:
=COUNTIF(A$1:A2,A2)
in Row2 and copied down to suit, where I assume ColumnA contains names and you only want one instance and any one instance of each name. Sort on ColumnC and restrict the range for your PivotTable to those rows where the formula returns 1
.
A possible drawback however might be if you want certain individuals included more than once based on other criteria. For example if Mrs Roberts is in the list as both Clerical and Management you might want her to be treated as a separate individual for each role.
An alternative, if sorting is allowed, might be to restrict your single PivotTable to data that is not duplicated. This might be achieved with a formula such as:
=COUNTIF(A$1:A2,A2)
in Row2 and copied down to suit, where I assume ColumnA contains names and you only want one instance and any one instance of each name. Sort on ColumnC and restrict the range for your PivotTable to those rows where the formula returns 1
.
A possible drawback however might be if you want certain individuals included more than once based on other criteria. For example if Mrs Roberts is in the list as both Clerical and Management you might want her to be treated as a separate individual for each role.
answered Feb 13 '15 at 0:29
pnuts
46.3k76197
46.3k76197
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f14610065%2fpivottable-duplicates%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
can you just use the built in remove duplicates feature on the original data?
– Scott Holtzman
Mar 31 '17 at 21:02