+ Reply to Thread
Results 1 to 3 of 3

Assigning numbers to names

  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    London, UK
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    2

    Assigning numbers to names

    I have a file with a list of names in one column and a number that is assigned to that name in a second column.
    Is there a way that I can create another sheet where if that number is entered it will replace that number with the name?

    For example 'John' is assigned 1234 on Sheet 1, if I enter 1234 on Sheet 2 I would like it to display 'John' instead.
    Last edited by Noodzer; 06-26-2019 at 09:18 PM.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Assigning numbers to names

    To get you started.

    Code in Sheet module of Sheet2.

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    06-26-2019
    Location
    London, UK
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    2

    Re: Assigning numbers to names

    Perfect, thank you very much.

+ 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. Assigning Values to Names
    By cmwolff01 in forum Excel General
    Replies: 3
    Last Post: 11-09-2016, 07:03 AM
  2. Assigning IDs to names - is this possible?
    By benyben123 in forum Excel General
    Replies: 8
    Last Post: 12-01-2013, 10:31 PM
  3. Randomly Assigning Names
    By kevinclark100 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2013, 03:36 PM
  4. Assigning values to names in a for next loop
    By GazzaLDN in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-15-2013, 04:51 PM
  5. Assigning names to worksheets from within a macro
    By smgordon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2009, 01:04 PM
  6. Assigning numbers to names
    By Levi in forum Excel General
    Replies: 1
    Last Post: 05-04-2006, 05:40 PM
  7. [SOLVED] Assigning set of range names
    By ADB in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-25-2005, 07:05 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