Identifying Small Tables In One Large Table

Mar 23, 2009

I have a data dump, on this single excel sheet their are a large number of tables, up to 100 in all, and what i need to do is extract key figures to form a summary table which i then produce stats for.

What i need is a macro or code that will automatically scan the tables, retrieve the key figures and return them in my summary table.

Attached is an example, you will see three small tables labelled Servicing query complex, servicing query simple and total.

I need to extract the blue cell, being the name of the table, the purple cell being the last figure in column c in each table (total number or processes) and the green figure being the the average turnaround. The final figure is i think the hardest to get as its the total number of figures in column c that have either a 0 or a 1 in Colum A. Note that their will be table where neither 0 or 1 will appear.

All figures are dummy figures but the table structure is correct.

View 14 Replies


ADVERTISEMENT

How To Merge Multiple Tables Into One Large Table

Dec 6, 2012

I'm having an issue where I want to merge lots of tables held in different spreadsheets into one large table so that I can use it in a pivot table. The attached spreadsheet demonstrates what I mean:

So there are 3 different accounts held in the first 3 tabs. These all have the same columns and format. I want to merge these automatically into the table that is in tab 4 so that I can use the pivot table also demonstrated in this tab.

What I want to happen is when I add rows to the tables in the first 3 tabs, these are automatically populated onto the 'overall' table in the 4th tab. (I'm aware I could do this manually, but for what I'm using this for these will be dozens of tables with hundreds of rows updated monthly).

Is this possible? Basically it doesn't matter how it's done, as long as i can show the information held in the pivot table each month end.

View 3 Replies View Related

Create Large Table From Smaller Tables When Columns Not In Same Order

Jul 17, 2014

I have a lot of data to try and summarize but they are in multiple smaller tables. I wish to only extract 2 variables, 'number' and 'total' from all of my smaller tables (lots of them) so the problem looks like this, i have these tables for example where the 'total' title is in a different column depending on which of the smaller tables you are looking at:

cat 1
cat 2
cat 3
total

[Code]....

I am trying to get:

number
Total
123456
30
234567
60

[Code]...

Because the number column is fixed and all of the smaller tables will all have a number in the same column maybe i can insert a column next to the number column and say "find the value where the column title is 'total' - however the location of the column title would change so not sure if this would work? I was also thinking of sorting the columns but that will not work either because of the smaller multiple tables?

View 4 Replies View Related

LARGE Vs SMALL- Array

Jan 8, 2010

I'm having a difficulty using LARGE and SMALL.I want to return the 1st to 5th value of an array (each in a different row) choosing months as criteria. While the LARGE formula works fine, when I replace the LARGE() formula for the SMALL() leaving everything else unchanged, the formula returns ZERO and there are no ZEROS in the original data! Here is the function:

View 4 Replies View Related

Crashes :: One Large Workbook Or Many Small Ones

Aug 8, 2009

I'm writing an application in Excel, its a little over 5MB after I've run through UsedRegion and trimmed stuff, 94 worksheets. I'm encountering a fair number of crashes these days. My OS is fully patched as is MS Office. Running Windows server 2003 and Excel 2007.

I was wondering about the pros and cons of writing an application in one large workbook or many smaller ones. So far its been one large one but these crashes are really impeding my progress.

What's the best way to remedy these crashes or even start to diagnose?

View 7 Replies View Related

Use SMALL() & LARGE() Function Without Duplicates

Sep 3, 2009

I have a column of number that I want to use the Small & Large function on, skipping duplicates.

Example:

Column A has the following numbers;

1
6
1
4
3
2
4
6
17
8
21
8
10
13

I want the Small function to identify the first lowest number (1) and then the second lowest number (2), not (1) again.

View 9 Replies View Related

Macro: Small & Large Formula

Dec 6, 2006

I wondered if there is a possibility to make this

Range("L3").FormulaR1C1 = "=SMALL(R[-1]C[-11]:RC[-11],1)"
Range("L4").FormulaR1C1 = "=LARGE(R[-2]C[-11]:R[-1]C[-11],1)"

more simple so i can get the range for my small and large formula's variable? What i try to reach here is:

Range("L3") = smallest date In Range("A2", Range("A" & Rows.Count).End(xlUp))
Range("L4") = largest date In Range("A2", Range("A" & Rows.Count).End(xlUp))

View 6 Replies View Related

No SMALL And LARGE With SUBTOTAL On Filtered List?

Oct 17, 2011

I have sales data in columns, the right most column has values in it.

If I filter the data using the standard Filter, I can add only filtered records by using SUBTOTAL(9, filtered_list) and this gives me the answer.

