Solved

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

Posted on 2011-03-25
12
198 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
  • 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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 500 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
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…

777 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