+ Reply to Thread
Results 1 to 2 of 2

Find name in list and get dept # enter dept # on work sheet

  1. #1
    Jamba
    Guest

    Find name in list and get dept # enter dept # on work sheet

    Working on a log and would like Excel to find the department number and enter
    it into the cell next to name when name is entered into the log. Have
    created a list with names in column "A" and department #'s in column "B" .
    Sheet 1 named Log
    Sheet 2 named Names List

  2. #2
    Biff
    Guest

    Re: Find name in list and get dept # enter dept # on work sheet

    Hi!

    Try this:

    A1 = some name

    =VLOOKUP(A1,'Names List'!A:B,2,0)

    To make it more robust try one of these:

    =IF(COUNTIF('Names List'!A:A,A1),VLOOKUP(A1,'Names List'!A:B,2,0),"")

    =IF(ISNA(MATCH(A1,'Names List'!A:A,0)),"",VLOOKUP(A1,'Names List'!A:B,2,0))

    =IF(ISNA(VLOOKUP(A1,'Names List'!A:B,2,0)),"",VLOOKUP(A1,'Names
    List'!A:B,2,0))

    Biff

    "Jamba" <[email protected]> wrote in message
    news:[email protected]...
    > Working on a log and would like Excel to find the department number and
    > enter
    > it into the cell next to name when name is entered into the log. Have
    > created a list with names in column "A" and department #'s in column "B" .
    > Sheet 1 named Log
    > Sheet 2 named Names List




+ 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