Pivots With Data From Multiple Sheets

Feb 22, 2008

there's a way to pivot data from two sheets (both the sheets and the pivot table are in the same workbook)?

View 9 Replies


ADVERTISEMENT

Multiple Pivots With 1 Data Source

Oct 24, 2012

I have one single data source and need to create multiple piot tables with it.

But when I group dates for example, this applies to all Pivot Tables that share the same pivot cache.

Is there a quick way (VBA preferred) to duplicate an existing pivot table with a new pivot cache?

I know about the technique to open a new workbook and copy it there and back again, but it is really annoying.

View 1 Replies View Related

Combine Sheets Using VLookups And Pivots?

Dec 8, 2013

I have 3 sheets in my workbook, DataA, DataB, and DataC

Data A contains:
ID_customer
and 4 variables A-D

DataB contains
ID_Customer
and 4 different variable W,X,Y,Z

Data C contains
ID_customer
and other 4 different variables

Request: I need to analyses the relationship between the variables using a Pivot table.

My thoughts so far: I think that I need to combine all the information onto one sheet first and then use the pivot table function, but its currently unable to combine onto one sheet, due to Id_ customer numbers appearing several times in DataB and DataC (and not always the same number of times in both), I need to retain all the information from DataB and DataC

I have attached a sample of my data : DataA.xlsx

View 6 Replies View Related

Multiple Pivots

Jun 6, 2008

Can someone direct me on how to make multiple pivot tables from values that are in a column?

View 9 Replies View Related

One Filter For Multiple Pivots?

Aug 14, 2014

I have 2 separate pivots running off 2 separate data sources. The filters used for each or fairly similar (bar one entry).

Is there a way to have one filter that filters the information in both pivots even though they are not based on the same data source?

Also, with the filter that is slightly different; in one table, I have an option that shows (this is just an example) 'retail and end user' yet, in the other table these are two separate options.

View 4 Replies View Related

Controlling Multiple Pivots

Aug 14, 2009

I am working on an excel sheet (2007) with about 8 pivots from the same data (huge db). The 8 pivots take a different cuts of data. One filter element is same across all pivots. (For instance let us say that filter is City names: with 10 different city values in it- NY, London, Chicago etc)

What I would like to do is have a system where I just chose NY in one place and all the 8 pivots should use NY as one of the filters and refreash the data accordingly.

What I am doing now is I got to each pivot, choose NY first and then refreash all for the data.

View 14 Replies View Related

Multiple Pivots One Filter Etc

Oct 16, 2009

I am looking for a way to combine three pivot tables in to one. Basically, one sales rep will have data for the current month, the year to date, and the total year. I have to compile this data to one sheet, for 30 sales managers! The problem with running the pivot three times (once for monthly, year to date, and yearly) is that brands that aren't sold in the month are then left off the table, which leads to a mess that it takes far too long to clean up. I hope I've made this clear, but please check the attachments for a better idea of what I'm looking to do...

View 9 Replies View Related

Multiple Pivots With The Same Row - How Do I Make Them Change At The Same Time

Oct 22, 2009

I'm using Excel 2003 for this project.

For example: -
I have 3 pivot tables with the same row 'Media' (TV, Neswpaper, Magazine) and each has count as the data field (number of people who read/watch) then each pivot has a different column, Region, age, ***.

If I change the row of the first pivot to only show TV, how do i code it so pivot 2 and 3 only show TV also? I may have upto 20 pivots inthe end.

I found the below code to do this for page fields but can't adapt to rows -

HTML Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
Dim ptTable As PivotTable, ptItem As PivotItem, vFields As Variant, lngField As Long
On Error GoTo ExitPoint
vFields = Array("filed1", "field2", "field3")

Application.EnableEvents = False
For lngField = LBound(vFields) To UBound(vFields) Step 1
For Each ptTable In ActiveSheet.PivotTables
If ptTable <> Target Then
With ptTable.PivotFields(vFields(lngField))
.CurrentPage = Target.PivotFields(vFields(lngField)).CurrentPage.Value
End With
End If
Next ptTable
Next lngField
ExitPoint:
Application.EnableEvents = True
End Sub

View 14 Replies View Related

Select Date Range In Multiple Pivots

Jan 20, 2010

I'd like to select the start date & end date for multiple Pivots (on one sheet).
Expl. if I put in a date in the "Start Date" cell : 01/01/2010 and another date in the "End Date" cell : 15/01/2010. Then all the pivots on the sheet should only show the date between 01/01 and 15/01/2010.

