Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 271
Default COMPARING TWO COLUMNS OF INFORMATION, ACROSS TWO WORKSHEETS

I want to compare for accuracy two coloums of information that should be
identical, but on two different worksheets within the same workbook. So, for
example, I want to make sure that worksheet 1 columns a & b are identical to
worksheet 2 columns a & b, and if not highlight or identify discrepansies.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default COMPARING TWO COLUMNS OF INFORMATION, ACROSS TWO WORKSHEETS

In columns c and d respectively
=EXACT(Sheet1!A1,Sheet2!A1)
=EXACT(Sheet1!B1,Sheet2!B1)

Copy down as needed.

Anything that returns a false means there is a discrepency.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Susan" wrote:

I want to compare for accuracy two coloums of information that should be
identical, but on two different worksheets within the same workbook. So, for
example, I want to make sure that worksheet 1 columns a & b are identical to
worksheet 2 columns a & b, and if not highlight or identify discrepansies.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default COMPARING TWO COLUMNS OF INFORMATION, ACROSS TWO WORKSHEETS

Hi,

You can do so by conditional formatting. However, conditional formatting
cannot work across sheets. Therefore, please use the following steps:

1. Go to sheet 2 and highlight column A;
2. Press Ctrl+F4 (Define name) and define a name for the range such, say
compare
3. Now go back to sheet 1
4. On the first cell of column A (say A4), go to Format Conditional
formatting Formula Is
5. In the formula is box, type the following formula =countif(compare,A4)0
6. Select the format of your choice
7. Click OK

Repeat the process for column 2

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Susan" wrote in message
...
I want to compare for accuracy two coloums of information that should be
identical, but on two different worksheets within the same workbook. So,
for
example, I want to make sure that worksheet 1 columns a & b are identical
to
worksheet 2 columns a & b, and if not highlight or identify discrepansies.


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 information on 2 worksheets Lee Excel Discussion (Misc queries) 1 November 20th 08 09:57 PM
Comparing two columns of information with 2 new columns of informa cbuck Excel Discussion (Misc queries) 1 January 16th 07 09:49 PM
Comparing columns from 2 different worksheets. Alant Excel Worksheet Functions 1 June 8th 06 03:51 AM
Comparing two worksheets with two columns each for duplicates jlcnewyork Excel Discussion (Misc queries) 0 February 15th 06 02:32 PM
Comparing two columns in two different worksheets stevel Excel Worksheet Functions 4 May 31st 05 01:43 PM


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