Linking Data - Best Practice
May 13, 2006
I have yet another general design or best practice question regarding linking data between sheets in a workbook.
So the example scenario is we have 12 individual customer pages shown amounts invoiced and credited for the financial year.
I want to create an overall summary page.
Is it best to:
1. Use straight link eg. =Data!A1
2. Use Vlookup
3. Use Indirect with Address function
4. Use Database functions
I believe providing you have enough available memory that there isn't an issue with any of the above methods.
View 3 Replies
ADVERTISEMENT
Feb 24, 2010
Does anyone know where I can get a large amount of generic data that I could import? I don't want my skills to get rusty while I am out of work. I keep finding little tables here and there, but I am looking for a big file that I can really play with. Maybe something with 20 or 30 columns and several hundred rows?
View 9 Replies
View Related
Dec 2, 2008
Am using a number of checks on Worksheet_Change and Worksheet_Calculate events and, depending on the result of the change, resetting a cell value.
For each of these I am using
Application.EnableEvents = False
Range("A1").Value = 0
Application.EnableEvents = True
to avoid that the change of A1's value triggers a calculation event and gets me into a loop.
However, something in my project is setting EnableEvents to False and not resetting it. I've searched the entire project for all instances and each "=False" is swiftly followed by a "=True". The code is not causing an error
The only way to get around this is to have a user press a button to re-enable events, but I can't tell them to press the button because there are no events to trigger the message!
View 9 Replies
View Related
Jun 28, 2006
Task - Streamline & Automate daily Excel Tasks for 13 Staff & Manager, based in 2 different locations. Current Status. 25 workbooks, "Shared", + 1 Workbook {List.xls}, "Not Shared". All Validation lists are in this List book. 1 main data entry sheet in each workbook, feeding totals on Main Tab. Each data entry sheet is 10 columns, 250-700 rows. 5 Colums are free text entry, 5 are fed from data validation lists. The data validation lists are on another Tab, which is linked to a non shared workbook.
Each workbook has a Main Tab, which totals data input, and represents data in colours, in different cells..Picture a warehouse, with shelves & racks. I am in the middle of designing a simple form...but not so simple..thats another story. I am concerned that there is a lot of potential for disater, especially with shared books. I have thought of the access route, but the staff need to see colours on the sheets. Any opinions on what the Best Practice may be to handle this scenario. My main forte has been formula, pivot tables & external data..this is a new challenge
View 3 Replies
View Related
Aug 10, 2007
I have been tasked with performing a work measurement study to improve productivity in our organisation. I managed to adapt a paper based report to an excel file; with the view of creating a model. I also intend adding the cost of employing people in specific positions to determine the cost per hour for each specific activity.
View 2 Replies
View Related
Aug 11, 2008
I am trying to reorganizing my database. Therefore data i like to restructure my current data (sheet 1) into a similar format of sheet 2. Is there a way to automate this process?
View 3 Replies
View Related
Aug 7, 2006
I thought I read somewhere that it wasn't good practice to format a whole column(s) b/c then you would have empty cells that were formatted. Is there a better way that you guys format your columns without selecting the whole column? I know you can do this in VBA, but I was just wondering if there was a way that I'm unaware of.
Second, is there a formula that can inserted into conditional formatting, that will check a named range against two other cell values. If that ranges date is > AB2 and <AC2 then it will bold that range? I'm trying to figure out how to do things without always relying on VBA if possible.
View 2 Replies
View Related
Dec 27, 2012
I have a simple reporting sheet where the data for orders place is in one sheet and on the other sheet is an imput box for 'date' and it filters through and presents a table of data and two graphs for the date chosen.
I give a daily report (contents of this sheet) but I also need to leave this sheet available for anyone to open and change to another date.
I want to copy the repor sheet into a new one and email but I want the graphs to remain, not go blank when anyone changes the original sheet.
Excel 2007 / Windows 7.
View 3 Replies
View Related
Jul 16, 2014
You have two Workbooks open. Workbook 1 and Workbook 2.
You COPY all the data from Workbook 1 and PASTE the data as a 'Link' into Workbook 2.
You then save and close both Workbooks.
You then open Workbook 1 and edit the data. You save and close Workbook 1.
QUESTION
Will the linked data in Workbook 2 update automatically (i.e., without opening the file)?
View 4 Replies
View Related
Jul 28, 2014
I have a database sheet with a ticket list which has various columns like business area, ticket number, location, status etc. I am creating a new sheet where i want to highlight only the tickets that are in pending status and I dont want all the columns from the main sheet but just a few. How can I link it so its automatic.
View 4 Replies
View Related
Aug 18, 2014
I am trying to develop the best way to link two tables in two separate sheets in the same workbook in Excel. One table in the main sheet has a large amount of data in it, and the table in the second sheet collects selective date from the table in the main sheet. This makes it easier for the user to view the more important data from the main table. I developed IF functions which display the data from the main table into the new simplified table. The simplified table takes the data of each row from the main table in row order (row 1, row 2, row 3, etc.). Now the issue I am running against is that when I insert a new row within the main table, the second table does not see the newly inserted row.
Here is an example:
Say that both tables are sychronized upto row 40, and I decide to insert a new row with new data after row 25 in the main table. The simplified table will not see the new row because it is already past row 25, and the next row it will recognize from the main table will be row 41. Is there a way to have a VBA macro link the amount of rows in the two tables and have it so the simplified table will even display the data for the new rows in the main table?
View 8 Replies
View Related
Sep 2, 2009
A B C
1Timber$200A-rating
2Metal$500C-rating
3plastic$100B-rating
A1:A3 was input into combo box list. If I select an option in combo box, how can I make B11 and B12 to update data accordingly? (ie, if Metal was selected, B11 should show $500 and B12 should show C-rating)
View 4 Replies
View Related
Nov 22, 2013
So I have 2 spreadsheets of Car Inventory Data that I want to export into what will be printed out as Addendum Stickers...basically we're offering a new product with all vehicles and need to update the Sticker Price to reflect the change. The main worksheet with all of the data I'm trying to export is as follows:
Column A:
Stock Number
Example: (Column, Row A3) T12345
Column B:
Model Number
Example: (Column, Row B3) 1234A
Column C:
VIN Number
Example: (Column, Row C3) ABCDEFG12A3456789
Column D:
Retail Price
Example: (Column, Row D3) $20,100
Column E:
New Product Cost
Example: (Column, Row E3) $399
Column F:
Model Name
Example: (Column, Row G3) Camry
----
Now the price of the new product being added in is the same: $399. All data runs in rows (A3-E3, A4-E4, etc.). I AutoSum'ed each row and output the new calculated price into Column F next to each row of vehicles.
----
I want to take the Stock Number, Model Number, VIN Number, Retail Price, New Product Price and New Updated Total or Columns A-F and output them into multiple sheets:
Example:
Company Name (B1-C1)
View 1 Replies
View Related
Mar 26, 2007
If you look at the attached picture, it is from a workbook.
The frame contains data depending on what tabstrip is chosen.
It is controlled with hiding rows in vba, how on earth do you get a frame like that which contains links to another worksheet?
View 9 Replies
View Related
Apr 18, 2007
I have created a form that pops up when I open a new template. In that form I have inserted a combo box that I want to be able to select data from a separate spreadsheet that is on our server. What code do I need to write to link this data to my combo box. Below is what I have written.
Private Sub UserForm_Initialize()
'Add list entries to combobox. The value of each
'entry matches the corresponding ListIndex value
'in the combo box.
cbSiteAddress.AddItem ("P:AccountsBilling Schedule.xls'MASTER SCHEDULE'!A5:A103")
'Use drop-down list
cbSiteAddress.Style = fmStyleDropDownList
'Combo box values are ListIndex values
cbSiteAddress.BoundColumn = 0
'Set combo box to first entry
cbSiteAddress.ListIndex = 0
End Sub
View 9 Replies
View Related
Dec 11, 2013
I'm trying to link specific data from one workbook to another. So from the demo I've attahced, I need all of the 3rd row "ATP BASIC SERVICE : 1" to be linked to another workbook.
So normaly I could copy the row, go to the other workbook, "paste special" and link it to a column.
The only problem is the "ATP BASIC SERVICE : 1" data will not always be on the 3rd row.
So i assume I would need to automatically search for "ATP BASIC SERVICE : 1" and if it is found, copy the column over to the other workbook.
View 4 Replies
View Related
Jan 5, 2009
I have two cells on Sheet 1 - Cell A1 and Cell A2.
Cell A1 is the first cell that will receive either a number, or nothing. When it receives a number, the number will always contain five digits. (For example: '23456'.)
The contents of Cell A2 depend on the contents of Cell A1 - If Cell A1 contains a five digit number, then Cell A2 will display that same five-digit number with '-1' following it. (In our case: '23456-1'.) If Cell A1 contains no number, then Cell A2 will just be another ordinary cell allowing the user to enter whatever he/she desires.
The extension in Cell A2 should remain editable at all times - if the user wishes to change the '-1' to a '-2', for example, he/she should be able to do so without any error messages appearing. However, the user must not be able to change any of the first five digits in Cell A2 as long as Cell A1 contains data. A message should appear stating that changes to the first five digits should be performed in Cell A1 - which would then change Cell A2 accordingly.
Also, if the contents of Cell A1 are erased for any reason, Cell A2 should keep the five digit number, but lose whatever '-x' extension it contained.
Can this be done using Data Validation?
View 14 Replies
View Related
Nov 12, 2009
I have had much assistance with this complex (I think it's complex) macro in the past, however, there are still a few bugs that need to be worked out in order for it to be completely efficient. Any help would be really appreciated, and I'll do my best to explain what's going on at this point:
I have a worksheet called the 'Data Entry Page'. You will find it attached. Here are the requirements:
The PO Number cell will only allow ten digits with a dash, and will receive values such as 1200012345-1.
The Part Number cell will receive a value which will usually be six digits long with a dash, and will receive a value such as 654321-1.
The Identification Type cell will receive at least one of the following values, or two or more of the following values separated by '&' (Note the spaces between the digits):
I
I I
I I I
IV
IA
I IA
I I IA
IVA
or (some combination examples):
IA & I I I
I I & I I IA
I VA & I IA
View 13 Replies
View Related
Mar 27, 2012
I am creating a Payroll Database. It is nearly complete except for the federal and state withholding tax data. I want my db to look up the data which I have saved in an excel workbook. I need the lookup to be for marital status and # of exemptions. There are a total of two variables for each table. 1. How much the gross pay is (ex. between $175-185) and # of exemptions (ex. 3 exemptions).
View 2 Replies
View Related
Feb 13, 2007
I'm using MS Excel 2003 Pro. I need to link data from one source worksheet to a target worksheet in the same workbook when only one variable changes in the source worksheet e.g.:
A. From source worksheet:
When the data under the "Expected Date" column is set (it normally is blank)
B. Populate target worksheet with:
1. Name
2.aaaa
3.bbbb
4.cccc
5.dddd
6. expected date (the actual date that is set from the source worksheet)
View 9 Replies
View Related
Mar 8, 2007
how to use avery 5963 labels within a workbook so that you can paste links to cells on different pages of the workbook? so that whenever the data changes it will update the labels automatically for printing.
View 9 Replies
View Related
May 26, 2006
I am importing data from an outside excel file to several other files. I requested that the data be refreshed every time I open the file that references the outside excel file. Whenever I have a file open that references the outside excel file, I can only open the outside excel file in a read-only state. Why is this, and is there any way around this issue?
View 2 Replies
View Related
Jul 11, 2013
This is my first time usng a pivot table. I need to link the pivot table containing three fields to the array of data containing five fields below. Here is a sample workbook. I would like to make it so that when you select a criteria in a field in the pivot table, it will filter the data in the array below. Attachment 249295 I haven't recieved a reply in the other forum probably cause very few people view that particular forum. Heres the link: [URL]...
View 6 Replies
View Related
Aug 12, 2014
I have a question regarding linking the content for data validation lists stored in a different workbook.
The scenario is as follows: I will have say 50 users using a template which contains various dependent drop-down lists. These lists work by using the INDIRECT function which calls the correct drop-down based on the previous selection. The drop-down entries are currently stored in named ranges on a hidden worksheet in each user's file.
However, if I need to make a change to the content of these lists, I will have to open all 50 files individually and change each one. So I'd like to have a master file to which all the templates would be linked which would contain the entries for each drop-down. So when I update a list in the Master file, it would automatically update the drop-down lists in each user's template with any additions deletions.
My question is, how do I create the links between the user templates and the master and have it so that the list ranges will be dynamic. So if a drop-down list contains say 10 entries and I add 2 more in the master, that those 12 now appear in each user's template?
View 3 Replies
View Related
May 30, 2008
In cells A1, A2, and A3 of Sheet1 I have data. This data is the result of some calculation else where in Sheet1. Nevertheless, I would like to link this data to Sheet2 in cells A1, A2, and A3. Now normally, you can't do this. But is their a way around this error message?
View 10 Replies
View Related
Aug 21, 2013
I have an array of data that I want to be able to filter based on the selection in a dropdown box. For instance, If I select district manager, I want to show the data of only the people who are successors for district manager. For my own reasons I want to use this method rather than just applying the standard filters to the column headings.
I have attached a sample workbook : DummyData.xlsx
View 5 Replies
View Related
Nov 24, 2008
In the code below I am defining ranges in a sheet and then using an offset and a scrollbar linked to the offsets. Then I make a graph using the data so that I can use the scroll bars to move the linegraphy left or right to compare the data sets.
My problem comes when linking the values to the graph. I know I can do this by referring directly to the xls file, but as I have loads of different files I want to apply this to I would rather use an active workbook reference...however this does not seem to work. The current code referring to the sheets works but then I have to go into the graphs and change the source data to get them to operate off the scroll bars.
View 8 Replies
View Related
May 15, 2014
I got the attached dashboard example from a source online.
I was wondering how they linked their pivot chart with a drop down (data validation). This is the pivot chart on the bottom right that is labeled "Brick Styles".
Dashboard_Your_Scorecard_Complete_2010-1.xlsx
View 1 Replies
View Related
Jun 28, 2014
I am working with two spread sheets; one is my take-off/summary sheet which is where I populate all the data for the project I am working on, the second sheet is also a summary sheet but it has also other functions; hence, I need to have two spread sheets.
I need to link/reference the data I have on my take-off sheet row 119, column K through ACL (lots of columns) to my other sheet but it now needs to be referenced in a column direction. At first, I enter = (sign) in T9 (the sheet I need to bring the data in) and then I go to the take-off sheet select N119 and hit enter, this first data is good, but then I try to drag it down to populate all the data from the other sheet but even though I lock the row (N$119) and let N free the formula doesn't populate this: =!N$119, =!O$119, ='!P$119 and so on so for...all what it gives me is =!N$119 all the way down...
View 13 Replies
View Related
Dec 20, 2012
I have two excel sheets, one has partial information (displayName, title, company, streetAddress, city, state, postalCode, Pager, homephone, fax) the other has the missing information that I need on the first sheet.
Sheet 1 (DB1, has partial info) and Sheet 2 (DB2, has the missing info). I need to somehow link these two, and what they both have in common is name. DB1 has "displayName" which is just First Name Last Name (e.g. John Smith). DB2 has First Name and Last Name, but i'll concatenate that to a new column named "displayName" ( which I assume will be needed to link? ).
The missing information in DB1 is title / streetAddress / city / postal code. DB2 has "Location" (which is a company code, and I want to replace the code with the address, city, postal code) and "Group" (which is title).
To make it easier, I could just do a find and replace on DB2 (e.g. A01-DFW-HWY67) and do it that way right? Or is there any easier way to do that?
Other than that though, how would I link DB1 and DB2, using displayName and fill out DB1 with the information from DB2?
View 2 Replies
View Related