The dates in the pivots are under column "Date".
I have a code but it only selects 1 pivot and it doesn't refresh the pivots when you change the dates selection.

View 2 Replies View Related

Select Multiple Sheets And If Value In Cell Is True Then Copy Values In All Sheets And Hardcode Data

Feb 26, 2012

I have a workbook that updates from external source and creates sheets depending on a cell range.

I have put tab 1 and tab 0 on either end of where the new sheets will be inputted, will never know how many sheets

What i need to happen is if someone fills in "complete" in A7 in my "summary" sheet then the values in row 6 in all the other sheets get hardcoded. This needs to happen from A7 down to A26, so A8 = complete then copy row 7 etc
This is what i have so far

I get compile error here ........Sheets(ArrSh(1)).Activate

Also need it to work for all the other rows.

Sub hardcode()
'
'Sheets("Summary"). Select
If Range("a7") = "complete" Then
'
Sheets(Array("1", "0")).Select
Sheets(ArrSh(1)).Activate

[Code] ......

View 2 Replies View Related

How To Edit And Enable Data In Actual Pivots

Feb 14, 2014

I am trying to edit the data in the actual pivots rather than editing in the data source. i know there is vba code to enable pivot table editiing. how to enable this

View 14 Replies View Related

Macro To Refresh Pivots Also Resets Chart Data Label Fonts

Aug 20, 2013

I have 6 pivot charts within a document. I use a macro associated with a button to refresh the tables and therefore the data displayed on the charts.

However, each time I refresh the data, the 'data label' font size also refreshes. What is particularly odd is that 5 of the charts are pie-graphs, of those 5 graphs, the font size only resets on 4 of them (with the data labels in a single chart staying at my desired font size).

I can manually put the font size back to that which I desire but I'd rather it just didn't change in the first place.

I've had a look to see if there's any noticeable differences between the 5 charts but there's nothing which I can find.

I'd be happy to run a bit of VBA to set the font size as I want it, if there isn't a better solution.

View 1 Replies View Related

Grabbing Data With Multiple Criteria Across Multiple Sheets

Jun 24, 2014

I've attached a sample sheet to this message.

What I'm trying to do is grab data from the raw data sheet and paste it into the master sheet based off of certain criteria. I want to list any accounts that are not correct.

For example, I want to look through the Raw Data sheet, find the account that contains campaigns which are not correct, and then list the name of the account on the Master sheet. I only need the account name listed once on the Master sheet.

Sample Data.xlsx‎

View 4 Replies View Related

Formula / Function To Collect Data From Multiple Sheets And Store Data In One Sheet?

Dec 17, 2013

- I have total of 13 sheets in a workbook - 12 sheets represent 12 months with data; 13th sheet is single sheet in which i would like to get complete overview of 12 months

- each of 12 sheets has actually sales results for multiple products with following data: internal code, manufacturer part number, name, and qty sold in that month

- situation is that some products have been phased out during the year and some were introduced so each sheet is slightly different in terms of in which row certain product is located

What i would like to achive is to make 13th sheet (whole year overview) do the following:
- there is a list of all the products in it, each product has unique internal code - this code (from each line) should be used to find that code in each monthly sheet, then find its monthly sales value (copy it) and paste it in sheet 13 in cell that represents this product and particular month.

In other words i would like to see for each product what was monthly sales throughout this year, but avoid manually filling in qty for each product per month.

View 2 Replies View Related

Sum Data From Multiple Sheets

Feb 12, 2010

I have workbook with 12 worksheets (sample show only Jan and Feb sheets) from which I want to summary data onto a single Summary (see tab on worksheet) sheet. Each worksheet has three sections: Income, Expense, and Spending. From each of these sections I want to summarize data from columns: Description, Amount and Date.

For example, from Income section of all worksheets, I want Excel to look at the Descriptions column and total the Amounts for all items with the same description, that fall between two dates. Then Excel look at Expense section Description column and total the Amounts for all items with the same description, that fall between two dates. Then do the same for the Spending section.

The descriptions who's Amounts to be totaled cannot pre-exist on the summary sheet, so I need Excel to fine each unique description, list it once on summary sheet, then calculate the total. I’ve attached a sample file. The SUMMAY EXAMPLE sheet is what I would like the result to look like on SUMMARY sheet, but I’m open to a different layout.

