+ Reply to Thread
Results 1 to 6 of 6

Populating cells on one sheet with information from another sheet.

  1. #1
    Registered User
    Join Date
    10-01-2017
    Location
    London
    MS-Off Ver
    Office 2016 for Windows
    Posts
    3

    Populating cells on one sheet with information from another sheet.

    Hi there, I receive monthly usage reports for the mobile phones at our organisation, these reports need "Cost Centre" codes inputting.

    At the moment I have been doing this manually by searching the for the codes on our employee database for each individual "Team Name" and then manually entering them into Excel.

    If possible I would like to use a sheet of these "Team Names" and their "Cost Codes" to automatically populate the usage reports with the cost code.

    What is the easiest method of achieving this and what is the method?

    Example document attached.

    To Clarify I want to use the data highlighted in green on Sheet 2 to fill the column highlighted in red on Sheet 1

    If it helps: The position of names in the Usage Reports will change frequently as there is frequent change to the staffing of the organisation and allocation of the devices, meaning one can't simply copy a column of the cost centres over to each new report.
    Attached Files Attached Files
    Last edited by ryanspecter; 12-06-2018 at 11:54 AM. Reason: Added additional information

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Populating cells on one sheet with information from another sheet.

    for this i would just utilize a vlookup formula. This looks at the Team name in the row on Sheet 1 and Finds that team name on Sheet 2 and relays back the corresponding Cost code.

    In cell F2 on Sheet1 insert the following formula and copy down.

    =VLOOKUP($E2,Sheet2!$A:$B,2,0)

  3. #3
    Registered User
    Join Date
    10-01-2017
    Location
    London
    MS-Off Ver
    Office 2016 for Windows
    Posts
    3

    Re: Populating cells on one sheet with information from another sheet.

    Does your version of the formula cover the entire range? Data set consists of 1100 users.

  4. #4
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Populating cells on one sheet with information from another sheet.

    the bold part in =VLOOKUP($E2,Sheet2!$A:$B,2,0) means that it will look through the entire Sheet 2column A for the Team Names. Meaning that you could have up to 1,048,576 names in column A and it will work.

  5. #5
    Registered User
    Join Date
    10-01-2017
    Location
    London
    MS-Off Ver
    Office 2016 for Windows
    Posts
    3

    Re: Populating cells on one sheet with information from another sheet.

    Fantastic, I tried the formula and it works exactly as I had envisioned, thank you for your help.

  6. #6
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Populating cells on one sheet with information from another sheet.

    Glad it works and thanks for the rep

+ 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] Taking Information from one sheet and populating another sheet
    By Faham in forum Excel General
    Replies: 2
    Last Post: 10-12-2015, 01:16 PM
  2. [SOLVED] Populating one sheet with a separate sheets information based on criteria
    By madmoojuice in forum Excel General
    Replies: 3
    Last Post: 11-13-2014, 12:02 PM
  3. Replies: 1
    Last Post: 10-30-2013, 07:34 AM
  4. Replies: 1
    Last Post: 06-25-2013, 11:13 AM
  5. [SOLVED] Populating cells in another sheet
    By andyking40 in forum Excel General
    Replies: 5
    Last Post: 05-01-2012, 08:34 AM
  6. Replies: 1
    Last Post: 01-10-2010, 06:35 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