Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Clement
 
Posts: n/a
Default Comparing two lists and return specified data

I need to be able to compare two lists and return values from one to the other.
For example if 'Ben' from My list is found in the Reference list, then
autofill/return/extract/copy the value 'FL' into My list.
My list
Column A Column B
Name
Ben

Reference list:
Column A Column B
Name State
Ben FL

I'ave used the MATCH and VLOOKUP functions, but its not quite getting the
job done. Please help!

--
Clement E
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
 
Posts: n/a
Default Comparing two lists and return specified data

Clement,

In cell BXXX of My List:
=VLOOKUP(AXXX,ReferenceListAddressAbsolute,2,False )

For example:
=VLOOKUP(A2,'Sheet 2'!$A$1:$B$25,2,FALSE)

HTH,
Bernie
MS Excel MVP



"Clement" wrote in message
...
I need to be able to compare two lists and return values from one to the
other.
For example if 'Ben' from My list is found in the Reference list, then
autofill/return/extract/copy the value 'FL' into My list.
My list
Column A Column B
Name
Ben

Reference list:
Column A Column B
Name State
Ben FL

I'ave used the MATCH and VLOOKUP functions, but its not quite getting the
job done. Please help!

--
Clement E



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Clement
 
Posts: n/a
Default Comparing two lists and return specified data

THANK YOU Bernie!!
Worked like a charm!!!
--
Clement E


"Bernie Deitrick" wrote:

Clement,

In cell BXXX of My List:
=VLOOKUP(AXXX,ReferenceListAddressAbsolute,2,False )

For example:
=VLOOKUP(A2,'Sheet 2'!$A$1:$B$25,2,FALSE)

HTH,
Bernie
MS Excel MVP



"Clement" wrote in message
...
I need to be able to compare two lists and return values from one to the
other.
For example if 'Ben' from My list is found in the Reference list, then
autofill/return/extract/copy the value 'FL' into My list.
My list
Column A Column B
Name
Ben

Reference list:
Column A Column B
Name State
Ben FL

I'ave used the MATCH and VLOOKUP functions, but its not quite getting the
job done. Please help!

--
Clement E




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
Comparing Lists Q Excel Worksheet Functions 1 November 7th 05 09:08 PM
look up one value and return a corresponding value using lists TKGerdie Excel Worksheet Functions 3 October 26th 05 09:47 PM
have a cell return one of severl lists based on data from another d6j9s Excel Discussion (Misc queries) 2 June 10th 05 01:18 AM
Match two lists and return a value mdeanda Excel Worksheet Functions 2 May 22nd 05 07:26 AM
How do I return dynamic lists? liciakay Excel Worksheet Functions 1 March 30th 05 08:22 AM


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