Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default compare and extract using a program. i really need help.


I have a task at my work whereby it requires me to extract the Staff ID
from one spread sheet to another by comparing the User ID. It is very
time comsuming since there are more than 6000 numbers to copy. Now,
what I want to do is simple, all I want is to extract the Staff ID
from one spread sheet to another in the correct cells. Thats easy but
here is when it gets complex.

Spreadsheet 1
Staff ID
....
....
....
....

User ID
sgfd
soip
stya
swjk



Spreadsheet 2
Staff ID
123
456
789
159

User ID
sgfd
soip
stya
swjk

I just need to know how to start.

Thanks for anyone's help.

ayunik


--
ayunik
------------------------------------------------------------------------
ayunik's Profile: http://www.excelforum.com/member.php...o&userid=24317
View this thread: http://www.excelforum.com/showthread...hreadid=379224

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default compare and extract using a program. i really need help.


Need to explain in detail

--
anilsolipura
-----------------------------------------------------------------------
anilsolipuram's Profile: http://www.excelforum.com/member.php...fo&userid=1627
View this thread: http://www.excelforum.com/showthread.php?threadid=37922

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default compare and extract using a program. i really need help.

pedestrian method is

in sheet 2 the col A is userid and col B is staff id -both with heading rows
in sheet 1 col A is user id with the heading. in B2 type
=VLOOKUP(A2,Sheet2!A1:B5,2,FALSE)
copy B2 down.

is this clear.
change A!:B5 to suit you.


there are other sophisticated methods.


ayunik wrote in
message ...

I have a task at my work whereby it requires me to extract the Staff ID
from one spread sheet to another by comparing the User ID. It is very
time comsuming since there are more than 6000 numbers to copy. Now,
what I want to do is simple, all I want is to extract the Staff ID
from one spread sheet to another in the correct cells. Thats easy but
here is when it gets complex.

Spreadsheet 1
Staff ID
...
...
...
...

User ID
sgfd
soip
stya
swjk



Spreadsheet 2
Staff ID
123
456
789
159

User ID
sgfd
soip
stya
swjk

I just need to know how to start.

Thanks for anyone's help.

ayunik


--
ayunik
------------------------------------------------------------------------
ayunik's Profile:

http://www.excelforum.com/member.php...o&userid=24317
View this thread: http://www.excelforum.com/showthread...hreadid=379224





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
Compare spreadsheets & then extract data G&GSolutions Excel Discussion (Misc queries) 2 February 25th 09 06:07 AM
Compare and Extract Naba via OfficeKB.com Excel Worksheet Functions 2 November 15th 06 11:31 AM
Program error when using Compare and Merge Workbooks Gan Excel Worksheet Functions 0 August 16th 06 08:48 AM
compare lists, extract new values trav Excel Discussion (Misc queries) 1 May 16th 06 04:22 PM
Is there a way to create a program in excel to compare files? bruce Excel Programming 7 June 5th 04 07:58 PM


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