How can I find the 2nd largest or second smallest ONLY from the filtered data without using a Pivot table?

View 5 Replies View Related

How To Sort Multiple Colums From Small To Large

Feb 9, 2012

I have a question about sorting. I would like to sort multiple columns from small to large at the same time. Is this possible? I have over 400 columns to sort so I would rather not do this one column at the time.
Example

A.... B.... C
0.2 0.4 0.3
0.4 0.3 0.5
0.1 0.6 0.1

shoud be

A.... B.... C
0.1 0.3 0.1
0.2 0.4 0.3
0.4 0.6 0.5

View 1 Replies View Related

Find The Top 5 /bottom 5 Values Using The Large/small Functions

May 28, 2009

I understand how to find the top 5 /bottom 5 values using the large/small functions, but the question I have is: How do I get associated fields. For example I attached a sample sheet with values (Fields: Ticker,TE,Sector,Return). How do I get the Ticker,Sector that the return is for. I'd like to show all the associated fields that relate to the retun, but I can't find the solution on how to do that.

View 3 Replies View Related

Excel Only Shows Small Fraction Of Rows In Large File?

Jun 26, 2013

I have a file that has been produced using Statistica software. The file is supposed to have around one million rows, and when exported to Excel the file is about 30 MB. When I open the .xlsx file in Excel 2010 only two pages of data appear. The rows also have weird numbering. The first square of the A column is A1. The second is A3833, the third is A6789, then A8161, then A8162, then A8163, then A8164, then A18070.

The scroll button to the left of the screen is long, as if the document was only two pages long. When the scroll button is click-and-dragged a small beige square appears with a row number. This small square seems to be aware that not all rows are shown as it shows many more rows than are visible to me.

View 3 Replies View Related

Find Largest Invoice For Each Individual Identifying Code Number In The Table Without Using A Pivot Table

Sep 8, 2009

Data Table including-

List of Identifying Code Numbers for customer invoices

Multiple repetitions of individual Identifying Code Numbers in list

Various data in table range including Various Values of invoices from different dates for each repetion of Identifying Code Number.

- Wish to find largest invoice for each Individual Identifying Code Number in the table without using a pivot table.

i have tried combining Max and Large functions with Vlookups etc.

View 9 Replies View Related

Frequency In Large Data Tables

Nov 11, 2009

I need to find the most frequent number for each name in a large datatable, eg. Name1=12.

ColumnA / ColumnB
Name1 / 12
Name1 / 11
Name1 / 12
Name2 / 100
Name2 / 105
Name2 / 105
Name2 / 98
Name3 / 14
Name3 / 14
Name3 / 2
NameX / ..

Since Pivot tabels cant do the trick as far as I know, i'm clueless of how to proceed.

View 10 Replies View Related

Using SMALL And INDEX (MATCH) In A Table

Feb 16, 2014

I have a Pivot table (see picture) and in another field I want to be able to type in the Month and Year (e.g. January 2012) and return the worst performer of the 8 suppliers. I have been trying to use SMALL in conjunction with INDEX(MATCH(MATCH)) but it doesn't appear to be working.

I am sure there is a simple solution but it is evading me at the moment.

excel.jpg

This is where I am at with the formula. Maybe I can use the IF function somehow?

=INDEX('Pivot Tables'!B19:I19,MATCH(Summary!G3,'Pivot Tables'!A20:A41,0),
MATCH(SMALL('Pivot Tables'!B20:I41,A5),'Pivot Tables'!B20:I41,0))

View 4 Replies View Related

Identifying Word Table Numbers

Dec 9, 2013

I have a few hundred word files that I'm porting tables from. I initially imported every table into excel and figured out which table numbers I needed the data from. I only needed certain rows/columns from certain tables.

The code I have works great....if all the word files were the exact same. However, it appears that when different people edited the word documents, for whatever reason, a handful out of the 300 had their tables switched. So in some cases I'm looking for table 5, other times it could be table 6.

My question: Is there a way to identify the tables by text they contain? for example, the table 5/table 6 comment above, in all cases That table has a header cell called "Equipment". Basically I need something like:

"If CurrentTable contains "Equipment" Then set tableNo = CurrentTable" but I'm not sure how to do that.

In the code below wdDoc is a specific word document. tableNo is the variable set to identify which table to import from. I end up pulling data from three different tables that I would need to search for, each with a specific header.

Code:
With wdDoc
tableNo = wdDoc.tables.Count
tableTot = wdDoc.tables.Count
If tableNo = 0 Then
MsgBox "This document contains no tables", _
vbExclamation, "Import Word Table"

