Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default convert column values

My error: VLOOKUP table should be absolute addresses e.g $A$2:$B$500.

This is why got your (my!) error condition.

Also see Harlan's note.

"charles" wrote:

Thanks Toppers
I tried that, but the problem I have is that the ID that need to be replaced
will occure more than once. I've got an employee list of about 20000 folks so
I could have 2000 or so working at one location and I need to make sure that
when I do this converstion that all 2000 get their ID number translated. I
tried what you said below and anytime there was a duplicate occurance of a
location code, the translation came back with #NA???

Thanks again,
Charles

"Toppers" wrote:

Charles,
VLOOKUP function is one way, with table of branch codes
and system codes.

In a spare column put:

=vlookup(branchcode,Sheet2!A2:B500,2,false)

and copy down. When succesful, you can replace the branch codes with system
codes as required.

where branchcode = cell containing Branch code

A2:B500 is a table of branch codes(A) and system codes(B) on (for example)
Sheet2

The following produces an error if there is no branch match:

=If(iserror(vlookup(branchcode,Sheet2!A2:B500,2,fa lse)),"Invalid
branch",vlookup(branchcode,Sheet2!A2:B500,2,false) )

HTH

"charles" wrote:

I'm sorry if this is already here somewhere, but I could't find any references.

I need to upload a list of people into our computer system and this list is
comprised of their names and the code for the branch where they work. The
computer system into which I need to upload this list will not recognize the
current branch ID code for those employees, but I do have a list that is
basically a comparison of the two different codes. For example branch code
800 on the list equals branch code C001 in the system. I need to get a way in
excel to convert all the branch codes that are next to the employees to the
code I have currently in our system. Is there a way in Excel to "translate"
the existing (non-system recognized) codes into the ones that they euate to
in the system? I'm sorry if this is a basic question. I only starte using
Excel a little while ago and am learning as I'm going.

Thanks

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
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
how can i multiply two columns edgar Excel Worksheet Functions 7 March 2nd 06 03:29 PM
To copy values in a column relevant to text in an adjacent column? Guy Keon Excel Worksheet Functions 2 November 15th 05 08:10 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
How do you convert numbers as "text" to values for a long column . geoexcel Excel Discussion (Misc queries) 2 February 27th 05 04:31 PM


All times are GMT +1. The time now is 01:15 AM.

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"