View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
JLGWhiz JLGWhiz is offline
external usenet poster
 
Posts: 3,986
Default Macro to compare then copy if string found

Hi Stuart, What Sali is trying to explain is that we on this end cannot see
your worksheet, so to help us help you, you need to explain how your
worksheet is laid out. What data resides in which columns or rows, such as
part numbers in column A, description column B, etc. The when describing
what you want to do, for example, find part number xyz in column a and copy
entire row to sheet 2, row 6.
Then we on this end have an idea of what you are working with and how to
help you with your problem.

"Stuart" wrote:

On 19 Apr, 14:10, "sali" wrote:
is the cell position same on both sheets?
how long must be a same string to be considered the same sub-part?
is it allways the right ended part of cell?

"Stuart" je napisao u poruci interesnoj
roups.com...



Hi,


I have two worksheets of data. I would like excel to be able to look
in two columns which contain different characters however they should
have a string of letters and numbers which are the same.


For example sheet 1 column A cell 1 may have ABC010456A and in sheet 2
column A ot may be CDA#010456A


I would want the find function to find what they have in common and
then copy the value for the same row but column i


Please someone help.....trying to compare over a 1500 rows is very
very very time consuming.


It's much appreciated.


Thanks


Stuart- Hide quoted text -


- Show quoted text -


Hi there

Thanks for the response.

I can place the data on the same column. It's not normally the case
but to get a solution to this then I will move the column.

The string will be more than 4 characters and I don't think it will be
more than 7.

I look forward to hearing from you,

Stuart