View 4 Replies View Related

Add New Row After Last Row With Data On Multiple Sheets

Jul 16, 2014

I have an excel sheet with multiple tabs (Master, Sheet2, Sheet3, etc.). The Master sheet has a list of all current employee names in Column A and I want to add a Button to the sheet that will produce a message box to add a new name to the end of this list and after the last row of data on each subsequent tab (Sheet2, Sheet3, etc.). The problem I'm encountering is that the code I have requires me to select a cell and is just inserting a new row with the data on each sheet at the same point, so if I have row 14 selected the new entry is created at row 14 on each tab...

View 8 Replies View Related

Pull Data From Multiple Sheets

Jun 4, 2014

I'm working on a sheet trying to keep track on which client is working with which employee. The first sheet shows tracking for the year and each additional sheet is the month. Basically the Yearly sheet is there so I can quickly control+f "client name" and see which employee he or she is working with.

I attached a simple version of the workbook but basically it basically looks like this: Yearly sheet - Row 1 is the employees name, Row 2 is the month, and the rows after that are the clients name until it gets to the next month. January sheet - cell A1 says client, Cell B1 says employee. I'm inputing the clients in column A and the employee in column B and using this formula for the Yearly sheet (starting in row 3) =IF(January!$B2=Yearly!A$1,January!$A2,"")

This is working for what it's supposed to do, but it's not pretty and leaves a lot of of blank cells. Is there a simpler way of doing this?

YearlyClientsEmployees.xlsx

View 4 Replies View Related

Summarising Data From Multiple Sheets

Apr 21, 2009

I have a to do list on excel which spans 5 separate sheets (all within one file). I have given each item a priorty number e.g. 1, 2 or 3. I wanted to summarise on the first sheet how many priority 1s, 2s, 3s I have.

View 2 Replies View Related

Macro For Data In Multiple Sheets?

Mar 21, 2014

I want to consolidate the various employees' salaries of all months in a sheet. I enter salaries in different sheets month-wise and in each sheet, department-wise. Some employees get commission in various departments. Now, I need to see the details of an employee by giving his name. I should get month-wise his salary, commission and department in which he get commission, across all the sheets.

View 1 Replies View Related

Copy Data From Multiple Sheets

Aug 26, 2009

I am using the following code to copy data from multiple tabs to a summary tab - it is only supposed to copy the data in the rows if the cells in Column A have data in them, its working, but for some reason it is copying the data in columns Y and Z for four extra rows even though there is no data in column A for those rows.

View 5 Replies View Related

Userform Data To Multiple Sheets

Nov 17, 2009

I have created this with text, command & list boxes with a view to creating an asset register.

So the options i have are premises, hardware, software & fixtures. I have tested so that these go onto 1 sheet ( at the moment all additions go to premises) but i require for it to go to there respective sheets i.e. a sheet for each asset.

But, due to inexperience with userforms and VB i don't know how to do this.

Also, how can i get a sequential number coming up for each asset on their respective sheets

View 2 Replies View Related

Multiple Sheets Data To Table

Aug 4, 2012

I have the following (same fields) data in multiple sheets (named P1, P2 etc).

Would like to get the result as a table, based on the sheet name and the cell reference in that sheet.

P1 (Sheet Name)
row A B C
1
2
3
4 Data1 x
5 Data2 y
6 Data3 z

P2 (Sheet Name)
row A B C
1
2
3
4 Data1 a
5 Data2 b
6 Data3 c

New Sheet (Intended format of the result, based on the A3, A4 and B1, B2, B3 values)

row A B C D
1 Field Position B4 B5 B6
2 Sheet Name Data1 Data2 Data3
3 P1 x y z
4 P2 a b c

View 3 Replies View Related

Copying Data From Multiple Sheets?

Dec 1, 2012

Im looking for a way to copy all rows with data in them from row 3 to the last row with data to another worksheet. I would like to copy the data from ALL worksheets in the workbook apart from one called Grade Boundaries.

All the sheets have the same layout. I simply want to produce a sheet with the data from all sheets in one place.

View 1 Replies View Related

Sum Data From Multiple Sheets Using VLookup?

Jan 5, 2014

I have a excel doc we use at work to create a schedule for our technicians.

