PC Review


Reply
Thread Tools Rate Thread

Data Consolidate duplicates data...

 
 
mark
Guest
Posts: n/a
 
      11th Nov 2008
It was just brought to my attention that something I wrote a couple of years
ago is duplicating data.

It uses Data-Consolidate, in VB.

A simple exampe would be this:

cell A1: ItemNumber
cell B1: Amount
cell A2: 61*80*C51*022
cell B2: 1
cell A3: 61-80-C51-022
cell B3: 1

If you use menu items Data-Consolidate on that, it gets a total of 3, not 2.

It's taking the item in cell A3 as a match to both itself, and to the item
in A2. So, it's doing a wildcard sum.

I can fix this by editing my code to use a Pivot Table to summarize the data
instead.

This post is more just a warning to anyone else who might have ever done
such a thing unaware.
 
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
Delete duplicates: Sum Values & Consolidate Data evoxfan Microsoft Frontpage 4 19th Nov 2008 01:59 AM
help to consolidate data docdutton Microsoft Excel Worksheet Functions 1 9th Jun 2007 08:45 PM
consolidate data madcat Microsoft Excel Programming 1 1st Jul 2004 03:12 PM
Consolidate Data Tim Microsoft Excel Programming 1 21st Feb 2004 06:01 PM
Scanning for Duplicate Data in a Column, Merging Data and Finally Removing All Duplicates...? : VB : Microsoft Excel Programming 2 24th Aug 2003 02:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:19 AM.