+ Reply to Thread
Results 1 to 4 of 4

Values to be renamed automatically

  1. #1
    Registered User
    Join Date
    02-09-2010
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    42

    Values to be renamed automatically

    Hi Guys,

    I have an excel sheet I have to manually adjust daily and it is very time costing.

    Inside the company we have special codes for vessels and same for locations. I need to send the file to agents in the port who don't have a clue about the codes and i need to manually rename them.

    I have created a "database" of vessel names and the codes (attached called "Macro"). I would like the formula to identify the vessel name and change it to a code and vise versa.

    I have attached a file "test" where i have already manually changed the codes to the actual vessel name.

    I would like to copy the formula to each report i create and use the file "Macro" as an database where i will be adding more vessels and locations.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-29-2009
    Location
    Berkshire, England
    MS-Off Ver
    For Office 365
    Posts
    57

    Re: Values to be renamed automatically

    This appears to be a simple Vlookup.
    Using your list of vessels, let's create an example. Enter 'HDS' in cell D1. Then, in cell D2, enter this formula...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I have never used anything other than 'false' for the last option, but the other three parts to this tell the cell to look up what is in cell D1 (HDS) within the first column of the table from cells A1 to B101 (The '$' signs will just mean that when you copy and paste this formula to other cells, it will always look in these cells) and then return whatever is in the second column.

    So, in this case, it would return 'HYUNDAI DRIVE'

    I hope this helps in some way
    Last edited by buzzbee; 10-30-2014 at 12:17 PM.

  3. #3
    Registered User
    Join Date
    02-09-2010
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    42

    Re: Values to be renamed automatically

    Hi Buzzbee,

    Thanks a lot!

    Unfortunately it is not quite what i was looking for.

    I would like these two files to interact. File "Test" is daily generated by a onsite report and is always in a similar format.

    Therefore i would like to copy into the filed D2 a formula, which will identify the vessel code and set the value to vessel name.

    Thanks a lot!

  4. #4
    Registered User
    Join Date
    02-09-2010
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    42

    Re: Values to be renamed automatically

    Hi Guys!

    Would really appreciate your help!

    Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-12-2012, 11:21 AM
  2. Prevent sheets from being renamed
    By LAF in forum Excel General
    Replies: 3
    Last Post: 02-01-2010, 04:30 PM
  3. pivottables: renamed fields and renamed data
    By lalbatros in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-04-2007, 03:30 PM
  4. Renamed ranges - PART 2
    By rm81 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2006, 09:00 AM
  5. Renamed invalid sheet name
    By Angela in forum Excel General
    Replies: 7
    Last Post: 02-17-2006, 11:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1