Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Urgent:Find match between two worksheets and copy to another sheet

Hi

I have two worksheets.Sheet1 and sheet 2.If values of column1
sheet1 is prent in Column D of sheet2 then that values of sheet 2
should get copy bpasted into sheet3.Looking for help.

Thanks and Regards!

Gururaja
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 135
Default Urgent:Find match between two worksheets and copy to another sheet

You can add a column to Sheet2 that will determine if the row should be
copied or not. For example, if your data in Sheet2 starts in row 3, then
pick a column to the right of the data in Sheet 2, and put this in that
column of row 3:

=IF(ISNA(VLOOKUP(D3,Sheet1!A$2:A$35,1,FALSE)),"No" ,"Yes")

If you start on a different row in Sheet2 than row 3, change the D3 to
reference the first cell in column D you want to look up in Sheet1. Change
the numbers for A$2 and A$35 to use the correct rows in Sheet1. You want the
$ to remain in the formula. Once this is correct, then drag this down for
all the rows in Sheet 2.

From here, depending on how you want the copy/paste done, you can Data |
Filter | Filter All on the data in Sheet2, filter on 'Yes' and manually copy
/ paste into Sheet 3. Alternatively, you can put formulas in Sheet3 to
reference Sheet 2 only if the corresponding column in Sheet2 has a 'Yes' in
it.

If you don't want to see the column in Sheet2, you can build the formulas in
sheet 3 to do the lookup, but if there is a lot of data, it can be slow.
--
Daryl S


"guru" wrote:

Hi

I have two worksheets.Sheet1 and sheet 2.If values of column1
sheet1 is prent in Column D of sheet2 then that values of sheet 2
should get copy bpasted into sheet3.Looking for help.

Thanks and Regards!

Gururaja

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
Find match between cells and copy data Kcope8302 Excel Worksheet Functions 7 September 18th 09 11:55 PM
find and copy to another sheet Paul Excel Discussion (Misc queries) 5 September 21st 08 01:36 PM
find closest match and copy to sheet1 saman110 via OfficeKB.com Excel Discussion (Misc queries) 5 October 29th 07 06:09 PM
Find closest match and copy saman110 via OfficeKB.com Excel Discussion (Misc queries) 3 August 31st 07 06:30 AM
Copy a value from one sheet if two cells match Fuzzbucket Excel Discussion (Misc queries) 3 February 22nd 07 08:52 AM


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