#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Vlookup funtions

Say your code is in A1 of Sheet1 and Sheet2 contains your column of codes (in
column A) and Names (column B).

You could use:

=vlookup(a1,sheet2!a:b,2,false)

or to avoid a few errorw if there wasn't a match:

=if(a1="","",if(iserror(vlookup(a1,sheet2!a:b,2,fa lse)),"No Match!",
vlookup(a1,sheet2!a:b,2,false)))

(all in one cell)

Debra Dalgleish has lots of notes on =vlookup():
http://www.contextures.com/xlFunctions02.html

Kel wrote:

I have the same code(numeric) on two worksheets. One A it has more detailed
information and the code could be listed more then once in a column. On B the
code is only listed once but also has a name that is assigned to the code. I
need to get the name (text) assigned to the first worksheet.

Thanks

"Niek Otten" wrote:

Indeed VLOOKUP probably is what you need.

If you'd like to have somewhat more detailed support, please supply somewhat more details about your requirements.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Kel" wrote in message ...
| Hi I am trying to lookup a value on one worksheet, match to a second
| worksheet then pull in a text value from the second worksheet to the first
| worksheet.
|
| Thanks Kelly




--

Dave Peterson
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 a Vlookup adamb2000 Excel Worksheet Functions 4 June 28th 06 10:54 PM
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


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