PC Review


Reply
Thread Tools Rate Thread

Pivot Table Not Behaving as Expected

 
 
Takeadoe
Guest
Posts: n/a
 
      4th May 2012
Good morning. Sample of data going into pivot table:

Couny Year Type
Adams 1980 NON
Adams 1980 NON
Adams 1995 TYP
Athens 2001 TYP

Row Lable=County and Sum Value = County Column = Year
End result is a crosstab where row=county, column = year and the valuesrepresent the number of times the county was present for each year. All was working fine.

I appended some new records to the data source, expanded the range and hit refresh. I added a couple more lines for Adams and Athens counties. Excelseems to think the values for county in the new records are some how different from the old. They are not. I've cleared the formats. Cut and pasted to a new worksheet and nothing, I still end up with 2 entries for each county. To the naked eye, Adams looks like Adams, but the computer must somehow be seeing something different. And ideas at all?

Mike
 
Reply With Quote
 
 
 
 
Takeadoe
Guest
Posts: n/a
 
      4th May 2012
On Friday, May 4, 2012 11:29:08 AM UTC-4, Takeadoe wrote:
> Good morning. Sample of data going into pivot table:
>
> Couny Year Type
> Adams 1980 NON
> Adams 1980 NON
> Adams 1995 TYP
> Athens 2001 TYP
>
> Row Lable=County and Sum Value = County Column = Year
> End result is a crosstab where row=county, column = year and the values represent the number of times the county was present for each year. Allwas working fine.
>
> I appended some new records to the data source, expanded the range and hit refresh. I added a couple more lines for Adams and Athens counties. Excel seems to think the values for county in the new records are some how different from the old. They are not. I've cleared the formats. Cut and pasted to a new worksheet and nothing, I still end up with 2 entries for each county. To the naked eye, Adams looks like Adams, but the computer must somehow be seeing something different. And ideas at all?
>
> Mike


I got it. I used the trim function and it solved the mystery. Apparently,the spaces in the appended records was causing the problem.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ListCount behaving not as expected. Rob Hofkens Microsoft Access Form Coding 3 10th Jan 2007 03:28 PM
Query Not Behaving as expected - It's asking for a parameter Access Built SQL posted. Blueridge.net Microsoft Access Queries 6 28th Jul 2005 06:03 PM
enabling ctrls on check not behaving as expected =?Utf-8?B?S2VpdGggTWNDYXJyb24=?= Microsoft Access Form Coding 4 17th Mar 2005 09:31 PM
Macrobutton not behaving as expected Alan D. Microsoft Word New Users 2 12th Jul 2004 05:02 AM
Sort function not behaving as expected simal Microsoft Excel Worksheet Functions 4 21st May 2004 04:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:04 PM.