+ Reply to Thread
Results 1 to 7 of 7

Auto-populating a spreadsheet

  1. #1
    Registered User
    Join Date
    07-05-2012
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Auto-populating a spreadsheet

    Hi

    I am new to the forum and this is my first of possibly many questions for the experts out there.

    I have two worksheets. The information in one contains employee names, courses they have taken, dates of the courses and the refresh date for the course. The other spreadsheet has basically the same information, however it is displayed differently. the refresh dates on this second spreadsheet are incorrect. I would like to use the first spreadsheet to automatically input the data on second spreadsheet. Is this possible?

    Thanks

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Auto-populating a spreadsheet

    yes,

    Are you referring to different worksheets in a single workbook, or different workbooks -- spreadsheets is kinda open to interpretation.

    can you upload an example?
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    07-05-2012
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Auto-populating a spreadsheet

    Different worksheets

    I have created a new workbook as an example to show what I am looking for. I would like the dates from the worksheet entitled 'report data' to recognise the name and the course and automatically populate the date field in the training matrix worksheet.

    Hopefully this makes some kind of sense to you
    Attached Files Attached Files

  4. #4
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Auto-populating a spreadsheet

    attached is how i would do that,

    basically, you can use a pivot to do this (i sound like a broken record today!)

    See the attached. I added a combined name column to your data.

    Your dates are on the sheet2 area, two ways to go about this (one using combined name column, the other not).

    --edit--

    really, any approach will run into issues when you have last name, first name only. What if you have lots of employees with the same name (both first and last names)?

    I would suggest you use a unique ID on each row, like an employee number, to prevent this issue.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-05-2012
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Auto-populating a spreadsheet

    Thanks for this. However, I dont think it is what i need. I need the second spreadsheet to be populated without changing the layout or anything. Does this make sense

  6. #6
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Auto-populating a spreadsheet

    Fine, we'll do it your way See attached.

    Basic formula is here, this is what is bringing back the date values (repeated names would still lead to a problem).
    =SUMPRODUCT(('Report Data'!$A$3:$A$17='Training matrix'!$A4)*('Report Data'!$B$3:$B$17='Training matrix'!$B4)*('Report Data'!$C$3:$C$17='Training matrix'!C$3)*('Report Data'!$D$3:$D$17))

    Also, use conditional formatting to not show the 1/0/1900 date -- when you format a cell for dates, zeros become that fictional date. Recall 1 = 1/1/1900, 2 = 1/2/1900...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-05-2012
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Auto-populating a spreadsheet

    Excellent thanks for your help

+ 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