#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Function

I have a list of information that I have imported to a worksheet. In this
list here is a column of Townships coded as numbers. I have created a list
of the townships on another sheet (township-names) with the corresponding
number in another column. Is there a function that I can use to look up the
township name and replace the number in the original worksheet which I have
imported?
--
Ronnie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Function

Why not insert a column beside the old township numbers and use VLOOKUP() to
lookup the new numbers.

Lookup value would be Sheet old!townshipname

If this post helps click Yes
---------------
Jacob Skaria


"Ronnie" wrote:

I have a list of information that I have imported to a worksheet. In this
list here is a column of Townships coded as numbers. I have created a list
of the townships on another sheet (township-names) with the corresponding
number in another column. Is there a function that I can use to look up the
township name and replace the number in the original worksheet which I have
imported?
--
Ronnie

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Function

I'm still working on getting the VLOOKUP to work. I must be doing something
wrong.
--
Ronnie


"Jacob Skaria" wrote:

Why not insert a column beside the old township numbers and use VLOOKUP() to
lookup the new numbers.

Lookup value would be Sheet old!townshipname

If this post helps click Yes
---------------
Jacob Skaria


"Ronnie" wrote:

I have a list of information that I have imported to a worksheet. In this
list here is a column of Townships coded as numbers. I have created a list
of the townships on another sheet (township-names) with the corresponding
number in another column. Is there a function that I can use to look up the
township name and replace the number in the original worksheet which I have
imported?
--
Ronnie

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Function

Post the VLOOKUP formula.

The basics are =VLOOKUP(cell,table range,column index,false)

You have a list of ID numbers in Sheet1 column A to A200

In colulmn B enter =VLOOKUP(A1,Sheet2!$A$1:$B$200,2,FALSE)

Copy down to B200

Where Sheet2 coumn A is ID numbers and Column B is township names.


Gord Dibben MS Excel MVP

On Tue, 8 Sep 2009 13:10:40 -0700, Ronnie
wrote:

I'm still working on getting the VLOOKUP to work. I must be doing something
wrong.


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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


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