Link 2 Worksheets & Accommodate Inserted Rows

Oct 6, 2009

I have a workbook with multiple worksheets, recording time in and time out of temporary employees. The first worksheet is a summary of each weekly timesheet. I would like to make it so the names only have to be typed once and will fill in on the subsequent sheets. I linked the cells, but since the employees may not work every week--we do not know in advance whether they should be included on the time summary at the beginning of the month.

Time Summary Worksheet
Last Name..First Name..Reg Time..OT
Bilson.........Bill.............40..........12
Samson......John...........40..........5


Time-Week 1
Last Name..First Name..Day1..Day 2, etc.
Bilson.........Bill.............12....14
Samson......John...........8.....10

Time-Week 2...

The problem comes when I try to add a row for a new employee. If I add it to the Time Summary worksheet all the data in the Weekly timesheet worksheets is thrown off.

Time Summary Worksheet.......................

View 4 Replies


ADVERTISEMENT

Link Value Of Cell In Last Column To Inserted Text Box (via VBA)

Jun 23, 2014

I'm trying to create a dynamic chart title by inserting a text box in the chart title that displays the value of the last populated cell in column A. The number of rows increases over time, so I'm trying to come up with a dynamic cell reference. When I hover over the text box a tool tip appears with this text "TextBox 2" so I assume that is the name of the text box. I'm definitely open to other methods that do not use vba. It seems that none of this code can activate the text box:

Code:
Sub textbox()
Worksheets("Figure3-5").TextBoxes("TextBox 2").Range("A" & Rows.Count).End(xlUp).Value
End Sub

[Code]....

View 1 Replies View Related

Formula To Link A Column Of Data Between 2 Worksheets And Duplicate Rows

Jan 27, 2010

I'm in need of a formula, or another automated technique, to link a column of data from one worksheet to another. I have an input worksheet that I copy the raw data into that is formatted as follows:

COLUMN A
Row 1 12001
Row 2 12004
Row 3 12011
Row 4 12020
Row 5 13050
etc...

I need this import sheet to link to an output worksheet that would be updated automatically as new data is entered into the input sheet. However, I need the output sheet to copy the input values a specified # of the times and list them. For example, if the specified # was 3, it would be formatted as follows:

COLUMN A
Row 1 12001
Row 2 12001
Row 3 12001
Row 4 12004
Row 5 12004
Row 6 12004
Row 7 12011
etc...

I need the formula, or method, to be one that I don't have to continually re-enter as the data changes, as I have thousands of records to do this with. I've tried filling down, but autofill doesn't recognize an accurate trend. Is this something that I can accomplish by combining several fomulas, creating macros, or a combination of the both?

View 2 Replies View Related

VBA - How To Reference All New / Inserted Rows

Jul 20, 2013

I would like to atribute a property (like colour) to any new row inserted in the spreadsheet. I'm struggling to find the correct way to reference a all inserted rows.

View 2 Replies View Related

Formula Not Extended To New Rows Inserted

Nov 5, 2006

I have some columns with formulas in it. at the end of the column (used range) i have a row with total values of individual columns. However, Whenver, I insert a new line, then the formula of that particular column is not applied to the new rows inserted. does any one know why? If it is not set automatically, How do i enable it do be done?

View 9 Replies View Related

Update Hyperlink To Accommodate Sheet Name Changes

Feb 24, 2005

Excel spreadsheet with approx 50 sheets with a summary page at the front.

Have put in hyperlinks to go to a sheet, but if the sheet name changes, the hyperlink doesn't update to reflect this.

Hence, broken hyperlink.

View 3 Replies View Related

Accommodate Different Drive Letters On Server

Dec 12, 2006

I have a problem that I have several workbooks that are getting more widely used by a number of users and I'm starting to encounter problems. The workbooks open files from particlaur locations to retrieve information but I am finding that not everyone has the same drive letter for the same server or shared drive.

For example Server607 could be drive J: for me but drive N: for people in another department. Is there a way to refer to the server location in VBA when opening files rather than the drive path?

