PC Review


Reply
Thread Tools Rate Thread

COMPARE IDENTICAL DATA

 
 
=?Utf-8?B?aG9sYWdpZ2k=?=
Guest
Posts: n/a
 
      27th Jun 2006
Hi,
I have two different excel spreadsheets.
1- With a list of product reference numbers,description and EAN code total
of 7404 lines
2- The same information as above along with more codes,prices and
descriptions. 219 lines

Thereference numbers in wrksht 1 and 2 match. So if you did control find you
find an exact match! However, to do control find for 219 lines of data takes
allot of time. Is there another way I can extract the exact matches?

Please let me know if you need more detail.
holagigi
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFyY2Vsbw==?=
Guest
Posts: n/a
 
      27th Jun 2006
Hi,

The first list is in A2:B19, and this range is named OldList. The second
list is in D2:E19, and the range is named NewList. The ranges were named
using the Insert - Name - Define command. Naming the ranges is not necessary,
but it makes them easier to work with.

As you can see, items in OldList that do not appear in NewList are
highlighted with a yellow background. Items in NewList that do not appear in
OldList are highlighted with a green background. These colors are the result
of Conditional Formatting.

How to do it
Start by selecting the OldList range.
Choose Format - Conditional Formatting
In the Conditional Formatting dialog box, use the drop-down list to choose
Formula is.
Enter this formula:

=COUNTIF(NewList,A2)=0
Click the Format button and specify the formatting to apply when the
condition is true (a yellow background in this example).
Click OK

The cells in the NewList range will use a similar conditional formatting
formula.

Select the NewList range.
Choose Format - Conditional Formatting
In the Conditional Formatting dialog box, use the drop-down list to choose
Formula is.
Enter this formula:

=COUNTIF(OldList,D2)=0
Click the Format button and specify the formatting to apply when the
condition is true (a green background in this example).
Click OK
Both of these conditional formatting formulas use the COUNTIF function. This
function counts the number of times a particular value appears in a range. If
the formula returns 0, it means that the item does not appear in the range.
Therefore, the conditional formatting kicks in and the cell's background
color is changed.

The cell reference in the COUNTIF function should always be the upper left
cell of the selected range.

hth
regards from Brazil
Marcelo



"holagigi" escreveu:

> Hi,
> I have two different excel spreadsheets.
> 1- With a list of product reference numbers,description and EAN code total
> of 7404 lines
> 2- The same information as above along with more codes,prices and
> descriptions. 219 lines
>
> Thereference numbers in wrksht 1 and 2 match. So if you did control find you
> find an exact match! However, to do control find for 219 lines of data takes
> allot of time. Is there another way I can extract the exact matches?
>
> Please let me know if you need more detail.
> holagigi

 
Reply With Quote
 
=?Utf-8?B?aG9sYWdpZ2k=?=
Guest
Posts: n/a
 
      27th Jun 2006
Hi Marcelo,
I am a little confused.
When you say A2:B19 you are just using that as an example correct?

You realize I have the data in two different worksheets correct? I tried to
follow your steps and it didn't work. Any more information would be helpful.

holagigi
Regards from spain



"Marcelo" wrote:

> Hi,
>
> The first list is in A2:B19, and this range is named OldList. The second
> list is in D2:E19, and the range is named NewList. The ranges were named
> using the Insert - Name - Define command. Naming the ranges is not necessary,
> but it makes them easier to work with.
>
> As you can see, items in OldList that do not appear in NewList are
> highlighted with a yellow background. Items in NewList that do not appear in
> OldList are highlighted with a green background. These colors are the result
> of Conditional Formatting.
>
> How to do it
> Start by selecting the OldList range.
> Choose Format - Conditional Formatting
> In the Conditional Formatting dialog box, use the drop-down list to choose
> Formula is.
> Enter this formula:
>
> =COUNTIF(NewList,A2)=0
> Click the Format button and specify the formatting to apply when the
> condition is true (a yellow background in this example).
> Click OK
>
> The cells in the NewList range will use a similar conditional formatting
> formula.
>
> Select the NewList range.
> Choose Format - Conditional Formatting
> In the Conditional Formatting dialog box, use the drop-down list to choose
> Formula is.
> Enter this formula:
>
> =COUNTIF(OldList,D2)=0
> Click the Format button and specify the formatting to apply when the
> condition is true (a green background in this example).
> Click OK
> Both of these conditional formatting formulas use the COUNTIF function. This
> function counts the number of times a particular value appears in a range. If
> the formula returns 0, it means that the item does not appear in the range.
> Therefore, the conditional formatting kicks in and the cell's background
> color is changed.
>
> The cell reference in the COUNTIF function should always be the upper left
> cell of the selected range.
>
> hth
> regards from Brazil
> Marcelo
>
>
>
> "holagigi" escreveu:
>
> > Hi,
> > I have two different excel spreadsheets.
> > 1- With a list of product reference numbers,description and EAN code total
> > of 7404 lines
> > 2- The same information as above along with more codes,prices and
> > descriptions. 219 lines
> >
> > Thereference numbers in wrksht 1 and 2 match. So if you did control find you
> > find an exact match! However, to do control find for 219 lines of data takes
> > allot of time. Is there another way I can extract the exact matches?
> >
> > Please let me know if you need more detail.
> > holagigi

 
Reply With Quote
 
