[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

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

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
webfullcircle
Asked:
webfullcircle
  • 5
  • 4
  • 3
1 Solution
 
nutschCommented:
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
 
Saqib Husain, SyedEngineerCommented:
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
 
webfullcircleAuthor Commented:
thanks to both. let me get the file together ad send over.
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
webfullcircleAuthor Commented:
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
 
nutschCommented:
Here is the actual link
http://www.cpearson.com/excel/DefinedNames.aspx
I'll look into your file.

T
0
 
nutschCommented:
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
 
Saqib Husain, SyedEngineerCommented:
I have a macro in mind but give me time to work it out.

Saqib
0
 
webfullcircleAuthor Commented:
after review these are the two best options. Now that what I call a quick solution. Thanks Thomas.
0
 
Saqib Husain, SyedEngineerCommented:
Thomas, is it possible to have a macro which adds rows to all sheets if one adds a row in one sheet.
0
 
nutschCommented:
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
 
Saqib Husain, SyedEngineerCommented:
Where would you store the number of rows? Or would you calculate it every time the workboook is loaded?
0
 
nutschCommented:
I'd store it in a workbook level defined name, and update it every time a row gets added.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 5
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now