+ Reply to Thread
Results 1 to 2 of 2

Copy a line of data to a new worksheet every time value appears (without blank rows)

  1. #1
    Registered User
    Join Date
    02-02-2021
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    1

    Copy a line of data to a new worksheet every time value appears (without blank rows)

    Hi,

    I'm creating a project resource planner and I need help summarising it per person. On Sheet 1, the project name will be listed (i.e. Project A) alongside a named resource (i.e. Chris) and then a weekly time estimate plotted against a calendar. On Sheet 2, every time the named resource appears I want it to carry across the project name and estimated resource.

    I've attached a simplified demo version; I want columns B-BC on Sheet 2 to autofill with data from columns B & D-BC whenever the names in column B of Sheet 2 appear in column C of Sheet 1.

    This will be managed by somebody not very confident on Excel, so I really want a formula that will automatically do it rather than having to play around with pivot tables, filtering or any other manual function.

    Thank you for your help
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Copy a line of data to a new worksheet every time value appears (without blank rows)

    So I added a couple of helping columns. Sheet 1 A:A added the project name next to each entry - you can use an Offset if it will ALWAYS be the same number of rows for each project - Then I inserted a row (D) to count the instance of Each name in the sheet :
    Please Login or Register  to view this content.
    ON SHEET 2 : Added in column A:A a count (series) beside each line so Chris has 1-10, Ellie has 1-10 etc... You have to unmerge B & C (it is not a good Idea to merge cells in this kind of application - just resize them )
    in column B
    Please Login or Register  to view this content.
    This is an array formula.
    Under each date
    Please Login or Register  to view this content.
    also an array formula.

    There may be an easier way, but this is how I would try it.

    Edit: Cheers - just saw you are in England
    Last edited by CRIMEDOG; 02-03-2021 at 12:46 PM.
    If this solves your issue, Mark thread as Solved & Add Reputation.

    Thanks!

+ 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] Copy Non Blank Lines to new worksheet appending to first blank line
    By stephboucher in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2021, 07:22 AM
  2. Replies: 2
    Last Post: 10-15-2018, 10:46 AM
  3. Replies: 11
    Last Post: 07-30-2015, 12:35 PM
  4. Replies: 1
    Last Post: 04-05-2013, 03:40 PM
  5. Replies: 0
    Last Post: 09-26-2012, 11:26 AM
  6. Copy certain rows and columns if data appears in one cell
    By pmarsella in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-21-2009, 04:11 AM
  7. [SOLVED] Copy rows of data to another worksheet where ReturnDate is blank
    By Helen McClaine in forum Excel General
    Replies: 2
    Last Post: 03-28-2005, 07:06 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