Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Merge? VLookUp? Hmm...

Hi,

I have 2 worksheets. Worksheet 1 has a list of names in Column A with info
in Column C. Worksheet 2 has a list of names (the same but fewer names than
in worksheet 1) and additional info in Column B.

I'd like excel to put the information from Worksheet 2, column B into
worksheet 1, column B whenever the names match up.

Make sense? If there were numbers, I think I could use an if statement or
fiddle around with VLookUp. I'm not too familiar with merge, but this
command comes to mind.

Example below:
Worksheet 1
Column A / Column C
Dot Matrix /
Barf /
LoneStarr /
Kellia Meharry
Dark Helmet /
President Skroob /

Worksheet 2
Column A/ Column B
Kellia Meharry / {3}
President Skroob / {2,0}
Dot Matrix / {4}
Lone Starr / {4,3,2,1,0}
Barf / {4,3,2,1,0}


This has been plaguing me for months and I've been doing the work by hand--
ugg. Any guidance is greatly appreciated.

"you see that evil will always triumph, because good is dumb." just joking :)

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Merge? VLookUp? Hmm...

VLOOKUP() should do the job for you.

Assumptions:
names list on sheet2 goes from row 2 down to row 101
name list on sheet1 starts at row 2, so our first formula goes into B2 on
Sheet1:

=VLOOKUP(A2,Sheet2!$A$2:$B$101,2,FALSE)
and fill down column B on sheet1 as far as your name list goes on that sheet.

If the list on Sheet2 may grow and you don't want to have to constantly do
maintenance on it, you can rewrite the formula as:
=VLOOKUP(A2,Sheet2!$A$:$B$,2,FALSE)
The penalty is a little longer to finish the task, the benefit is you only
have to extend the formula down sheet1 as its list of names gets longer
without having to constantly rewrite the formula because the list of names on
Sheet2 got longer.


"Kellia" wrote:

Hi,

I have 2 worksheets. Worksheet 1 has a list of names in Column A with info
in Column C. Worksheet 2 has a list of names (the same but fewer names than
in worksheet 1) and additional info in Column B.

I'd like excel to put the information from Worksheet 2, column B into
worksheet 1, column B whenever the names match up.

Make sense? If there were numbers, I think I could use an if statement or
fiddle around with VLookUp. I'm not too familiar with merge, but this
command comes to mind.

Example below:
Worksheet 1
Column A / Column C
Dot Matrix /
Barf /
LoneStarr /
Kellia Meharry
Dark Helmet /
President Skroob /

Worksheet 2
Column A/ Column B
Kellia Meharry / {3}
President Skroob / {2,0}
Dot Matrix / {4}
Lone Starr / {4,3,2,1,0}
Barf / {4,3,2,1,0}


This has been plaguing me for months and I've been doing the work by hand--
ugg. Any guidance is greatly appreciated.

"you see that evil will always triumph, because good is dumb." just joking :)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Merge? VLookUp? Hmm...

Oops, didn't clean up the 'rewrite' formula enough, should be (for Cell B2 on
Sheet1)
=VLOOKUP(A2,Sheet2!$A:$B,2,FALSE)


"Kellia" wrote:

Hi,

I have 2 worksheets. Worksheet 1 has a list of names in Column A with info
in Column C. Worksheet 2 has a list of names (the same but fewer names than
in worksheet 1) and additional info in Column B.

I'd like excel to put the information from Worksheet 2, column B into
worksheet 1, column B whenever the names match up.

Make sense? If there were numbers, I think I could use an if statement or
fiddle around with VLookUp. I'm not too familiar with merge, but this
command comes to mind.

Example below:
Worksheet 1
Column A / Column C
Dot Matrix /
Barf /
LoneStarr /
Kellia Meharry
Dark Helmet /
President Skroob /

Worksheet 2
Column A/ Column B
Kellia Meharry / {3}
President Skroob / {2,0}
Dot Matrix / {4}
Lone Starr / {4,3,2,1,0}
Barf / {4,3,2,1,0}


This has been plaguing me for months and I've been doing the work by hand--
ugg. Any guidance is greatly appreciated.

"you see that evil will always triumph, because good is dumb." just joking :)

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
Vlookup not working to merge workbooks? Heather Excel Worksheet Functions 2 January 11th 10 11:18 AM
help with vlookup to merge two lists dlee388 Excel Discussion (Misc queries) 8 December 4th 07 12:28 AM
How to Use Vlookup to merge 2 different worksheet HRclerical Excel Discussion (Misc queries) 1 October 1st 06 01:24 PM
VLOOKUP merge documents, copy-paste special... nastech Excel Discussion (Misc queries) 4 February 12th 06 12:57 PM
VLookup to merge Access Query data into Excel Report Vira-SJH Excel Discussion (Misc queries) 0 January 10th 06 07:18 PM


All times are GMT +1. The time now is 12:33 AM.

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"