+ Reply to Thread
Results 1 to 4 of 4

Each cell has a code number, that code number brings up another code number in next cell

  1. #1
    Registered User
    Join Date
    06-25-2014
    Location
    New York
    MS-Off Ver
    2007
    Posts
    2

    Each cell has a code number, that code number brings up another code number in next cell

    Hello everyone,

    I am attempting to build a mileage tracker based on a master list of code numbers. After submitting the date in cell A, in the next cell, B, I would type a code number from the list, say 7. Seven is the massage parlor that is 15 miles away. So 15 would come up in the next cell C. How can this be done? Thanks.

  2. #2
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: Each cell has a code number, that code number brings up another code number in next ce

    Hi there,
    can be done with VLOOKUP:
    Book1.xlsx

    Hope it helps
    Regards
    Miroslav R.

    (If You like my solutions, feel free to add reputation.)

  3. #3
    Registered User
    Join Date
    06-25-2014
    Location
    New York
    MS-Off Ver
    2007
    Posts
    2

    Re: Each cell has a code number, that code number brings up another code number in next ce

    That works great. Big help! Thank you. How do I copy the code to reference the cell to the left for 1000 lines?

  4. #4
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: Each cell has a code number, that code number brings up another code number in next ce

    You are welcome!

    Just fix the vlookup range with '$':
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and drag down for as many lines as You want.

    Does it help?

+ 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. [SOLVED] VBA Code to Print a number of copies defined by number in cell
    By Rosco88 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-10-2014, 08:32 AM
  2. Getting VBA to not run a code if the cell.value is a number
    By jshaw82 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2013, 05:51 PM
  3. Help with code to get row number of specific cell value?
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-07-2012, 05:07 AM
  4. VBA code to unhide X number of rows based on a number entered into a cell above
    By gazza365 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2010, 08:48 PM
  5. Formating Cell Number Code
    By migurushii in forum Excel General
    Replies: 2
    Last Post: 01-26-2008, 07:27 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