View 2 Replies View Related

Applying Formula In A Column For New Rows Inserted?

Jul 23, 2014

I've applied a basic multiplication formula =D12*E12 in a table Column F, also I've filled it throughout but now if new rows are inserted in between or at the end of the table, new cells in this columns doesn't include this formula.

View 1 Replies View Related

Formula Cells Not To Change Once New Rows Inserted?

Dec 16, 2013

I'm trying to wrap my head around this. I have in a formula in one sheet pointing to a cell in another. Once I insert a row the formula adjusts. I need them to remain static.

I have tried searching, however I'm not 100% on the terminology.I have tried the F4 shortcut and put the $ signs in, however they still change.

View 1 Replies View Related

Nameless Tables Of Different Sizes Need 20 Rows Inserted Between One Another

Jun 10, 2014

I have a file with a lot of tables of different sizes. The table ranges have not been named. I would like to use a macro to insert 20 blank rows between each of them.

View 3 Replies View Related

Absolute Reference To The Cell Even When Rows Are Inserted

Feb 17, 2009

I have a spreadsheet that gets updated from the top. Is there any way for me to mod my formulae so that they always begin with the topmost cell (row 2 in this case, and in many columns) but still extend downward?

More practical example:

I have an Average formula in column X which (at the moment) averages X2:X75. I would like, even when adding new rows at the top (in the row 2 position) the forumla to not need to be manually extended with every new entry. So, if I add three more entrie4s, it will then average X2:X78. I tried all manner of absolutes.

View 9 Replies View Related

Macro For Inserting Rows After Every Nth Row And Adding Text To Inserted Row?

May 26, 2014

I have the macro to insert rows every nth row, but need to be able to insert text into that nth row.

I have a list of addresses and every 10 addresses i need to insert a 'seed' which will be have the same details everytime. This is what i have so far...

Sub InsertRowsMod10()
Dim r As Long
r = 10
Do Until Len(Cells(r, 1)) = 0
Rows(r).Insert Shift:=xlDown
r = r + 10
Loop
End Sub

View 2 Replies View Related

VB - Transpose Variable Number Of Columns Into Inserted Rows

Jul 23, 2012

I have a sheet with a company name in column A, and a list of comma separated values in column B. I can easily convert column B to multiple columns with the Text to Columns function, but then I'd like to insert each individual value in a new row in column B.

So, at the moment I have data that looks like this:

Company A
Value 1, Value 2, Value 3, Value 4, Value 5

Company B

Company C
Value 1, Value 2, Value 3

[Code].....

View 6 Replies View Related

Excel 2010 :: Absolute References Do Not Apply To Inserted Rows?

Nov 18, 2013

build a spreadsheet that reads information off of a Master sheet onto 4 other sheets. The hope is that by making changes ONLY to the Master sheet that the other 4 will update automatically.

And then we ran into the trouble of not being able to insert new lines onto the Master sheet without throwing everything off on the other sheets.

