Updating A Master Spreadsheet From Other Spreadsheets
Jul 19, 2009
I'm on a BTEC in college and my tutor wants me to create 3 spreadsheets, one of them is a Master spreadsheet which shows each pupils grade for each module, their over all end year grade and how many UCAS points that grade will earn them. The other two sheets are for the modules which will have the grades of the pupils in that lesson, Pass, Merit, Destinction or Fail. I hope you're still with me... I've attached an example of one of the 'Slave' spreadsheets as I call them.
My problem is that I can't seem to find a way of doing all this without constant nesting of COUNTIF. The code I have for my 'Unit1' spreadsheet's grade is:
"=IF(COUNTIF(B3:G3,"x")=6,IF(COUNTIF(H3:J3, "x")=3, IF(COUNTIF(K3:M3, "x")=3, "Distinction", "Merit"), "Pass"), "Fail")"
It works, but it's very messy. If this sounds confusing I apologise, the attached documents should clear some of the confusion up. Once the smaller spreadsheets work, the Master needs to use them to update it's cells. If someone has a Merit grade in 'Unit 1', the Master needs to show it too by somehow linking the 'Grade' cell from 'Unit1' to the 'Grade' cell in the Master spreadsheet.
View 3 Replies
ADVERTISEMENT
Apr 16, 2014
I am trying to find a code that will allow me to generate multiple sheets depending on what is selected in one specific column. I have found a code that is perfect for this however I can't seem to set the range. For example instead of copying all of column headings I only need to copy up to column AN2.
View 1 Replies
View Related
Jul 24, 2008
I have some code that opens several different spreadsheets, copies data and pastes it to the main sheet (that contains the code)
I have added the Application.screenupdating = False line of code, but it still does not seem to freeze the screen.
View 9 Replies
View Related
Jun 24, 2008
We have 13 salesman each completes a quotation log (each log is identical - except for the data obviously)
For month end and reporting purposes it would be useful to have 1 single log sorted by date.
It is not possible for each sales man to input the data into one log as some are away on business and take the log with them.
The logs are all stored in the same directory however there are other files and excel spreadsheets in the same directory.
This is how I would like to see it working - On opening the "MASTER" sheet it automatically (no user input required) clears out the old data, then gathers all the data from 13 spreadsheets, sorts it by quote date and dumps it into a new workbook.
We will be using excel 2000, 2003 & 2007 I can enable macros on all machines if necissary.
The spread sheets are very simple, single sheet with no formulas - just manually adding data. There will be no blank rows and data will be held in the range A - S with rows 1-4 being headers and titles
View 9 Replies
View Related
Aug 4, 2006
Whilst my question is partially answered in other threads, I don't seem to be able to get enough info to piece together a complete solution for my required task.
I have a "master" workbook that contains worksheets that are simply lists to be referred to by other workbooks...
IE; one worksheet is a list of customer names, another is a list of products, etc, etc...
The idea is that I only have to update the data in one place, and all the workbooks that use this information can draw the current data from a single source...
What I require; is some VBA code to import the require worksheet from the closed "master" workbook, and hide the imported worksheet so it's not seen by the user... this action would have to replace the previous copy of the hidden worksheet...
Ideally this would happen automatically when the user workbook was opened...
View 6 Replies
View Related
Oct 10, 2013
I have multiple data sheets with tables and I want to create a master sheet table that automaticly will update when now rows/data is added in to the sheets in any of the data sheets.
Master sheet will look like this (the first 3 letters is the data sheet name), this is just the first column there a a lot more columns to be added
AAB08
AAB09
AAB10
AAB11
AAB12
[Code] .......
So when let's say in sheet AAB I add another row AAD13 I want the master sheet to update automaticly so it looks like this
AAB08
AAB09
AAB10
AAB11
AAB12
[Code] ......
Is this possible?
View 1 Replies
View Related
Sep 2, 2008
I have basically read all the posts on similar subjects and have tried for a few days to make it work but my solution is far from good enough. So now I am asking for you help.
My project: I have a Master workbook that contains the complete sales for the entire business. This is based on input from three different departments. These three departments have their own Excel workbook that they enter information into. The four files are all located in the same directory on a network folder.
What I want to do is to automatically gather all the entries from the three slave workbooks to the master workbook whenever the macro I am trying to create is run. There is no way of knowing how many new entries each workbook will contain and they have to be added so that that they don't overwrite eachother and so that they are put in sequence after the last row in the master workbook.
Now the information to be gathered is located on the first worksheet in all the three workbooks. The destination sheet in the Master workbook is also the first worksheet in the workbook. The structure of the information that I want to copy is equal on all the worksheets meaning that one sale is entered as a new row in the sheet. It is this row that I want to copy to the mastersheet.
What makes it a bit more complicated is that I want to extract certain information from one sheet and different information from other sheets. From one sheet i want to copy the entire row and from another sheet I just want to copy certain figures like Order Number, Customer, Price and so on. Meaning that I will have a different set of what I want to copy depending on what workbook I am copying from.
Here is what I have so far, it is not working by far and I tried to aim for something simple to start with since my vba experience is limited. So far I cannot copy anything into my Destination master file...
View 9 Replies
View Related
Jun 18, 2008
I want to create a single spreadsheet containing a selected row from each of 365 spreadsheets;
Background:
(1) I have 365 Excel spreadsheets (1 for every day of the year);
(2) Each spreadsheet contains:
(a) 24 values (one for every hour) horizontally with hourly average temperatures; and
(b) 8,000 records (vertically) for 8,000 different locations;
I want to create a new single spreadsheet in which I select a specific location (say, Linden, New Jersey), and capture the temperatures for all 24 hours (horizontally) and all 365 days (vertically);
the file names are all;
20070101.xls, 20070102.xls, 20070103.xls, ............ 20071231.xls (one for each day of the year)
(I tried using =VLOOKUP(Linden,CONCATENATE(A1,A2,A3,"'.xls'!","$B$1:$CA$8017"),3,FALSE); where A1, A2 & A3 are year, month & day respectively) but was unsuccessful;
View 8 Replies
View Related
Oct 1, 2012
I have created with most of it being done by Austrada (who has done a great job) code to copy multiple spreadsheets into 1 spreadsheet. We have run into a error Run Time Error '9'. Subscript out of range.
Sub CopyData()
'----------------------------------INFORMATION----------------------------------------
'You need to make sure you have activated the Scripting Runtime reference for the FSO to work
'--------------------------------------------------------------------------------------
Dim fso As New Scripting.FileSystemObject
[Code].....
View 4 Replies
View Related
Jul 11, 2007
Linking is what I am having trouble with... I can establish the link but when I copy down a cloumn, Excel wants me to establish the link each and every time.
I purchased Link Hacker and it tells me Error 52. Bad file name or number
I have tried the mapped drive as well as the entire directory listing.
Is there anyway to force Excel to perform the formula without having to manually tell the link where to go?
I want to type a formula and it tells itself where to find the data.
If not is there another way to accomplish the reading of the spreadsheets?
View 9 Replies
View Related
Jun 1, 2007
I need to have totals from individual worksheets automatically enter into cells in a master spreadsheet.
What I am doing is keeping track of donations collected from individual departments - each on their own worksheet. I would like to have the totals of each page automatically enter & update onto a master worksheet that would show the totals from each dept and then give me a total of all those.
I am not that well versed in Excel. I have been able to set up the individual worksheets and the master.....but can not figure out how to accomplish what I want with the Master tally sheet.
On the individual worksheets I also want to set it up to give me the average donation per person. So if I total the # of donors and the total $$$ amount...what formula do I use to get the average?
View 15 Replies
View Related
Mar 16, 2007
I have two spreadsheets. I need to be able to match information from detailed spreadsheet for specific information from a lookup spreadsheet.
The detailed sheet (call it Purchases) has information about what was purchased during a month.
Columns: ...
View 9 Replies
View Related
Sep 24, 2013
i am trying to do collect data from 4 different spread sheets (they all consists of the same columns but they do not have the same amount of rows) and rank them based upon one of the columns in a fifth spreadsheet. in the fifth sheet i also want to display all of the information found in the four sheets, see simplified example below. Is this possible? and how do i do it? when i googles it i only found ways to do it using macro but i know nothing about macros..
Simplified example:
Sheet 1
A 3 W
B 5 X
Sheet 2
C 2 Y
D 7 Z
What i want excel to do
C 7 Z 2
B 5 X 1
A 3 W 1
C 2 Y 2
View 2 Replies
View Related
May 9, 2014
I have to update a master spreadsheet weekly. I would like to have a button that i can click to update the spreadsheet.
Here is sample data of my spreadsheets
SPREADSHEET 1
col1;col2;col3;col4;col5;col6
abcd;on time;dtjkl;05/06;CM,DR;ghgh
efgh;delay;hjhj;04/12;CD, EF;jgkg
ijkl;on hold;gfhj;02/15;CF,GD;klj
mnop;on time;njhj;04/15;CD,FG;kgkij
SPREADSHEET 2
col1;col2;col3;col4;col5
abcd;on time;05/06;CM,DR;ghgh
efgh;delay;04/12;CD, EF;jgkg
ijkl;on hold;02/15;CF,GD;klj
mnop;on time;04/15;CD,FG;kgkij[table="width: 500"]
I need to update the columns from spreadsheet 1 to spreadsheet 2.
Spreadsheet 2 has less columns. Also the data in col3 for spreadsheet 1 is not there in spreadsheet 2.
The mapping of the columns is as follows:
S1 S2
col1=col1
col2=col2
col3=col4
col4=col5
col5=col6
col6= data already in another column.
View 3 Replies
View Related
Mar 6, 2006
I am trying to update 25 different spreadsheets, and have the latest row of data from each of the 25 automatically go to a 26th spreadsheet that is my summary.
My goal is anytime I add a new row of data in any of the 25, that the summary sheet gets updated automatically.
View 9 Replies
View Related
Jan 2, 2014
I am trying to build a workbook to track patient treatments. My overview sheet needs to list the last treatment received per patient which is listed in column a of each patient's individual sheet dynamically so I can review the history of treatments as well. I have tried to create a dynamic list, but it is not functioning correctly. I was using : =OFFSET(txdate,1,0,COUNTA('patient, name'!$A:$A),1) , where column A ( the named range "txdate") lists the treatment dates in succession and should be updated automatically when a new treatment is done.
View 10 Replies
View Related
Aug 9, 2013
I have a main spreadsheet that I am consistenty adding information to. The columns are : Company name, Contact, Territory, and Status. The main spreadsheet is titled "Main". I want 5 additional spreadsheets in the same workbook that are automatically pulling information from the "Main" spreadsheet, and populating the appropriate spreadsheet . For example...I have 500 entries of different companies in "Main". All of these companies are either categorized as "North, South, East, West, Offshore" in the Territory column. So, I would like my workbook to have 6 tabs...one "Main, North, South, East, West, Offshore." As of right now, I am Sorting the column, then copy and pasting into correct spreadsheet manually.
View 14 Replies
View Related
Sep 26, 2013
I have a sheet from which I load data. A normal cell looks like this:
Code:
='...dataOutput[1.csv]1'!E2
I wrote a script however that writes new data into a new sheet every day, and saves it with the name of the date. The obstacle is, that I won't have a sheet for each day (ex: weekends, holidays). For that reason, is it possible for excel to scan a certain folder, and open the 20th file when sorted by date to read from?
View 1 Replies
View Related
Aug 4, 2014
I am trying to copy a set of data (lets say workbook 1) into a new workbook(workbook 2). Both files are saved in the same directory.
Workbook 1 will be continually updated with new row additions and some changes in text in the rows. I want to copy these new changes (from workbook 1) without having to copy and paste the new additions into workbook 2, as it is wasting a lot of my time.
Is there a trick in excel to automatically do this?
View 2 Replies
View Related
Nov 18, 2007
I have created a userform with textboxes. I want to update cells on a spreadsheet with the values in the textboxes. I have set the code into a command button to update the values, but they only get updated when I close the userform, not when I click the command button.
View 9 Replies
View Related
May 22, 2007
(1)I am using a userform (this contains a listbox) to update cell A1 which in turn updates a cell B1.
(2)I then run the next userform on cell A2 which should update its listbox from column B (which has just been updated previously).
My problem is that following step (1) the spreadsheet gets updated but when I processed to step (2) the listbox within the userform is not updated to show the information now in column B.
Finally, if I run the user form again (same as step (2)) the listbox has been updated .
View 9 Replies
View Related
Jan 15, 2009
i just want a macro to run over 4 sheets and combine onto one. I found this code -
Sub masterer()
if sheets(1).name "Master" Then
Sheets.Add before:=Sheets(1)
ActiveSheet.Name = "Master"
end if
For i = 2 To Worksheets.Count
Sheets(i).Columns("A:G").Copy
Cells(1, (i - 2) * 7 + 1).Select
ActiveSheet.Paste
Next
End Sub
This places all data in a line in row 1. Can the code be easily changed so
it puts each line from each worksheet onto a new row. So i have one big list of data ranging from columns A:G
View 9 Replies
View Related
Feb 11, 2013
I have a number of spreadsheets, all of the same format, saved into ("C:Email Attachments").
I wish to populate a master workbook, using a macro to loop through all of the workbooks in that folder, copying all of the data (Starting at B52-Q52) using Selection.End.Down, as the row count is always different and pasting it into the master workbook. Sometimes there may only be one row, so an IF statement may be required, to say if there is nothing in B53 then don't do Selection.End.Down. The overall result would be for all of the data from each spreadsheet is detailed as one big list in the master spreadsheet.
View 4 Replies
View Related
Dec 17, 2012
(i) I have a spreadsheet listing all the investments details. For example,
Investment Investment Date Amount
xxx company 1/1/2012 $10,000
yyy company 2/1/2012 $20,000
(ii) Each investments have different investors. For example, xxx company has two investors: A and B; yyy company has 4 investors: B, C, D, E
I want to assign Investors Name and their Personal Investment Amount to the main investment spreadsheet. So that I can retrieve individual investor's investment positions.
For example, I want a spreadsheet showing B's investment. Then this spreadsheet should have details of xxx company and yyy company, as well as B's personal investment amount.
View 3 Replies
View Related
Jan 8, 2010
From a master (data entry) spreadsheet of work projects, I'd like to automatically create a tab for each individual contributor that lists all projects they are involved with. The thing is that being a contributor can mean being the lead, assisting with, or being the technician on the project (all columns in the master). To make the individual tabs easier to read, it'd be great to have that tab's contributor name in red, wherever it happens to fall in the various columns.
I've created an example that's a little simpler than reality - in real life there would be 20 tabs for the individual contributors and instead of 3 "Assist" columns there would be 20 columns.
View 7 Replies
View Related
Jan 9, 2014
Any way to automatically update my spreadsheet align all of the cells in the correct row/column.
Attached is a sample sheet. Columns A-D show how they originally look. Columns F-I show how I would like them to appear.
SAMPLE.xlsx
View 5 Replies
View Related
Jan 19, 2014
how to highlight entire rows within a spreedsheet based on the information in a cell. I have gone to the conditional formatting and done:
=$A4="Needs Labs" and formatted that red, but when i go to note what areas it applies to, It will not highlight the row. I use the wizard box to decide where to apply the formatting like I saw on an online tutorial and dragged across the row, but nothing happened.
View 4 Replies
View Related
Jan 22, 2014
I'm creating a master spreadsheet and I want it to pull live data from other spreadsheets depending on a variable.
I've a cell that has a variable date. I've files saved that have this variable attached to it in the name format: 'filename variable'.
I want to pull data, hopefully live, from workbooks based on this variable.
For example, I have files: generic 01212014, generic 01222014, generic 01232014.
The date is stored in the master workbook say in A1 that I can manipulate by entering a different date to pull data from a different workbook.
='[generic 01212014.xlsm]Database'!$L$3
='[generic 01222014.xlsm]Database'!$L$3
='[generic 01232014.xlsm]Database'!$L$3
There has to be away to make the bolded portions of the file name variable, right?
View 2 Replies
View Related
Jul 12, 2013
Every week I receive a sheet of data that I need to import into my master spreadsheet. The problem is I have to adjust the data I receive to import it unless there's a better way of doing it. I'm trying to automate both the modification and the importing of this sheet. I've tried to create a macro to modify and import without any success.
To adjust the spreadsheet I receive I need to: delete or find a way to exclude the first 3 rows, the bottom row with data stating "complete" and columns C,D&E from being imported; change font, size, color, bold to match the main spreadsheet in addition to formatting; split data in column A and remove any special characters. Formatting is important because I have to be able to easily remove duplicates. Also, the number of rows in the sheet I receive changes weekly.
I've attached a workbook with sample data. The first sheet is representative of what my master looks like, the second is what I sent and the third what I've been modifying it to and then importing. As stated before, I'd like to have my master automatically update with the sheet I sent, but I'm at a loss having to reformat everything every week before importing. Having the sheet that's sent to me revised before I receive isn't an option. What's the best way to automate this?
SAMPLE1.xlsx
View 1 Replies
View Related
Nov 19, 2009
I went to add the count to the inventory, it keeps returning an error where the date is pasted from one sheet to the other. I had originally tried to reference the value of the date directly, but because it was being passed to a merged cell, Excel didn't like it too much, so I had it copy and paste it. That worked at first, now it suddenly doesn't.
View 2 Replies
View Related