[Code] ........

View 6 Replies View Related

Matching Text In A Large Table?

May 8, 2014

I have 3 columns thousands of rows each, P, Q and R. Column R is the names of accounts.

I have another column E with also account names but not in same order as R. Another small glitch is, some of the names in R have extra characters at the end (such as one or more spaces bars, etc). But the entirety of the text in E is present in a cell in R, sometimes with extra characters at the end.

I want to match the account names and pull the corresponding values in the same row from columns P and Q, and populate my currently empty columns C and D.

View 4 Replies View Related

Create A List From A Large Table

Nov 21, 2009

I am trying to do is create a list from a large table (see attached). I have 2 columns (A and B) listing 'Asset' and 'Area' and then 2 rows (1 and 2) listing 'type of task' and 'task'. This forms a table with entries in the cells (from C3 onwards) denoting frequency of each task at each location, i.e. daily, monthly, 6 monthly and annual. This gives me quite a large table which is quite confusing. Can I create a formula to sort all the daily activities which will give me a list of the 4 corresponding properties 'country', 'location' (in columns A and B) and 'type of task', 'task' (in Rows 1 and 2)? Then do the same for the different frequencies populated in the table, 'monthly', '6 monthly' and 'annual' ???

View 7 Replies View Related

Splitting A Table Into Two Tables?

Oct 28, 2013

I have a table of two columns, but I want them to be two separate but adjacent tables.

View 2 Replies View Related

Compressing Large Pivot Table File

Jun 7, 2013

My pivot table file is currently 12.7 MB and I need to get it much smaller so I can email it and it still be functional with the data.

I have tried right clicking on the pivot table, going to PivotTable Options, clicking on the data tab, unchecking the 'save source data with file' box, and checking the 'refresh data when opening file' box. This shrunk the file perfectly but when i email the file the Pivot Table was unusable because there was no data to back up the function.

The Error messages I got were 'Cannot open PivotTable source file'..... and 'Pivot Table report was saved without the underlying data. Use the Refresh Data command to update the report'. When I click on Refresh Data I still get the same error message.

Any way I can make this File smaller and still functional.

View 4 Replies View Related

Copying Parts Of A Large Table Into A New Sheet

Apr 24, 2007

way to copy certain cell ranges from a main table into a different sheet (for nicer printing output, as in the main table there are also unused ranges) and in such a way that they would be copied there one after the other with no spaces between them.

( I have say A1:M1 with some cells for labels,
then A2:M4 with a smaller table with some user choices etc. etc.

then again A5:M5 with cells for labels
and A6:M8 with another smaller table with user choices... )
multiply by 2x

Then I want to copy just those ranges that the User has selected something in - e.g. only A1:M4, if he selected something in A2
or A5:M8, if he has selected something in A6

View 13 Replies View Related

Pivot Table For Large Amounts Of Data

Apr 7, 2007

if there was a way I can put it in to some kind of pivot table, because the hardest part for people when they read his list is it's so large it's hard to find data easily.

So this is how he formatted his data... I was wondering what would be the best way to get this list in to a possible pivot table. This is a consilidated example, there are plenty more columns, but this will give you an idea of my problem.

A2007 A2006 A2006 B2006 B2006 B2007
Feb Jan Feb Jan Feb Jan
630 Labor Cost 1000 7500 3000 4500 800 5000
624 Equipment Cost 900 50 40 300 20 1400

Now, the only thing I can think of is to make columns, but then I'd have to recopy all the task names (which there is about 700) for each of the different years (A= Actual, B= Budget, F= Forecast). Is there any other way that you can think of to do this with out making it so complicated? Any help or suggestions would be great. I really want some format that allows you to click the total and it goes to what makes up that total.

View 7 Replies View Related

Append Multiple Tables Into One Table

Nov 27, 2012

I have a workbook that contains mutiple tables in multiple sheets that are all in the same columns in each sheet but contain various rows. Data may not be entered in every single row within each table. I'm trying to create a master list of all data from all of these tables on a single sheet so I can analyze the information in total. I don't want to show any blank rows on the master file where data is not entered in each table. I've tried using the consolidate function within Excel but am not looking to perform a function (i.e Sum, count). I've also tried a pivot table from multiple consolidation ranges (Alt + D + P) but do not like the limited functionality of the pivot table. I do not have much experience with VBA but am assuming this may need to be done using code.

Attached is a sample workbook with named ranges of each table. Example.xlsx

View 9 Replies View Related

Tables Feeding Data Into Further Table

Jan 10, 2013

