+ Reply to Thread
Results 1 to 5 of 5

Automatically populating cells in a worksheet based on other worksheet column

  1. #1
    Registered User
    Join Date
    10-14-2008
    Location
    India
    Posts
    40

    Automatically populating cells in a worksheet based on other worksheet column

    Hi,

    I have an excel sheet with two worksheets. Sheet 2 contains columns Date,Ticket Number,Team and Name. Sheet 1 contains columns Name and Team.

    I want to create a formula wherein as soon as I enter the name in Sheet1 under column name, the system should fetch the team from the Sheet2 corresponding to the name and display the same under column Team in sheet1.

    An early help in this regard will be highly appreciated. I am attaching the sample excel sheet.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Try VLOOKUP
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-14-2008
    Location
    India
    Posts
    40
    Hi,

    I tried =IF(ISBLANK(VLOOKUP(Sheet1!A1,Sheet2!$C$1:$D$20,2,0)),"",VLOOKUP(A1,Sheet2!$C$1:$D$20,2,0)), But it did not yeild any results. Please see the sample sheet.

    Thanks

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    VLOOKUP searches the leftmost column of a range for a match(see Help). Try =INDEX(Sheet2!$C$2:$C$10, MATCH(Sheet1!A2, Sheet2!$D$2:$D$10))

  5. #5
    Registered User
    Join Date
    10-14-2008
    Location
    India
    Posts
    40
    Thanks... It helped.

+ 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