=?Utf-8?B?TWFyY2Vsbw==?=
Guest
Posts: n/a
 
      27th Jun 2006
Hola,

I have tried it here before and it works,
yes a2:b19 are sample - adjust for your range as your convinience
as we are using names does not matter if it is on another w.sheet

both data table as big as?

gracias. avante furia
nos vemos no sabado....
;o)


"holagigi" escreveu:

> Hi Marcelo,
> I am a little confused.
> When you say A2:B19 you are just using that as an example correct?
>
> You realize I have the data in two different worksheets correct? I tried to
> follow your steps and it didn't work. Any more information would be helpful.
>
> holagigi
> Regards from spain
>
>
>
> "Marcelo" wrote:
>
> > Hi,
> >
> > The first list is in A2:B19, and this range is named OldList. The second
> > list is in D2:E19, and the range is named NewList. The ranges were named
> > using the Insert - Name - Define command. Naming the ranges is not necessary,
> > but it makes them easier to work with.
> >
> > As you can see, items in OldList that do not appear in NewList are
> > highlighted with a yellow background. Items in NewList that do not appear in
> > OldList are highlighted with a green background. These colors are the result
> > of Conditional Formatting.
> >
> > How to do it
> > Start by selecting the OldList range.
> > Choose Format - Conditional Formatting
> > In the Conditional Formatting dialog box, use the drop-down list to choose
> > Formula is.
> > Enter this formula:
> >
> > =COUNTIF(NewList,A2)=0
> > Click the Format button and specify the formatting to apply when the
> > condition is true (a yellow background in this example).
> > Click OK
> >
> > The cells in the NewList range will use a similar conditional formatting
> > formula.
> >
> > Select the NewList range.
> > Choose Format - Conditional Formatting
> > In the Conditional Formatting dialog box, use the drop-down list to choose
> > Formula is.
> > Enter this formula:
> >
> > =COUNTIF(OldList,D2)=0
> > Click the Format button and specify the formatting to apply when the
> > condition is true (a green background in this example).
> > Click OK
> > Both of these conditional formatting formulas use the COUNTIF function. This
> > function counts the number of times a particular value appears in a range. If
> > the formula returns 0, it means that the item does not appear in the range.
> > Therefore, the conditional formatting kicks in and the cell's background
> > color is changed.
> >
> > The cell reference in the COUNTIF function should always be the upper left
> > cell of the selected range.
> >
> > hth
> > regards from Brazil
> > Marcelo
> >
> >
> >
> > "holagigi" escreveu:
> >
> > > Hi,
> > > I have two different excel spreadsheets.
> > > 1- With a list of product reference numbers,description and EAN code total
> > > of 7404 lines
> > > 2- The same information as above along with more codes,prices and
> > > descriptions. 219 lines
> > >
> > > Thereference numbers in wrksht 1 and 2 match. So if you did control find you
> > > find an exact match! However, to do control find for 219 lines of data takes
> > > allot of time. Is there another way I can extract the exact matches?
> > >
> > > Please let me know if you need more detail.
> > > holagigi

 
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
compare data in identical tables David Microsoft Access Getting Started 2 3rd Nov 2008 09:12 PM
How do I compare two worksheets to see if they're identical? sdg105 Microsoft Excel Misc 5 26th Sep 2008 12:57 PM
Way to compare two identical workbooks automatically? Jean-Francois Gauthier Microsoft Excel Programming 0 29th Feb 2008 04:52 PM
Compare Two Identical Datatable By Content inpuarg Microsoft C# .NET 11 19th Dec 2006 12:03 PM
How to compare two identical tables in VB.NET + MS Access himanshupundir@gmail.com Microsoft VB .NET 4 12th Jul 2006 10:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:36 PM.