I need to put together a number of worksheets, each worksheet is to record project information that's happening at our production sites and all the tables are uniform in design. There also needs to be one 'master sheet' in which all the information added on the lower sheets is automatically added.

So basically I need to have four tables on separate sheets that feed information in to one table on a further sheet.

View 13 Replies View Related

Creating Table From Data From Several Other Tables

Jan 10, 2014

My family owns a Fast Casual Middle Eastern/ Mediterranean Restaurant. I'm taking charge of making it as profitable as can be! Our plates are different combinations of kebabs, rice, Falafels, Gyros, salad, platters. So theirs tons of combinations.

I am Dead serious about knowing REAL plate costs:

I spent days entering price data, weighing meat, produce, calculating usable yields. I then built "component builders" using data validation drop-downs, and Index + Match functions to construct the costs of the recipe items,standard base items and side items. So I now know How much a skewer of Marinated Kebab Costs me, and all the Components that go into building a plate.

I've now built a "Plate Builder" (See Pic) to create the EVERY combination available at our restaurant. So when I'm done filling in all the builders, I'll have a whole lot of tables. I'd like to pull the name and plate cost from each table and create a big table organized by whether its eat in or take out. How do I do it.

TL;DR: Need to create a table that pulls data from several other tables....

View 2 Replies View Related

Combine Tables From Different Worksheets In One Table

Jul 18, 2012

I have an excel workbook with 11 different worksheets. Each worksheet represents a project my company is working on. And in each worksheet there is exactly the same table, just with different data).

Now we would like to get an overview of all these different data put together in one 'summarizing' table on a new worksheet (number 12).

-Is it possible make such a table without having to copy past all the time?
-The data in the tables may change over time, so it would be good if that 'summarizing' table automatically adapts to the other ones.

View 9 Replies View Related

Create Summary Table From 2 Tables

Apr 15, 2008

I have 2 worksheets which have a table on each. I would like to create a list using data from both tables. The list I am looking to create is for an upload fom an excel planning sheet into an ERP system and requires certain data fields and a certain format. Both table have the same amount of fields and the dates across the top. On worksheet one there are material numbers on the left and dates across the top. In the list I require I would need the dates down the left in the first column, next the material number, next the quantity from table one and then the last column I would require the value from the second worksheet which is relevant to the material number and date from the first table. I have tried pivot tables but cannot get this to work and feel it may work with a lookup. I have attached an example of the data.

View 2 Replies View Related

Splitting Large Table Into Separate Worksheets Keeping Format Same

Apr 26, 2013

I have 2 large XLS sheets that need to be split into seperate sheets.

The first is only 5 columns wide but the amount of rows changes day to day.

The second is a maximum of 7 columns wide and again the amount of rows will change.

I'm hoping for a VBA code to be able to do both on seperate books.

The A Column has the name of the company, and this can include (/,&) that will need to be removed, the names can also exceed 31 characters.
I would like to seperate the sheets by the company name and have the name appear as the sheet name.

Also the formatting from the master sheet to be copied to the resulting sheets, with a header row.

I have included the data for the larger of the two workbooks. data.jpg I have to pull the smaller report each day and the larger report each week.

View 3 Replies View Related

Pivot Table To Count Unique Items In Large Dataset

Oct 15, 2012

I'm trying to count how many production orders i have per week. However, there are duplicated production orders per week. I only want to count how many unique orders there are for each week. I only see the ability to "Count", which counts my duplicates as well so it over inflates my true quantity.

View 3 Replies View Related

Extracting Out Of Multiple Tables Onto One Summary Table

Jun 3, 2014

I would like to summarize information from multiple tables (across multiple worksheets) into one table using a formula.

I have Attached an example: Book6.xlsx‎

The 'option plan 1' tab shows multiple summary tables for different types of clothing. (the type of clothing is text in the top left hand side of each table just under the month i.e. "jersey tops"). This tab is an example of 6 similar tabs that come from 6 different workbooks...

For each clothing type (i.e., Jersey Tops) I would like to extract the TTL OPTIONS no. and the TTL UNITS no. for each store and show these on the table in the "front Sheet". against the clothing type.

Is there a formula that can match the Clothing type from column A in Option plan 1 tab with Column C in the the front sheet tab and subsequently Match up the TTl Units and Options for each store on the front sheet tab.

I have manually keyed in what I would like the formula to show for 'jersey tops' on the Front sheet tab.

View 5 Replies View Related

Updating Excel Table Values Into SAP Tables

Jul 23, 2012

I want to write a interface program using VB Macro, for updating the Excel Table values into SAP Tables. Is there any macro that can do this work?

View 4 Replies View Related







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