+ Reply to Thread
Results 1 to 4 of 4

insert/delete rows automatically to other worksheets when altering master list on sheet 1

  1. #1
    Registered User
    Join Date
    10-13-2012
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    6

    insert/delete rows automatically to other worksheets when altering master list on sheet 1

    Hello all. I've been reading and reviewing Forum posts and improving my Excel skills for a little while now. I would rate my skills as intermediate: I'm becoming pretty handy with formula use and formatting, but am now perhaps needing to get into macros (dreaded). Thank-you everyone for the advice provided and Forum creator for the service.

    My challenge: I regularly need to add or delete a row (only 2 affected columns) to my master job codes list which I keep on sheet 1 in the workbook and have added a named reference for (JobList). I then have 14 subsequent pages for 2 weeks worth of days and on each one I breakdown the personnel, hours, and funds spent across the varying jobs, and these figures autosum in columns next to a copy of that same JobList. I then have an additional worksheet which breaks down the bi-weekly totals apportioned through again the same list.

    All the jobs for this workbook (currently amounting +/-15 jobs) are within a plant for a single client. I need to present the departmental and individual job figures biweekly in a progress management meeting, so I endevour to have a neat professional excel file that is relatively dummy-proof for other supervisors to enter data into. As jobs may be completed, or others added, on any given day within any 14-day shift, I'd like to be able to make this change on the master list and the change then automatically reflect on the affected list portion of the other pages. Hopefully, when a new row would insert with a new job number and cost code (2 separate columns side by side in a chart appearance), the columns next to these would also automatically adopt the same calculation formulae using entered data on that sheet. (I protect all cells on the sheet save for a few simple data entry ones used by others, so as to preserve my formulas).

    I set up the dynamic named reference for my list, as mentioned. I tried to use an OFFSET with COUNTA formula on the other sheets to populate the list info for me hoping it would add and subtract on those sheets according to master reference, but I could not seem to find success with this method. I would get a #value error whether trying with the OFFSET/COUNTA formula in a single cell - to fill to surrounding, and also when trying to highlight the entire range to use this formula. Maybe I'm using this feature incorrectly (I hope so, as I would prefer this means than needing resort to macro creation)

    After much frustration, I have caved and began to accept that I may need to use a macro. I have zero experience with this, but do have confidence in my learning ability/aptitude. I've searched through this forum and around the net and cut/paste similar purposed macros. But none of this would work within the context of my workbook with its unique column widths and the the master list location on the first sheet (columns A and B) is different than on the subsequent sheets (columns H and I, with accompanying info next to in J and K). I tried to modify the macros to reference the cells I need, but the run failed each time for varying reported reasons. To avoid altering my entire sheet, I'd like if I could only have a row with these 4 cells inserted with the first two matching the 2 cells accordingly from the master list. The bonus would be if the formula for the 2 blank cells could ato-populate, as well. I'm certain it is possible, I just cannot seem to figure it out for myself with my rudimentary syntax understanding.

    I'd like to take a course or at least acquire a quality instructional book down the road, but cannot right now with these project demands. I'd sure appreciate any advice anyone may be able to offer. I'd provide my existing file, but it is in a pretty butchered work-in-progress state right now, and I've made a couple other changes to the previous version so providing it would be a bit inaccurate, too. I hope this all makes some sense. Let me know any thoughts. I'll sure appreciate it!

    Cheers,
    WC

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: insert/delete rows automatically to other worksheets when altering master list on shee

    Hi WC,

    don't get me wrong but I think that the reason why no one has replied yet is that you posted a novel instead of a excel question :-) Please consider summarizing the excel problem to 2-3 sentences (what goes where and when etc). Im pretty confident someone will help you out after that (would be even better if you could create a dummy file which would indicate what you wish to achieve)
    If you think that my answer was helpful, please click on the "Add to this user's Reputation" button.

  3. #3
    Registered User
    Join Date
    10-13-2012
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: insert/delete rows automatically to other worksheets when altering master list on shee

    Yes, it was too wordy. I apologize, was trying to be extra-descriptive. Now I have cleaned up the file to remove sensitive details and have attached it here to speak for itself.

    In a nutshell: I want to be able to add/delete rows/make changes to the Job#/Cost Codes (col. H&I) on the "Crew&Codes" sheet and have these changes/row additions auto-change on that same job list on the "Shift total" page and the daily pages (3 exist in this file, will be 14). Manpower tracking (v3. sample).xlsx

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: insert/delete rows automatically to other worksheets when altering master list on shee

    The easy way to manage this without pulling your hair out is - once you have done your changes to the main sheet, have the macro re-populate the other subsidiary sheets. This will work fine as long as there are no manual changes made to the subsidiary sheets.

    Will this work for you?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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