Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Trying to compare worksheets.

I have a worksheet that has yesterday's sales information by item. I receive
another worksheet that has today's sales numbers by item in it.
A unique record is made up of 3 columns A,B,C.

I need to find the following:
1. I need to find out if a new record has been inserted (that doesn't
exist on yesterdays worksheet).
2. I need to find out if the unique record has a match
3. I would also like to know what records have been deleted from
Yesterday's Sales information.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 161
Default Trying to compare worksheets.

example: yesterdays data in list1, todays data in list 2

list1 cells A1:C4
result
a b c -present in list 2
a a a -not in list 2
b c d -not in list 2
x b a -present in list 2


list 2 cells A1:C3
result
a x a -not in list 1
a b c -not in list 1
x b a -present in list 1

formula for list 1, cell d1, type:

=SUM((CONCATENATE(A1;B1;C1)=CONCATENATE(List2!$A$1 :$A$3;List2!$B$1:$B$3;List2!$C$1:$C$3))^2)

then press ctrl+shift+enter, copy by dragging to cell d2:d3

when u see 1, record matches one record in list 2 (may be in different line)

formula for list 2, cell d1, type:

=SUM((CONCATENATE(A1;B1;C1)=CONCATENATE(List1!$A$1 :$A$4;List1!$B$1:$B$4;List1!$C$1:$C$4))^2)

then press ctrl+shift+enter, copy by dragging to cell d2:d4

when u see 1, record matches one record in list 1 (may be in different line)

U see 1 only if everything is completely same for particular record from
both lists (when any error, like mistyping, double space etc., formula
returns 0)

"Nicholas" wrote:

I have a worksheet that has yesterday's sales information by item. I receive
another worksheet that has today's sales numbers by item in it.
A unique record is made up of 3 columns A,B,C.

I need to find the following:
1. I need to find out if a new record has been inserted (that doesn't
exist on yesterdays worksheet).
2. I need to find out if the unique record has a match
3. I would also like to know what records have been deleted from
Yesterday's Sales information.

Thanks

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
Need to compare 2 worksheets... Bonnie Excel Discussion (Misc queries) 3 December 2nd 08 11:06 AM
compare worksheets Ivano Excel Discussion (Misc queries) 13 October 16th 07 11:33 AM
Compare two worksheets Patricia Martinez Excel Worksheet Functions 0 October 5th 07 12:01 AM
compare worksheets nishkrish New Users to Excel 1 March 15th 07 06:24 PM
Compare Worksheets dahench Excel Discussion (Misc queries) 2 March 3rd 07 02:29 PM


All times are GMT +1. The time now is 01:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"