(I've attached an example.)

For instance, if I go to the Master sheet in the Test.xlsx attachment, I've left out Lima from the alphabet. So, I insert a new row onto the Master, switch back to the Formula sheet where it should (theoretically) just update the cells to display the new data.

Not so. The Formula sheet just skips the new A13 and keeps on going.

the primary one seems to be using Offset. Well, the coworker will be adding and deleting many, many rows over the course of the year, as it is a product log and we change our products often.

View 3 Replies View Related

Find Highest Value And Populate Newly Inserted Rows With Unique ID?

May 8, 2014

I want to find the highest value in a column (MaxValue) and populate first blank cell in a column with Maxvalue+1. Basically, I want to provide each new row with a unique project number. First, I'm running a macro to insert rows which copies the formula and format from Row 4, the user enters how many rows he wants and the requested number of new rows are inserted below Row 4 (That bit all works fine) . I now want to find the highest project number that has been used in Column 1, starting at Row 4, increment the highest project number by 1 and populate the newly inserted rows with the new project number.

I have a couple of problems with code I'm trying to use: If the active cell in column 1 is highest value the code ignores the active cell, i.e. this works once, as the cell that I have just populated becomes the active cell and the highest number, i.e. the next time the macro runs I get the same number as the active cell.

Ideally, I'd like use the number of rows that the user requested in the macro to insert new rows to be used in this macro to provide a unique project number for each of the newly inserted rows. (The add new rows macros uses Dim NoToAdd As Integer, as the number of rows that the user wishes to insert). Although, I'm quite happy to run the macro several times to find and populate projects which have not been allocated project numbers.

Here's where I've got to:

[Code] .....

View 2 Replies View Related

How To Link Worksheets

Apr 11, 2013

I have workbook with worksheet 1 and worksheet 2. I need to creat a link on Worksheet 1 so that when you click it it will take you to worksheet 2

View 1 Replies View Related

Hyperlinks Link To Other Worksheets

Nov 25, 2009

I have managed to find some code which, upon pressing a command button on the 1st worksheet in my workbook it:

1. populates a list of the names of all the other sheets in the document
2. converts each name into a hyperlink that when clicked, opens the sheet. (or at least it should)
3. Add the word 'menu' in cell A1 of each sheet that is a hyperlink back to the menu sheet

There are around 40 sheets in the document so you can see why this is easier than scrolling along the bottom to find the correct one. Or it should be.!

View 3 Replies View Related

Link To Ranges On Worksheets

Apr 7, 2008

I would like to link a sheet to another sheet in the same workbook. The link would indicate what week of information is needed. I would like the source (weekly information )page to go to the top of the page with the requested data. If I use a hyperlink it directs to the source page but this data could be several rows down. How do I create a link and have the source page provide the data at the top of the page?

View 6 Replies View Related

Link Cell Contents Across Worksheets?

Feb 28, 2009

I work for an IT company who build their own PC's. And we use a simple Excel 2003 spreadsheet to piece-together and price-up PC's for retail, I've attached an example of the spreadsheet for you to see. It uses basic formulas so we can see at-a-glance things like VAT figures, margin, profit etc. Each PC we sell is contained within one Excel file, and each PC has it's own Workbook tab.

The problem I want to solve is whenever we change a component or price, we have to do each system manually, which gets very repetetive and time consuming. What I'd like to be able to do is change the price of, let's say, the motherboard, and have the price be reflected across each of the PC's using that same motherboard on each seperate tab. This same system would apply when we change a product name, product ID etc.

View 2 Replies View Related

Macro To Link Information Between Two Worksheets?

Jul 11, 2012

I need to link information between two sheets.

In Sheet2 I have a list of products with their description in adjacent columns such as prices and other information. Sheet1 is a MasterSheet of some of the products listed in Sheet2. So I would like to write a macro that links the information of the product from Sheet2 to Sheet1 if I type the products name in Sheet1 (MasterSheet). The list of products (Sheet2) is updated in a regular basis, so by linking the info I would just need to update Sheet2 and Sheet1 would update as well.

View 4 Replies View Related

Create New Worksheets From Button/link

Jan 17, 2007

on a workbook I use.

The workbook (26-11GL.xls) contains a varying number of sheets.
Sheet 1 - Menu
Sheet 2 - DS1
Sheet 3 -DS2
Sheet 4 -DS3
Sheet 5 - DS4
Sheet 6 - Company1
Sheet 7 - Company2
Sheet 8 - Company3
Sheet 9 ....14 Company 4,5 etc
Sheet 15 - CompanyTotals

What I would like to do is when I open the workbook on the Menu page I would like to have some links / buttons that will automatically create a new worksheet called DS5 which has all the formatting, formulas etc from DS4 (or the last complete DS sheet)
If this is possible I would like to be able to add Company worksheets as both DS sheets and company sheets can have from 3 to 35 sheets in either area.

If possible I would like the new DS sheets to be named with the next valid number.

View 6 Replies View Related

Macro To Link Large Number Of Cells Between Worksheets

Feb 18, 2008

I would like to write a macro that links cells in one workbook (working) to cells in another workbook (summary).

I don't want this to be a straight swap thought, I'd like it to contain the following formula:

=IF(Working!G8="a","a","")

The cells in the working workbook are listed vertically, while the cells in the summary workbook are listed horizontally.

ie. link G8-G18 in working to B3-K3 in summary
link H8-H18 in working to B4-K4 in summary
...etc

View 9 Replies View Related

Make A Lookup On A String Of Words From One Of My Worksheets And Hyper Link

Oct 9, 2008

I want to make a lookup on a string of words from one of my worksheets and I also whant to make a hyper link so that when I click on the lookup command I should pop to the other worksheet were my database is.

View 2 Replies View Related

Link Data In Worksheets - Add / Deduct Formulas As Criteria Are / Aren't Met?

Dec 31, 2012

What can I do to link my worksheets together? I need the months to link from january to december.

I'm trying to come up with a system to maintain attendance of employees. How do I come up with a rolling system to add and deduct the points as their attendance changes? The goal of each employee is to have the least amount of points as possible, because he/she will be penalized once they receive a certain amount of points.

Let's say that Jane was hired in October. She has accumulated 10 points by December from tardies, call-ins, etc. By the end of January, she has perfect attendance; she is awarded half a point to be taken off toward her 10, giving her 9.5. In February, there is a day she does not show up, so now her total goes up to 12.5 (3 pointed added because of NCNS-no show no call). In March and April, she has perfect attendance, so now her total is 11.5. (half a point allowed for each month with perfect attendance)

By rolling, I mean a formula that will calculate continuously over month after month and have the points roll over month to month.

View 9 Replies View Related

Paste Link Of New Rows?

Jul 23, 2012

On Sheet1, I do have info from A1 - A10.

I copy it, and paste link it on sheet2.

If I add new info in Sheet1 next time (I use a program which populate info auto on sheet1), but this time the info is from A1 - A15.

How do I make sure that ALL the info on sheet1 are selected, and not only up to A10.

It can happen that the next time info is on A1 - A100.

Surely I do not want to select "empty" cells?

View 2 Replies View Related

How To Remove YouTube Link From Rows

Mar 9, 2014

I need to remove the you tube link which is on some rows

Row 9:

[Code] .......

Attached File : Description.csv‎

View 10 Replies View Related

Formula That Uses Link In A Cell To Create Offset Link

Jun 28, 2013

I have two worksheets, one with detail monthly information and one with YTD information. So let's say the three numbers I want to capture in the YTD sheet are in columns B, G and I on the monthly sheet. January's data might be in B5, G5 and I5. February's data is in B12, G12 and I12 and so on.

On the YTD sheet in cell C2 I link to Monthly!B5 and in C3 I link to Monthly!B12 so cells C2 to C13 on the YTD sheet show the monthly totals from column B on the detail sheet. On the YTD sheet, cells C20 to C31 show the monthly totals from column G on the monthly sheet, so cells G5, G12, etc. And finally, cells C40 to C51 on the YTD sheet show monthly totals form column I on the monthly sheet.

In the past I've always created all these links manually. After creating the links in C2 to C13 on the YTD sheet, is there a way to use a formula in C21 that uses the link in C2 to create a link for G5?

View 6 Replies View Related

Keep Formula When New Row Is Inserted?

Jun 16, 2014

I have a formula in Sheet1 column H that I need to appear in the cells when the button is clicked (the button inserts a new row).

View 1 Replies View Related

VBA To Highlight Inserted Row?

Jul 7, 2014

Below is some code I am trying to complete but ot does not ALL work.

I am inserting a row and I want the row to be highlighted.

The insert part is working ok but not the highlight part.

[Code].....

View 2 Replies View Related

When Row Inserted - Popup

Nov 2, 2007

I'm trying to write a code (and I have little to no knowledge of VBA!) so that when a line is inserted onto any worksheet in the workbook a msgbox appears....

Trying to get it myself I created this- it's probably COMPLETELY wrong, like I've mentioned I have little to no knowledge and just using websites/other codes I've seen to put this together... o.O

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved