?
Solved

Want to Insert Row on any tab and have row duplicate across all tabs

Posted on 2011-03-25
12
Medium Priority
?
203 Views
Last Modified: 2012-05-11
Have an Excel file that is used for Weekly Forcasting for employees.  Several staff enter data to the Excel Document.  There are tabs for each week and one tab at the end of the Excel document for a Summary of all weeks and to corresponding employee.  The Summary tab contains formulas that pull data from all tabs to calculate the actual forcasting data. If any employee enters a new row on any of the tabs and does not add a row to all tabs then the formulas on the Summary tab are thrown off.  Also, when adding a new row, you must keep the same number on all tabs or the formulas will be thrown off.  My goal is for an employee to have the shortest way possible to add a row to any tab and that data and formulas are replicated to the rest of the tabs as well as keep the formulas intact on the Summary tab.
0
Comment
Question by:webfullcircle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 3
12 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 35218303
1. Include a template file (without confidential info) and you'll get a lot more helpful answers.
2. check out dynamic named ranges, for instance here, at the Defined Names page of Chip Pearson's site. They should address your needs.

Thomas
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35218424
We really need a sample file which demonstrates the working of the summary sheet and shows how inserting or deleting rows affects it.

Saqib
0
 
LVL 1

Author Comment

by:webfullcircle
ID: 35218509
thanks to both. let me get the file together ad send over.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 1

Author Comment

by:webfullcircle
ID: 35218631
As requested.  Thomas, the link is dead for the Dynamic Ranges, but i am looking online now for other examples.
Company-Weekly-Forecast-Jan-2011.xlsx
0
 
LVL 39

Expert Comment

by:nutsch
ID: 35218644
Here is the actual link
http://www.cpearson.com/excel/DefinedNames.aspx
I'll look into your file.

T
0
 
LVL 39

Accepted Solution

by:
nutsch earned 2000 total points
ID: 35218749
As I see it

Option1:
Insert a macro in each of the sheets so if you add a row, it adds it everywhere. Relatively quick, doesn't change your processes or tables much.

Option2:
Separate the data entry from the restitution. Lot more work and it will completely turn your file around, but it will make analysis easier.

Thomas
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35218988
I have a macro in mind but give me time to work it out.

Saqib
0
 
LVL 1

Author Closing Comment

by:webfullcircle
ID: 35218994
after review these are the two best options. Now that what I call a quick solution. Thanks Thomas.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35219050
Thomas, is it possible to have a macro which adds rows to all sheets if one adds a row in one sheet.
0
 
LVL 39

Expert Comment

by:nutsch
ID: 35219373
Saqib, I'd create a worksheet_change macro, with three defined ranges per sheet, one range on top, one range at the bottom, one value with the number of rows between the two. If the distance between the two increases, then a row was inserted and you can update the other tabs with the changes.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35219436
Where would you store the number of rows? Or would you calculate it every time the workboook is loaded?
0
 
LVL 39

Expert Comment

by:nutsch
ID: 35219443
I'd store it in a workbook level defined name, and update it every time a row gets added.

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question