Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nick N.
 
Posts: n/a
Default How do I compare string values in one column to another column?

Here is my question:

I have one sheet of a workbook that has 2 columns. The first column
contains string values of words & numbers (diff. lengths)...the second column
is right next to the other and has number values, each of which corresponds
to the string value directly to the left of it.

How can I make a second workbook where I can paste a list of string values
obtained from an outside source and have excel automatically search the
entire column in the pre-existing 1st workbook, then if it finds a matching
string value, put the corresponding number value in the column to the right
of the pasted string values?

I hope my question is clear enough. If not, please let me know so I can
clarify my intentions. Thank you in advance for your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default How do I compare string values in one column to another column?


You could use a VLOOKUP. In the column to the right of the pasted
outside source data try this function.

=VLOOOKUP(outsidesourceA1,referencearrayA1:B10,2,F ALSE)

This is where reference array is the workbook containing the data to
match and return a value from in column B of the outside source data.


Does this help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=537408

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
linking values of column A to values of column B os97 Excel Discussion (Misc queries) 2 February 20th 06 11:14 PM
Return Range of Numerical Values in Single Column based on Frequency Percentage Sam via OfficeKB.com Excel Worksheet Functions 9 October 28th 05 11:01 PM
How to get the values using a condition refering to the other column ramana Excel Worksheet Functions 2 October 28th 05 12:54 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Lookup Table Dilemma Karen Excel Worksheet Functions 2 June 10th 05 08:22 PM


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