Compile Entries From Multiple Workbooks

Feb 6, 2008

I need to compile entries from several workbooks (one for each day of the month), from Column B every time, into a master workbook which will display all of the data from the columns B, laid out in individual columns in the master workbook. i.e. if Workbook1 contains the numbers 1, 2, 3 in cells B2, B3 and B4, and Workbook2 contains the numbers 4, 5, 6 in cells B2, B3 and B4, then I want the master workbook to run a macro which will put Workbook1's numbers into cells B2, B3, B4 and Workbook2's numbers into cells C2, C3, C4and so on for each day of the month. The idea is to be able to compile the month's data so as to plot charts per row.

Each month has it's own folder and each day has it's own workbook. File names are in the following format: YYYYMMDD.xls
I've tried several times, including the use of loop code found here: http://www.ozgrid.com/VBA/loop-through.htm but to no avail.

View 9 Replies


ADVERTISEMENT

Counting Unique Entries From 3 Workbooks

Sep 23, 2009

I need to count the number of unique names (column A) on 3 separate worksheets. Each worksheet represents a facility that people visit. It is possible that the same person will visit all three facilities. If this is the case I want to only count them once, even though they may have numerous entries on each.

I need to get the same result as if I was to copy and paste all of the names from three spreadsheets on to one (which isnt an option) and then count unique names. To do this on one sheet I have been using =sumproduct((A1:A100<>"")/countif(A1:a100,A1:A100))

View 2 Replies View Related

Search And Compile Multiple Spreadsheets

Jul 6, 2013

The company deals with Machine services, we maintain, service and brake-fix machine problems, the machines are manufactured my ourselves and there are approximately 15 different machines.

We have a Field Service spreadsheet that is filled in by all service engineers for every job they go on, this is filled in with information like:-

Serial Number
Machine Type
Hours Run Time
Reason for Visit
Reported Problem
etc, etc

All the forms are identical so all the fields are identical

Field Service Record Spares 2013 Master Rev4 (2).xlsx (this is the correct file). The forms are then saved on a central server folder and stored in month order.

Is there a way of creating a master excel sheet to gather all the information from all the Field Service spreadsheets which would then allow me to search all sheets by serial number or fault, without me having to copy and paste all the information into the master sheet??

We have 10 service engineers and each fills out 1 sheet per job per week, so a 4 week job will have 4 sheets for 1 engineer. an engineer could go on 5 jobs in 1 week and would therefore fill out 5 sheets. so we could be looking at in excess of 500 Field Service spreadsheet per year.

View 6 Replies View Related

Compile List From Multiple Columns / Rows

Jan 17, 2014

I want to essentially create a meal plan and then have my shopping list generated from the ingredients columns/areas into a separate sheet for printing. I need shopping list generation. I have attached a sample of what I am currently working with but still needs a lot of tweaking. I am not the most advanced excel user as you can see but I continually try to improve upon all of my work.

Test_Meal_Plan.xlsx

View 2 Replies View Related

Compile Data From Multiple Users Based On Criteria

Aug 18, 2011

I have a few people all entering in data into excel, since they cannot be all in one sheet they each have their own copy. I would like to be able to extract all data where column P reads "Red" from each users spreadsheet and then delete the corresponding lines from their spreadsheet (end of day activity)

The Sheets will be named
FDEntryU1AM.xlsm
FDEntryU2AM.xlsm
FDEntryU3AM.xlsm
FDEntryU4AM.xlsm

[Code] .......

I will then need to do the same in another workbook for all items Labeled Blue, but that of course will be same code with just an item replaced.

The idea is after they close up the person overseeing the data can import all at once and leave the users with fresh empty workbooks.

View 9 Replies View Related

Compile List Of Specific Data From Multiple Columns

Aug 30, 2006

I've been trying to create a formula that will take data with a specific status and put those in a list on a summary worksheet.

On my data worksheet I have two columns a category/ name column and a risk/status column, on my summary page I want to generate a list solely made up of names that have a specific status.

I've attached a sample.

View 4 Replies View Related

Compile Error - Variable Not Defined Involving Multiple If Statements

Jan 27, 2014

I am trying to put two subs into a macro. They work individually, but when I put them together, I get a "Compile Error: Variable Not Defined" Message. I was told I have to define the variable in the sub multipleif(), but I am not certain as to how to do this. The error message highlights the line I have bolded below.

VB:
Option Explicit
Private Sub CommandButton1_Click()
Dim mth As Variant, txt As Variant, des As Variant, wdt As Variant, I, Cell

