+ Reply to Thread
Results 1 to 2 of 2

mileage sheet shortcut

  1. #1
    ClassyIrish
    Guest

    mileage sheet shortcut

    I have a mileage sheet that needs to be coded per person at work. So C12 is
    where the person types their name. A seperate spreadsheet has all company
    employees listed along with the code that needs to be added. What I would
    like to make happen is that the name typed in would be able to go to the
    other spreadsheet, match the name and insert the correct business code. In
    other words, like a telephone directory, I want to lookup someone name to get
    their telephone number, but I can't figure out how, or where to start other
    then the cell where I want to the code to go.


  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    ClassyIrish,

    =VLOOKUP(A1,Sheet2!A:B,2,FALSE)

    or

    =INDEX(Sheet2!A:B,MATCH(A:A,Sheet2!A:A,0),2)

    Where A1 is the employee name and Sheet2! contains the list of names and business codes in columns A & B.

    HTH

    Steve

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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