Each sheet is a week, so the sheet names are Week 2, Week 3, Week 4.
Each technician number is listed in column B (3,4,5,36,53,91, etc)
Row 5 has Mon-Sun
The techs work schedule is in the appropriate cell. (8 to 5, 10 to 7, Vacation, etc)

I want to count the number of shifts for each tech each week, with a running total for the year. It was easy to do it on each sheet with a simple countif formula. But The problem comes when I want to count them for the whole year.

I tried creating a "stats" sheet and make vlookup formulas to call the data from each weekly sheet. But with all the techs and shift types I want to count, it was like 40,000 cells. Excel wasn't able to calculate it, it had the "processing 0%" in the taskbar.

I thought I could use =sum(Week1:Week52!AZ6:BN50), which is where I have the counts from each weekly sheet. But my data is not always in the same spot on the sheet. Because of techs coming and going (new hires, people quit).

View 2 Replies View Related

Combining Data From Multiple Sheets

Mar 11, 2008

I have multiple sheets within a workbook, where the sheetnames will always be changing.

Inside of these worksheets there is data that will be different, the starting cell of the range is allways the same and the number of columns is constant. The number of rows changes. I need a code that will go to each worksheet, define and copy the range on that sheet and paste it onto a summary sheet, in order.

I would like to collect all the data and put it onto one sheet.

View 9 Replies View Related

Treeview Data From Multiple Sheets

Jan 16, 2007

I am trying to populate a TreeView control from multiple sheets. I have managed to populate it from one sheet but can't do it for multiple sheets.

see my code below:

Dim arrName As Variant
Dim arrParent As Variant

With Sheets("Sheet1"). Range(Sheets("Sheet1").[A2], Sheets("Sheet1").[A65536].End(xlUp))
arrName = .Value
arrParent = .Offset(, 1).Value
End With

I want to be able to make it look up from Sheet2 aswell.

View 4 Replies View Related

Filtering Data Across Multiple Sheets

Jan 23, 2007

I have a workbook that has a sheet for each day of the month. The data on all of these sheets is formatted the same. I have a sheet that is an "overview" sheet. I want to be able to use a filter function (like autofilter does) but have it filter across all of the sheets and display the results on my Overview sheet.

View 3 Replies View Related

Filter Data Across Multiple Sheets

May 20, 2008

I have a workbook with 236,000 rows of data (accross 4 sheets). Each sheet is identical layout with differnet data. An example of the data is:

Policy NumberScheme Number Name Agent code Scheme Name
KxxxxxxxxxxJxxxxxMr A example5/xxxx Example Scheme
KxxxxxxxxxxJxxxxxMr A N Other6/xxxx Another Example

To do a search for a scheme number for example I would filter the 4 sheets using the scheme number I needed, then copy and paste the info from the 4 sheets into a 4th sheet so that I could work with the data.

I need to know if its possible to do the following:

create a useform to act as a GUI to that if a scheme number is selected it will search/filter the 4 sheets and present the results in a 5th sheet

View 7 Replies View Related

Extract Data From Multiple Sheets Into One

Aug 6, 2008

I am running into at the moment is that where the Select Case is checking if the sheet name starts with the initials and project number, it doesn't seem to recognise if it is correct (and therefore perform the actions). I have stepped through the code and when I use the immediate window to manually check:

? ws.Name Like "TA0632*"

I get True as an answer, but the code goes on to the next case as though it is false. Here is the code I have so far, which I'm sure can be trimmed down loads:

Option Explicit
Dim currCell As Range
Dim c As Long
Dim r As Long
Dim rng
Dim ws As Worksheet
Dim skp As String
Dim LastColumn As Integer

Sub Breakdown()
Dim t
t = Timer
For Each ws In ThisWorkbook.Sheets
Debug.Print "Current sheet is " & ws.Name
CheckSheet...................

View 2 Replies View Related

Link Data From Multiple Data Sheets

Sep 4, 2009

I am trying to link data from multiple sheets in a file into one sheet. This is the following I want to achieve.

1) I want to pull data from the tab - Tab 1 (in the attached sheet) from column F only if the column E cell has 3, into the "Plan" Sheet in cell D5. I want all the 3's information from Tab 1 (F12, F14, F16 and F17) to be in the same cell D5 with alt+Enter spacing. The trick is these cells may not be always 3 they can be either 1,2,3. So the function needs to go through the entire range E10:E69 to find where there are 3 in the E column and then return the corresponding data from the F column to the "Plan" sheet in Tab 1.

View 4 Replies View Related







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