Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Find same context in to dif. worksheet

Hi

I have a workbook to worksheet. The 2 worksheet have the same colum called
"assetnumber" but not necessary the same number. What I want is a makro that
finds the cells where the assetnumbers are the same.

Thanx in advance.

Brian


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Find same context in to dif. worksheet

How about a couple of formulas in adjacent cells:

=isnumber(match(a1,sheet2!b:b,0))
will return True if A1 matches any cell in column B of sheet2.

And
=isnumber(match(b1,sheet1!a:a,0))
will return True if b1 matches any cell in column A of sheet1.

Drag the formulas down the column and apply data|filter|autofilter.

Then filter to see the similarities or differences.

Brian wrote:

Hi

I have a workbook to worksheet. The 2 worksheet have the same colum called
"assetnumber" but not necessary the same number. What I want is a makro that
finds the cells where the assetnumbers are the same.

Thanx in advance.

Brian


--

Dave Peterson
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
Add find and replace to context menu wizardmalcolm Excel Discussion (Misc queries) 0 August 25th 09 12:16 PM
ISNumber - What Context? ronaldo444 Excel Worksheet Functions 1 August 14th 06 04:59 PM
context for the command bar Eric[_27_] Excel Programming 1 February 2nd 06 12:40 PM
Context Menu nrussell Excel Programming 0 September 29th 05 10:08 AM
context sensitive help Malcolm Excel Programming 0 November 19th 03 02:00 PM


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