#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 336
Default Find and match cells

Hello,

I have a list of values in sheet 1, from cell A1 and downwards. The range
changes all the time, eg. A1-A10, A1-1000 etc.

I want to set up a macro that matches all the values in this column with the
A column in sheet 2.

If some of the cells matches I want the macro to copy the value in the B
column of the same row as the matching cell in sheet 1 and paste it into
sheet 2 column B, next to the cell just found.

Any sugestions, please?

Martin
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Find and match cells

Must it be a macro?

Use VLOOKUP to get the data.

"Martin" wrote:

Hello,

I have a list of values in sheet 1, from cell A1 and downwards. The range
changes all the time, eg. A1-A10, A1-1000 etc.

I want to set up a macro that matches all the values in this column with the
A column in sheet 2.

If some of the cells matches I want the macro to copy the value in the B
column of the same row as the matching cell in sheet 1 and paste it into
sheet 2 column B, next to the cell just found.

Any sugestions, please?

Martin

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
How can find match of one cell from a column of cells? mat Excel Discussion (Misc queries) 1 October 26th 06 04:59 PM
Match, Find? Danny Excel Worksheet Functions 1 April 27th 06 01:40 AM
find all cells that match and use in an index/vlookup Adam Bell Excel Discussion (Misc queries) 1 October 21st 05 06:41 PM
Using MATCH to find the 2nd match, not only 1st MLP Excel Discussion (Misc queries) 4 October 13th 05 11:08 PM
find and match the max buffyslay Excel Worksheet Functions 1 November 2nd 04 12:20 PM


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