Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default find duplicate data and copy to a third worksheet

I have two files put together in two separate worksheets.
They have both a column with a unik userid.
I need to add data from a column next to userid in one worksheet to another
column in the first worksheet, does anyone have an easy solution?
PS Hope this made sense

regards
Arnfinn Hakkebo


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default find duplicate data and copy to a third worksheet

use the vlookup function

=Vlookup(A2,'[Book2.xls]Sheet1'!$A$1:$F$100,2,False)

as an example.
--
Regards,
Tom Ogilvy

"Arnfinn Hakkebo" wrote in message
...
I have two files put together in two separate worksheets.
They have both a column with a unik userid.
I need to add data from a column next to userid in one worksheet to

another
column in the first worksheet, does anyone have an easy solution?
PS Hope this made sense

regards
Arnfinn Hakkebo




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default find duplicate data and copy to a third worksheet

Im afraid that was a little short explanation from me, and maybe I did`nt
get it right?
worksheetA=7 columns 960 posts in each column, some are empty with 1 column
that have unik data
WorksheetB=5 columns with 15000 posts and 1 column that have unik data(this
aret the same as in A)
If id in WorksheetA corresponds with the one in B then 1 cell in B in a
column to the right of the corresponding cells shuld be copied and pasted to
the right of the same id in A.

hope this clarifies my desire, any help will be appreciated
thanks in advance
regards
Arnfinn


"Tom Ogilvy" wrote in message
...
use the vlookup function

=Vlookup(A2,'[Book2.xls]Sheet1'!$A$1:$F$100,2,False)

as an example.
--
Regards,
Tom Ogilvy

"Arnfinn Hakkebo" wrote in message
...
I have two files put together in two separate worksheets.
They have both a column with a unik userid.
I need to add data from a column next to userid in one worksheet to

another
column in the first worksheet, does anyone have an easy solution?
PS Hope this made sense

regards
Arnfinn Hakkebo






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default find duplicate data and copy to a third worksheet

If you can't adapt the code yourself, then I can't guess where this unique
column might be on each sheet.

I also can't guess what to the right of the corresponding cell in A refers
to. You say A has 7 columns, so in column 8? Also, before we were pasting
both rows in the same row of a third sheet, but now one cell from the second
is pasted in the same row on the first sheet. To do this, you don't need a
macro. Look in Excel Help at the Vlookup function.



--
Regards,
Tom Ogilvy

"Arnfinn Hakkebo" wrote in message
...
Im afraid that was a little short explanation from me, and maybe I did`nt
get it right?
worksheetA=7 columns 960 posts in each column, some are empty with 1

column
that have unik data
WorksheetB=5 columns with 15000 posts and 1 column that have unik

data(this
aret the same as in A)
If id in WorksheetA corresponds with the one in B then 1 cell in B in a
column to the right of the corresponding cells shuld be copied and pasted

to
the right of the same id in A.

hope this clarifies my desire, any help will be appreciated
thanks in advance
regards
Arnfinn


"Tom Ogilvy" wrote in message
...
use the vlookup function

=Vlookup(A2,'[Book2.xls]Sheet1'!$A$1:$F$100,2,False)

as an example.
--
Regards,
Tom Ogilvy

"Arnfinn Hakkebo" wrote in message
...
I have two files put together in two separate worksheets.
They have both a column with a unik userid.
I need to add data from a column next to userid in one worksheet to

another
column in the first worksheet, does anyone have an easy solution?
PS Hope this made sense

regards
Arnfinn Hakkebo








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 do I find duplicate entries in a column in an Excel worksheet? Chunka Excel Discussion (Misc queries) 19 April 23rd 10 07:43 PM
Find and display duplicate data Plebless Excel Discussion (Misc queries) 1 November 25th 09 03:48 PM
Find Duplicate data vadda Excel Discussion (Misc queries) 2 October 10th 08 09:28 PM
Find matching date in another worksheet, copy and paste data Shoney Excel Discussion (Misc queries) 1 November 8th 07 11:45 PM
How can I find duplicate entries in an entire worksheet? jbrown New Users to Excel 2 May 12th 05 12:41 AM


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