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


Hi all,

I have 2 worksheet

1. Sheet2 - Source sheet
2. Sheet1

I need a macro that compare the value between this worksheets.
The condition will like: -

1. If sheet2 value Not exist in Sheet1, then add the new value to
column C and display the status in Column F, sheet1 as "New"

2. If sheet1 value Not exist in Sheet2, remain the value and display
the status in Column F as "Canceled" in sheet1.

3. I need have a input range that allow user to select the start row of
data that need to be compare.

4. Compare button will place in Sheet1.

EXAMPLE LAYOUT OF THE WORKSHEETS:

Sheet1:

_Row__----__Column_(C)__------Column_(F)_
21 ---------- AAAA --------
22 -----------BBBBB -------- Cancel
23 ---------- CCCCC -----------New


Sheet2:

_Row__----__Column_(C)___
2 ---------- AAAA
3 -----------CCCCC

*Row -- Indicate the start row to place the data


Anyone have an idea about it...???
Thanks!

Regards,
Sharon


--
sharon2006
------------------------------------------------------------------------
sharon2006's Profile: http://www.excelforum.com/member.php...o&userid=30173
View this thread: http://www.excelforum.com/showthread...hreadid=499259

 
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
Compare data in two worksheets Barry Excel Worksheet Functions 1 March 20th 09 01:25 AM
Compare data in two worksheets Barry Excel Worksheet Functions 0 March 19th 09 03:21 PM
Compare Data from two Worksheets mcarrigg Excel Discussion (Misc queries) 4 July 28th 08 06:06 AM
Compare data in 2 worksheets MikeB Excel Discussion (Misc queries) 2 September 11th 07 07:56 PM
compare worksheets data find data that changed Excel Discussion (Misc queries) 3 September 19th 05 09:43 PM


All times are GMT +1. The time now is 07:16 AM.

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"