[Code]....

View 5 Replies View Related

Excel 2010 :: Multiple Entries In One Cell That Need To Be Spread Across Multiple Rows

Jun 17, 2014

I need to convert data from column IDS into separate rows, all other columns need to stay in tact. There are several distinct patterns for the IDS column, main identifiers are always starting with FILER or TEAL and the trailing numbers behind it have no more than 6 digits.

BEFORE MACRO

ID
AREA
TYPE
CLASS
QTY
IDS

1
COAL
TYPE9917312
CLASS881345
2
FILER756911**/**FILER123188 ^** FILER877119*118

[Code] ........

AFTER MACRO

ID
AREA
TYPE
CLASS
QTY
IDS

1
COAL
TYPE9917312
CLASS881345
2
FILER756911

[Code] ......

What the MACRO would look like? This is for Excel 2010.

View 3 Replies View Related

Combining Multiple Cells In Multiple Worksheets In Multiple Workbooks Into One Table

Jan 6, 2009

I'm currently doing a survey using an excel workbook that contains multiple questions across multiple worksheets using radio buttons linked to certain cells.

I have around 400 workbooks coming back to me, so what i want to do is take specific values from across many worksheets within each workbook and combine them into a large master table in a seperate workbook.

I've tried using VBA, but not being very proficient at it i've hit a brick wall with that, so i'm hoping that there is an easier way to do it than what i'm currently pursuing.

View 9 Replies View Related

Splitting Multiple Entries In Single Cell Into Multiple Columns

Jan 15, 2013

I am looking to split multiple different entries in a single cell into multiple columns and repeat this for all rows

Example (I have the below in a single Cell as column headers)
NCM Server Mgmt VLAN Site ID

Next Line down is the data (Each row in a single cell)
Enabled 10.10.10.0 50 TEST SITE 1
Enabled 10.10.20.0 50 TEST SITE 2
Disabled 10.10.30.0 50 TEST SITE 3

How I could achieve this as I have a number of projects where this would become useful

I know you can use delimiters but with spaces between the values I just can't fathom a way forward.

View 12 Replies View Related

One Column Into Multiple Columns And Losing Multiple Entries

May 4, 2014

I have column A and it has 1000 rows, every row has a number in it, from 5000 to 5200, meaning that some numbers are presented multiple times in column A.

I need to lose repetitions, so every number is in the the table only one time and then I need to convert this one long column into, for example, 9 columns, so there's no wasting of space and have only one column in every page, if printed out.

View 5 Replies View Related

Running Multiple Modules Across Multiple Workbooks With Multiple Sheets

Feb 19, 2012

I've got data being scraped from a site, putting 1 new workbook in a folder each day

each workbook has 40 sheets in it.

i need to run 5 modules in sequence on a sheet then loop to the next sheet and run the same 5 modules.

ive writen all the modules, and can loop them through the sheets in sequence but i cant work out how to loop them through the each workbook in the folder..

is there an easy way to do this or can it not be done because it would need access to the folder that holds all the wordbooks which lives outside of excel on the desktop ?

View 5 Replies View Related

Consolidate All Data In Multiple Worksheets Of Multiple Workbooks In One Master File?

Jul 12, 2014

I need a macro that would consolidate all data in multiple worksheets of multiple workbooks in one Master file.

All the workbooks will be in one particular folder. The macro should search for data in all the workbooks and consolidate it in one master excel workbook.

I am currently using both excel 2007 and excel 2010. This macro would really reduce manual work as currently consolidating data from 45 to 50 sheets takes an ample amount of time...

View 4 Replies View Related

Copy Multiple Columns In Multiple Workbooks Into Separate Worksheet?

Feb 27, 2014

The following code won't let me copy from the first workbook. I get a run time 1004 error stating "That command cannot be used on multiple selections".

I would rather not have to copy this by column for each of the 4 workbooks

[Code].....

View 6 Replies View Related

Summing Data From Multiple Workbooks Based On Multiple Criteria

May 14, 2014

I track distribution using 1 workbook for each sales rep. Each workbook has a separate worksheet (scorecard) for each of their locations showing which of our products are used in that location, for various functions. Each of the locations has a segment (bar, nightclub, casual dining, etc.), and a class (AA, A, B, etc.). All of the scorecards are identical, and are in the same file folder on our shared drive.

Sample:

Location A Class:AA Segment: Sports Bar Rep: John Smith

Product: Product X Product Y Product Z
Well: 1 0 0
Back Bar: 0 1 0
Cocktail Menu: 0 1 1

I was unable to find an HTML maker so this is not an actual sample but what I'm looking at. The above data indicates that for location A (Sports Bar, Class AA), Product X is used as the well, Product Y is on their back bar and their cocktail menu, and Product Z is not used at this location at all.

I need to set up an analytic workbook where I can sum data based on multiple and grouped criteria, and for multiple reps ie- display a scorecard that shows totals for nightclubs and sports bars, class AA, A, and B, for a particular rep; OR display a scorecard that shows totals for nightclubs, class A for a group of reps. Ideally I would like to do this using drop down menus that allow the user to select multiple criteria in each of the drop downs, having the data auto-populate based on those selections.

View 2 Replies View Related

Copy Multiple Values From Multiple Workbooks To Master Workbook

Oct 7, 2009

I want create a macro which will extract 6 values (see below) from a workbook tab called summary to an master workbook for reporting purposes. Each workbook has a unique file name e,g ACI1150.

Values on sheet SUMMARY:
A1
A2
A3
G21
G24
G26

I tried to adapt the below to get one item copied/extracted. However it would no work.

I am new to using macros

Sub GetG26s()
Dim MyDir As String, FN As String, SN As String, NR As Long
Application.ScreenUpdating = False

View 9 Replies View Related

Combine Workbooks With Multiple Sheets Into 1 Multiple Sheet Workbook

Mar 16, 2008

I have about 20 workbooks with different file names for different projects all saved in the same folder. Each workbook has about 10 worksheets and each worksheet is named in a similar fashion in each of the 20 workbooks (eg. revenue, cost, variance etc.). I want to pull out a worksheet named ' forecast' from each workbook into a master workbook so that the master workbook would contain the 20 forecast worksheets.

View 9 Replies View Related

Identifying Multiple Entries.

Sep 30, 2009

I'm trying to identify duplicates with a return of "True" or "False". The attached workbook has column F for results (to read PI2 A if in column L, PI2 B if in column R or Both), but I want to query if everyone in column E is in column L or is in Column R and if so which one.

View 3 Replies View Related

Multiple Column Entries Into 1 Row?

Jul 14, 2013

I have data like this

namefoodripeness
andyorangeC
andyyogurtD
andykiwiE
andystrawberyD
andyyogurtC
andybanannaA
andyorangeB

bobbanannaA
boborangeA
bobstrawberyA
bobkiwiB
bobyogurtC
bobpearC

stevekiwiC
stevebanannaC
steveorangeA
steveyogurtC

and i would like the data to look like this..............

orangeyogurtkiwistrawberyorangepear
andyCDEDC
bobACBC
steveACCA

not sure how to do it.

View 1 Replies View Related

VLookup For Multiple Entries

Feb 10, 2014

I have an excel file containing more than 70,000 lines (items and their corresponding orders) and in second file i have all the items listed. I want to find how using excel functions like vlookup i can return all the orders (from first file) against the items (in second file).

Attached a simple example of my problem. Please note that both tables are in different sheets of an file.

ITEMS
ORDERS

A
2

B
3

[Code] .......

View 7 Replies View Related

Append Multiple Workbooks With Multiple Worksheets

Sep 5, 2008

I would like to append multiple workbooks with multiple worksheets in a separate workbook. For eg. I have workbook "A" with sheets 1,2,3 and workbook "B" with sheets 4,5,6. Now I want to append "A" and "B" to create workbook "C" with sheets 1,2,3,4,5,6.

View 9 Replies View Related

Changing Multiple Workbooks And Multiple Worksheets Within

Jan 28, 2009

I have a folder - U:30000 - that contains a number of identically layed out workbooks. What I'm trying to do is, in each, change a number of cell values. Where dominicb's solution to the previous problem didn't work for me, however, is that I need to change cells in multiple worksheets. The cells are specifically:

On worksheet 'Construction': C3 (which is a date), D3 (which is a text value); on worksheet 'FF&E': D3 (the same text value as D3 on 'Construction'. Unfortunately, whoever initially set up the workbook didn't have the foresight to link it!)

View 4 Replies View Related

Combine Multiple Worksheets From Multiple Workbooks

Dec 27, 2013

Code to merge worksheets from different workbooks stored in different location.

I have a sheet called "Master" in all the workbook I want to combine.

I have a unique password for all the workbook as well.

All the workbooks are stored in different folder location.

I would like to do a paste special values when the consolidation takes place.

View 1 Replies View Related

Combine Multiple Worksheets From Multiple Workbooks

Sep 7, 2006

I'm trying to combine data from several worksheets (one sheet per workbook) into a single, consolidated master worksheet for reporting purposes (filters and pivot tables). We do not need to keep formulas for the master worksheet, only values and formats. Individual worksheets are used by different users to capture case data in a Human Services field. Column headings are identical, but rows contain data on individual cases. I'm trying to find a relatively easy way to combine multiple worksheets into a single master. After I establish the worksheets and technique, it will be operated by extremely basic users so I've been reluctant to use extensive macros.

Because of complex reporting needs, the exact combination of worksheets being combined for reporting may vary. For example, one time I may combine Tom, Dick and Harry, another time Tom, Dick and Bob, and yet another time Tom, Dick, Bob and Harry. Obviously, one method is to cut and paste the rows into a single worksheet. Are there more elegant solutions that could easily be handled by very basic users? Worksheets are stored in a single folder along with a separate worksheet used for validation rules (as you can guess, this would ideally be a database application but for various economic and political reasons we are using Excel). One possibility, if straightforward, is to use Access to consolidate data then export it back to Excel for analysis. I've scoured the various threads but have not found a situation mirroring mine. The number of rows for each worksheet is generally less than one hundred, but there will be a few exceeding several hundred. Total numer of rows of the resultant master worksheet will not exceed 10,000.

View 4 Replies View Related

Find Multiple Instances In Multiple Workbooks

Feb 16, 2008

I'm trying to search through a group of Excel files for specific values in column B and then copy and paste the value from column C of the same row into the current worksheet if the search term is found. Thanks to some help from turtle44, I can do that if the search term only appears once, but if it appears more than once, I can only find the first occurance.

I have searched through te archives and found lots of people asking for the same thing. The common suggestion is to use .FindNext, but no matter how I try to use FindNext, it doesn't give me the results I want. It either seems to find the first occurance again or to find nothing at all.

Here is a simplified version of my code, if someone could just explain how to find the second occurance of "Use Code" and past the relevant value into column F of the destination workbook, I'd appreciate it and I should be able to work out the rest on my own.

Sub SearchAllXLSFiles()

Dim lCount As Long
Dim wbSource As Workbook
Dim wbDestiny As Workbook

On Error Resume Next

Set wbDestiny = ThisWorkbook

View 5 Replies View Related

Find And Replace Multiple Entries?

Apr 16, 2014

I would like to search for numbers and replace them with text (multiple entries).

I tried doing this with vlookup, but for some reasons i dont get the good values.

View 5 Replies View Related

Doing A VLOOKUP And Returning Multiple Entries

Jan 30, 2009

I've tried to amend the formula's posted above but to no avail so am hoping someone can have a look at the attached.

I would like to be able to use Vlookup or similar to complete a table (starting in cell A19) based on the surname added in B16.

View 2 Replies View Related

Don't Allow Duplicate Entries Across Multiple Columns

Jan 14, 2010

how i can set 'Data Validation' to stop me from entering duplicate values across multiple columns, i can set it for a single column i.e. A1 to A100 but i am after this but for something like A1 to H100.....?

I am currently using this formula in Data Validation:
=COUNTIF($A$1:$A$100,A1)=1

I need something to do this but for multiple columns.

View 7 Replies View Related

Picking Newer Of Multiple Entries

Oct 22, 2013

I have a long table like this:

Car,date last washed
Civic, 11/1/2012
F150, 5/4/2013
Corvette, 7/3/2013

If I washed the Corvette, I'd add another row to it:

Corvette, 10/22/2013

And I would like to remove the "Corvette, 7/3/2013" entry. What's the easiest (read: least user intervention) way of doing this?

View 2 Replies View Related

Search On Multiple Entries Using Wildcard

Jul 29, 2014

I'm trying to perform a search of over 15,000 entries using a wildcard. Sheet1 is a list of streets in the county where I live, and I would like to be able to type a part of the name that will return every instance of that name appearing.

I found a code which i have tried to adapt, but it is not working.

[Code] ....

The item being searched will be entered into TextBox1, and I'm guessing that the error I am receiving is in the .AutoFilter Field:=1, Criteria1:=TextBox1"*" line of code. This is the original sample I found onlne:

[Code] .....

where they were only looking for the letters "GB".

View 14 Replies View Related







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