+ Reply to Thread
Results 1 to 8 of 8

How to autopopulate columns on one sheet from a data range on another.

  1. #1
    Registered User
    Join Date
    06-29-2014
    Location
    Bristol
    MS-Off Ver
    Office 97
    Posts
    2

    How to autopopulate columns on one sheet from a data range on another.

    Morning all.

    What I'm looking at doing is taking a data range that consists of rows of names and columns of week numbers with each week of the year holding a value for if that name has achieved a target, say a 1 or 0. so along these lines..

    WK1 WK2 WK3 WK4
    Andy 1 0 0 1
    Bob 0 0 0 1
    Charlie 0 1 1 0

    What I'm then looking to do is then generate a report from this that just pulls the data from that range to populate columns that show the results of the last 4 weeks, but have those columns automatically update as the week number increments so that only the data range needs updating and noone needs to touch anything else. ie. in a week 20 it'll show the weeks 15-19 etc.

    Bad news is work only has an archaic version of Office 97 on hand which it would need to be compatible with. In principal this seems like it ought to be a fairly simple thing to do, I'm thinking something VLOOKUP related, but maybe I'm being overly hopeful..

    TIA

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to autopopulate columns on one sheet from a data range on another.

    Hi,

    Welcome to the Forum.

    I have created a template based on the description provided by you. Please see if this suits your requirement (file attached). I have used INDEX & MATCH functions to achieve the desired result.


    Regards,
    Chandra


    Please click on ‘* Add Reputation’ if this was helpful
    Attached Files Attached Files

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: How to autopopulate columns on one sheet from a data range on another.

    Please find the attached sheet to see if this works as per your requirement.
    There are three formulas on Sheet2.

    In A2
    Please Login or Register  to view this content.
    and then copy down.

    In B1
    Please Login or Register  to view this content.
    and then copy across to E1.

    In B2
    Please Login or Register  to view this content.
    and then copy across to E2 and down.

    On sheet1 increase the weeknum on row 1 and input data below for those weeknum to see if the correct data is reflected on sheet2 as per your requirement.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    06-29-2014
    Location
    Bristol
    MS-Off Ver
    Office 97
    Posts
    2

    Re: How to autopopulate columns on one sheet from a data range on another.

    cbatrody,

    Thanks, that does the job just fine and I can expand on that from there. I thought there'd be a relatively simple way to do it but I'm not familiar enough with Excels command list at present. Rep added!


    sktneer, 97 wouldn't load your file up unfortunately, something broke when it tried to convert it but thankyou anyway for the attempt to help.


    Regards

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: How to autopopulate columns on one sheet from a data range on another.

    Glad that you issue is resolved. Thanks for the feedback.
    Please mark your thread as Solved by selecting Thread Tools --> Mark thread as solved.

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to autopopulate columns on one sheet from a data range on another.

    Here is sktneer's file edited to be able to be used in your version of Excel. The only things wrong with the file was the number of columns addressed in the original file and the file format that the file was saved under. As data is entered on the first worksheet the second worksheet updates automatically as you requested.

    Nice work sktneer!
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: How to autopopulate columns on one sheet from a data range on another.

    @newdoverman
    Thanks for providing further assistance to the OP.

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to autopopulate columns on one sheet from a data range on another.

    @sktneer

    You're welcome. The formula itself was good but it covered too much "territory" for the old version of Excel.

+ 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] Commission Sheet - Autopopulate based on Date from Data Sheet
    By noobasaurus in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-28-2014, 01:08 PM
  2. [SOLVED] VBA to Auto Populate the “AutoPopulate” sheet as data is being entered in EnterData sheet
    By bjnockle in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-13-2014, 09:10 AM
  3. autopopulate formula from two columns of data
    By thedunna in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-11-2013, 09:57 AM
  4. Autopopulate other data sheets from a master sheet
    By lorinda in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2013, 04:04 PM
  5. Show data based on selected parameters
    By pphg in forum Excel General
    Replies: 4
    Last Post: 02-11-2013, 12:22 PM

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