LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Data Consolidate duplicates data...

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.
 
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
Consolidate 3 lists with duplicates into one list Re Excel Worksheet Functions 1 April 24th 09 12:16 AM
Delete duplicates: Sum & Consolidate evoxfan Excel Worksheet Functions 2 November 19th 08 02:32 PM
Delete Duplicates: Sum values & Consolidate evoxfan Excel Discussion (Misc queries) 1 November 18th 08 10:44 PM
consolidate data kim Excel Worksheet Functions 1 October 29th 07 11:36 PM
Scanning for Duplicate Data in a Column, Merging Data and Finally Removing All Duplicates...? : VB : Excel Programming 2 August 24th 03 02:22 PM


All times are GMT +1. The time now is 05:02 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"