LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Showing the Differences


When comparing two different worksheets depending on the data depends on
how you would do the comparison

1) The simple Case - the two worksheets always have the save number of
rows and you are comparing the data in the same row on each sheet. Here
you can us conditional formating to compare the two sheets. Use a
formula like this

Sheet1!Q1 : put formula =Sheet2!Q1
Sheet2!Q1 : put formula =Sheet1!Q1


2) If your data has different number of rows or the data is in a
different order then you need a unique ID number so you can compare the
two sheets.. Again you can use conditional formating but us a vlookup
for comparison

Assume a Unique ID is in column A.Vlookup will return NA is the ID
isn't found
Sheet1!Q1 : put formula =NOT(ISNA(VLOOKUP(A1,Sheet2!A1:Q10,17)))
Sheet2!Q1 : put formula =NOT(ISNA(VLOOKUP(A1,Sheet1!A1:Q10,17)))

If you want to compare values
Sheet1!Q1 : put formula =Q1=VLOOKUP(A1,Sheet2!A1:Q10,17)))
Sheet2!Q1 : put formula =Q1=VLOOKUP(A1,Sheet1!A1:Q10,17)))


3) If you have different number of rows and don't have an ID column
then you are out of luck.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=151080

Microsoft Office Help

 
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
differences between 3 dhealy Excel Discussion (Misc queries) 6 May 27th 09 02:11 PM
How to fix my spreadsheet from showing formula to showing answer SimplyQuick Excel Discussion (Misc queries) 4 October 7th 08 10:00 PM
How to fix my spreadsheet from showing formula to showing answer SimplyQuick Excel Discussion (Misc queries) 0 October 7th 08 06:38 PM
Date showing incorrect. 30:00 hrs showing 06:00 AlanStotty Excel Discussion (Misc queries) 4 August 9th 07 01:44 PM
Showing/ not showing "getting started" when excel starts Ask Excel Discussion (Misc queries) 1 July 20th 05 04:20 PM


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