#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Pivot Table

I have a worksheeet full of data which I did not create. The data conforms
to all the requirements for a pivot table and I'm able to create a pivot
table; however, the pivot table is showing a duplicate manager name. I have
to add the data together to get the correct amount. Here is an example:

Smith 10 hours
Smith 20 hours
Total 30 hours

Can you help me determine why the manager "Smith" is showing twice instead of:

Smith 30 hours

Thanks!



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Pivot Table

trim the names ( may be any spaces between names )


On Oct 21, 1:12*am, Janice wrote:
I have a worksheeet full of data which I did not create. *The data conforms
to all the requirements for a pivot table and I'm able to create a pivot
table; however, the pivot table is showing a duplicate manager name. *I have
to add the data together to get the correct amount. *Here is an example:

Smith *10 hours
Smith *20 hours
Total * 30 hours

Can you help me determine why the manager "Smith" is showing twice instead of:

Smith *30 hours

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Pivot Table

One good possibility is that one or more of the Smith records in your source
data has trailing spaces. On your source data sheet, in an empty column you
can enter a formula like =Trim(A1) and copy it down through all the data
rows (change A1 to the first Manager name cell). Select all the Trim formula
cells, then copy & paste them over the original cells as values. That should
remove any leading or trailing spaces. Recreate your pivot table.

Hope this helps,

Hutch

"Janice" wrote:

I have a worksheeet full of data which I did not create. The data conforms
to all the requirements for a pivot table and I'm able to create a pivot
table; however, the pivot table is showing a duplicate manager name. I have
to add the data together to get the correct amount. Here is an example:

Smith 10 hours
Smith 20 hours
Total 30 hours

Can you help me determine why the manager "Smith" is showing twice instead of:

Smith 30 hours

Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Pivot Table

I think Tom hit the nail on the head. Trim returns a text value (with
leading and trailing spaces removed). When you do the trim, you may need to
convert the data to numbers, or dates, or some such thing. Just keep that in
mind.

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Tom Hutchins" wrote:

One good possibility is that one or more of the Smith records in your source
data has trailing spaces. On your source data sheet, in an empty column you
can enter a formula like =Trim(A1) and copy it down through all the data
rows (change A1 to the first Manager name cell). Select all the Trim formula
cells, then copy & paste them over the original cells as values. That should
remove any leading or trailing spaces. Recreate your pivot table.

Hope this helps,

Hutch

"Janice" wrote:

I have a worksheeet full of data which I did not create. The data conforms
to all the requirements for a pivot table and I'm able to create a pivot
table; however, the pivot table is showing a duplicate manager name. I have
to add the data together to get the correct amount. Here is an example:

Smith 10 hours
Smith 20 hours
Total 30 hours

Can you help me determine why the manager "Smith" is showing twice instead of:

Smith 30 hours

Thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create pivot table from existing pivot table in excel 2007 Udayraj Dhulekar Excel Discussion (Misc queries) 2 July 8th 13 08:22 PM
Pivot Table and Pivot Table dates are not in correct order ls Charts and Charting in Excel 3 July 14th 09 04:02 PM
Copying values from pivot table to cells outside pivot table richzip Excel Discussion (Misc queries) 4 January 16th 08 11:03 PM
Filter lines containing pivot table and non pivot table data Grover Excel Worksheet Functions 0 September 24th 07 07:20 PM
How do I create a pivot table if the pivot table icon or menu ite. Lynn@WS Charts and Charting in Excel 1 December 16th 04 02:36 AM


All times are GMT +1. The time now is 01:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"