Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Comparing ranges


I am trying to compare two datasets in the same worksheet.

Each data sets will have four key variables. The First two are
identifiers,
the 4th is an output. The third is the text message associated with the

2nd identifier. The dataset in all cases will be
sorted by the first two identifiers: CheckID, CustomerID, and the (4th
variable)
the output. There will be missing records from either datasets. Both
datasets are the same,
except one is dated, and represented as OLD, the other as new.
I am trying to compare or identify for new records in the New Datasets,

and Missing records in the New Datasets. This will be represented
as Removed or New Records. Because of the fact that there will be
missing records in either datasets, and the data is sorted by three
variables,
the rows won't be exactly a match. There may be less in the "New"
dataset.

How can a comparison identify for new & removed records in the 2nd
("NEw") Dataset?

I've written IF statements to compare the for this, but I can
compensate or adapt
for different number of rows for each dataset. Ideally, perhaps this
can be
done through Microsoft Query as a union join, and filtered for two
criteria:
"New Record" or "Deleted Records" (and perhaps "Changed Records")?

I know there are a couple of macros or conditional formatting that can

compare ranges, but I am not sure it solves for this situation.
Thanks.

Robert1


--
Robert1
------------------------------------------------------------------------
Robert1's Profile: http://www.excelforum.com/member.php...o&userid=29270
View this thread: http://www.excelforum.com/showthread...hreadid=489911

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
Comparing 2 ranges? calberto22 Excel Discussion (Misc queries) 3 October 13th 07 03:19 AM
Comparing ranges: ben simpson Excel Discussion (Misc queries) 1 March 8th 06 04:35 AM
Comparing ranges and deleting sktnggtr Excel Worksheet Functions 0 September 13th 05 04:01 PM
How to : Comparing Two Ranges lockwood7 Excel Worksheet Functions 3 August 3rd 05 01:43 PM
Comparing two arrays/ranges SpiderBoy Excel Programming 0 July 25th 03 07:58 PM


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

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"