Excel 2010 :: Using Slicers On Tables?

Apr 11, 2013

Is there any way to use slicers on a table in 2010? I've seen posts that it is available in 2013, but can't find find a definitive answer on if there is a way to get it to work in 2010.

View 5 Replies


ADVERTISEMENT

Excel 2010 :: How To Cascade Slicer Selection To Other Slicers

May 16, 2014

I've inherited a workbook that has about two dozen or so pivots spread over a few worksheets that source data from an analysis services cube.

There are multiple slicers attached to the various pivot tables and charts

Some of the reports (worksheets) have a business rule that certain filters need to be selected in specific combinations for the data that's returned to make sense.

eg the fact table holding the measures has a billmonth and processmonth that's linked to role playing date dimensions. For the report to reconcile the data correctly both the billmonth and processmonth need to be set to the same value. So if I select 2014-03 on the billmonth slicer, I need to set the processmonth slicer to 2014-03 as well. And there's another pivot on the same worksheet that's linked to a different fact table that's at the year grain, and for that bit to make sense it should be set to 2014.

My task is to simplify this by propagating the billmonth value to the processmonth and the billyear, but I haven't played with vba in about 7 or so years, so I'm very out of practise.

How do I use vba to monitor a slicer for changes? and if it does change how to set another slicer to a dynamic .Value? It can be assumed that the value will always exist in the downstream slicers, if it doesn't the user has bigger problems than an excel error.

I've recorded the macro of me selecting the same date on both slicers but it doesn't give me much to go on

ActiveWorkbook.SlicerCaches("Slicer_DimDateBill.DateHierarchyFinancial1"). _
VisibleSlicerItemsList = Array( _
"[DimDateBill].[DateHierarchyFinancial].[Fin Month].&[201403 FM09]")
ActiveWorkbook.SlicerCaches("Slicer_DimDateProcess.DateHierarchyFinancial"). _
VisibleSlicerItemsList = Array( _
"[DimDateProcess].[DateHierarchyFinancial].[Fin Month].&[201403 FM09]")

Also it should disallow multiple selects, is there code to monitor that as well?

View 3 Replies View Related

Excel 2010 :: Creating Multiple Tables In VBA And Referring To Newly Created Tables?

Jul 1, 2013

Using Excel 2010. I'm writing a macro that sets up a workbook to be used for estimating at the beginning of a project. In the code I need to create multiple tables (formerly known as "lists") in the workbook. Then later in the code I need to refer back to those newly created tables. Currently, the code that creates the table is part of a loop that creates the table on many different worksheets. The problem of course, is that I have to name the Table, and then it won't create a table of the same name on the next sheet. Then, later in the code, I need to make adjustments to the table that was just created before looping to the next sheet.

Is there a way to create a table without giving it a constant name? Or by giving it a name that builds off of other info in the sheet? For example, I would be good with the naming the table after the sheet name: "Sheet1_Table" or such.

Code:
Sub Auto_Open()
'
Dim sht As Worksheet
If Range("A1") = 1 Then

[Code].....

View 2 Replies View Related

Excel 2010 :: Comparison Of Contents Of Two Tables

Oct 31, 2012

I have Table1 in sheet1 and Table2 in sheet2 of same Excel Workbook. The contents ( Data in columns B, C, D, E and F) of Sheet1 Assets are to be verified with respect to the contents ( Data in columns B, C, D, E and F) of the same Asset in Sheet2. If the all contents (of all columns) are matching, it should return Boolean value (True) in column G of the sheet1 or else Boolean value (False).

I am using Excel 2010 version and I do not have Power Pivot menu.

Table1:
Excel 2010
A
B
C
D
E
F

1
Asset
Prevention
Control
Detection
Mitigation
Escape, Evacuation & Rescue

[Code] .........

Table2:
Excel 2010
A
B
C
D
E
F

1
Asset
Prevention
Control
Detection
Mitigation
Escape, Evacuation & Rescue

2
U1101JBM
Y
Y
Y

[Code] .....

View 4 Replies View Related

Excel 2010 :: Sum Values Between Two Dates In Tables

Jan 27, 2014

Code:
tblCluster
Jan-14 Feb-14 Mar-14
Salary 10,000 20,000 30,000

Jan-14
Feb-14
Salary 30,000

I have a table above (in red), as an example, my actual table goes out 60 months.

Where the Green Value is, I need a formula that will reference the two months above it (They could be any of the 60 months), that will then sum the salary from the table between the selected two months (including these months)

I have tried,

Code:
=SUMIFS(C6:BJ6,
tblCluster[[#Headers],[Jan-14]:[Dec-18]],">="&'Cluster Analysis'!$I$51,
tblCluster[[#Headers],[Jan-14]:[Dec-18]],"

View 2 Replies View Related

Excel 2010 :: Find All The Data Tables In Workbook?

Aug 7, 2013

I am using Excel 2010. I am digging through a workbook with 80-some worksheets. There is one worksheet with 11 data tables. When the workbook refreshes, there is a note at the bottom saying something about 21 data tables. I am not sure where the other 10 are. In an online post, someone said that the Name Manager should show them. But in Name Manager, when I filter on Tables, the list goes blank, and all the icons are the same for the other named ranges. Is there another way to find the data tables?

View 9 Replies View Related

Excel 2010 :: Grouping Information In Pivot Tables

Oct 24, 2013

I have a pivot table below: Excel 2010. All of the information within it is text, not numbers, as illustrated below as well.

Below is what I have now....

Column A, Row 1 = Red
Column B, Row 1 = Blue
Column B, Row 2 = Yellow
Column C, Row 1 = Green
Column C, Row 2 = Green

What I want it to look like is below, removing the second word "green" from column C.

Column A, Row 1 = Red
Column B, Row 1 = Blue
Column B, Row 2 = Yellow
Column C, Row 1 = Green

Is there a way to do this and do it automatically? If I was doing this in a regular excel sheet, I would have a merged cell in column C, rows 1 & 2.

View 2 Replies View Related

Excel 2010 :: Filter Table Into Smaller Tables?

Jan 4, 2014

I have a table that contains all my data and would like to filter it by company into their own tables that will stay up to date with the main table and then hopefully somehow calculate their investment returns (future stage). I thought Microsoft Query would work but I came across a problem see my other post MS Query returning data to excel some columns I cant sum looks like text

Excel 2010

View 1 Replies View Related

Excel 2010 :: Import Data From Other Spreadsheets Into Multiple Tables?

Sep 13, 2013

I'm trying to create some vba code that will go into other .xlsx documents, pull all cells with a value in the first 30 columns and then return them as a table. Basically each work crew has a .xlsx spreadsheet containing their schedule and I am trying to bring them all together into one nice little package. If I go to import from external sources then click XML data, navigate to the folder they are in and them click show all files and pick my spreadsheet it imports nicely. Then I go to the next blank cell in column "A" and repeat for the 4 crews. Now I can filter by each crew but all 4 are visible on a single page as a table. I recorded a macro that shows everything I did, but it is not dynamic (the .xlsx source files name changes based on the month) I'm running XP sp3 with Excel 2010

Here is a copy of what I have

Code:

With ActiveSheet.ListObjects.Add(SourceType:=0, Source:=Array( _
"OLEDB;Provider=Microsoft.ACE.OLEDB.12.0;Password="""";User ID=Admin;Data Source=C:Documents and SettingsUSERNAMEDesktopSCHEDULE STUF" _
, _
"FAcrewCurrent.xlsx;Mode=Share Deny Write;Extended Properties=""HDR=YES;"";Jet OLEDB:System database="""";Jet OLEDB:Registry Path=""""" _
, _
";Jet OLEDB:Database Password="""";Jet OLEDB:Engine Type=37;Jet OLEDB:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;J" _
, _
"et OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="""";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt " _

[code].....

Is there a better or simpler way to do this? The tables don't need to be forever linked to their previous spreadsheets so if copy/pasting is a better way than I am all for that as well.

View 1 Replies View Related

Excel 2010 :: Macro To Import Multiple Word Tables Into Worksheet

Jun 5, 2014

I am trying to take multiple tables from a Word document and import them into an Excel worksheet. Currently I have found two versions that when combined, could yield what I am looking for. The first one imports the table's data from Word, but does not maintain formatting of the table (font, colors, rows/columns etc.):

The next code maintains formatting, but only imports/pastes one table:

[Code] .........

For the second one, I do not like the fact that it is calling a specific Workbook to paste into. If I could somehow maintain the ability to import/past multiple tables while keeping formatting that would be perfect. An extra bonus would be to import each table within the Word document into individual Worksheets in Excel. I am also using Office 2010.

References: [URL] .........

VBA - How to preserve source formatting while copying data from word table to excel sheet using VB macro? - Stack Overflow

View 14 Replies View Related

Excel 2010 :: Pivot Tables - Data Source Reference Is Not Valid

Jun 27, 2012

I've been trying to create pivot table in excel 2010. Unfortunately I've been getting this message "Data source reference is not valid"?

View 2 Replies View Related

Excel 2010 :: Tables - SUMIFS Formula With Structured References And Greater Than Or Equal To

Nov 13, 2013

SUMIFS with less than & more than

I found this thread which works for normal ranges

I want to Sum for Values Greater than a specific date in my formula.

This first one works for a specific date (Relevant reference in red), so say 01/01/2014

Code:
=SUMIFS(Table2[[#All],[Basic]],
Table2[[#All],[Cluster]],Table3[[#Headers],[Company]],
Table2[[#All],[Start Date]],Table3[#Headers],
Table2[[#All],[Perm / Temp / Prof / ETA]],[@Company])

Code:

To Sum for ranges >= 01/01/2014, I have tried this below based on the thread above but Excel does not accept this.

=SUMIFS(Table2[[#All],[Basic]],
Table2[[#All],[Cluster]],Table3[[#Headers],[Company]],
">="Table2[[#All],[Start Date]],Table3[#Headers],
Table2[[#All],[Perm / Temp / Prof / ETA]],[@Company])

View 4 Replies View Related

Can't Reconnect Slicers After Changing Data Source

Feb 11, 2014

I have a workbook with some pivot tables connected to a single slicer. My macro needs to disconnect the pivots from the slicer, change the data source, and reconnect the slicer. When my code gets to reconnecting the slicer it bugs out as if the data source is not the same for all the pivot tables (also doesn't let me reconnect manually). But when I look at the source, it is all the same and correct. If I manually set the data source the slicer reconnects just fine. Why is my code causing problems with the slicer?

Here is my code for setting the data source. Pretty sure this is the code that is causing problems for me.

Code:
newaddress = "$B:$" & Mid(Cells(1, YTDcolumn).Address(), 2, 2)
.PivotTables("PivotTable1").ChangePivotCache ActiveWorkbook. _
PivotCaches.Create(SourceType:=xlDatabase, SourceData:="TOP250Excel!" & newaddress, _
Version:=xlPivotTableVersion14)

Here is my code for reconnecting the slicer connections.

Code:
ActiveWorkbook.SlicerCaches("Slicer_Top250Excel_cypheren_Query_Name"). _
PivotTables.AddPivotTable (.PivotTables("PivotTable1"))

View 1 Replies View Related

Change SourceData For All Pivots In Workbook While Disconnect / Connect Slicers?

Jan 28, 2014

I have 6 Slicers in called "Quantrix" The slicers are called REG, DIRECTOR, AREA MANAGER, AOI, DMA, AG and CLOCK. I have 15 pivots (6 in Quantrix tab and 9 in a tab called "Pivots").

I have vba code to update all pivot cache (showing 1 pivot update below) ...

PHP Code: 

    Max = Sheets("eLink_Raw").Cells(Rows.Count, "A").End(xlUp).Row
    Sheets("Quantrix").PivotTables("Quantrix 1").ChangePivotCache ActiveWorkbook. _
      PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
      Sheets("eLink_Raw").Range("A1:AW" & Max).CurrentRegion _
      , Version:=xlPivotTableVersion14) 

Here is the code to disconnect SLICER, update source data for ALL pivots then reconnects slicer... This works great but its ONLY 1 SLICER

PHP Code: 

 Dim vPivots As Variant
    Dim i As Long
    Max = Sheets("eLink_Raw").Cells(Rows.Count, "A").End(xlUp).Row
    With ActiveWorkbook.SlicerCaches("Slicer_REG").PivotTables

[Code] .....

How can i disconnects ALL Slicers, change source data for ALL Pivots then reconnect ALL slicers?

View 14 Replies View Related

Excel 2010 :: Getting Outlook Warning (2010) While Sending Email Through Macro

Mar 25, 2014

I am trying to send bulk emails from my excel 2010 - however I am getting a POP UP. find the screen shot in the enclosed word document So every time a new mail is sent from excel we need to press the button allow Is there a way where I can turn off this warning.

View 6 Replies View Related

Pivot Tables Within Excel?

May 15, 2014

All I want to do is write some vba script that inserts a pivot table based on all of the data in my current workbook.

Therefore I want something incredibly simple if it exists like:

ActiveWorkbook.PivotCaches.Create(SourceData:= ActiveWorksheet.Select.AllData)

ie the vba code that just takes the data you've got in your current worksheet and creates a pivot table.

View 1 Replies View Related

Excel To Compare Between Tables And Come Up With A Result?

Jan 23, 2014

How do i get my excel to compare between tables and come up with a result. For example i have 2 tables,

Table 1

[Code]....

Table 2

[Code] ....

How do i make them compare and then come up with a result like

[Code] ....

View 1 Replies View Related

HTML Formatted Tables Into Excel

Apr 18, 2011

I have roughly 100 HTML files, each containing a single table of formatted data (created with the SAS statistical software package).

I realize that I can open an HTML file with Excel, do what I need (e.g., copy, format, save as an Excel file), but I would like to try to automate the process, if at all possible, even if it's simply open the HTML file and save it as Excel. That would save me quite a few clicks it seems.

Ideally I could pass a directory name to Excel (via VBA) and have a series of "operations" (i.e., save as an Excel file) performed on each HTML file in the directory, ultimately resulting in a corresponding collection of "new" files (in my case, Excel files).

If this was very fancy, I would love to take each HTML file and copy the one table in each, and paste into a separate worksheet in a new Excel file (so 100 HTML files would result in one Excel file with 100 worksheets).

I did try to generate a macro while using the Import External Data "tool", but didn't have luck with that (although I am able to get the tool to work, just not within a macro environment).

View 9 Replies View Related

Excel 2007 :: Copying Tables To Word Using VBA

Jan 8, 2013

I am creating many tables in excel using a macro, and I want to copy them into a word document for later use. All the tables come from a long list, so for simplicity, they all get created on the same range starting at F1. Before deleting the existing table and adding the new one, I'm trying to copy/cut the table and paste it into a word document.

In case it makes a difference, I have office 2007

VB:
Sub ExcelToWord(LastRow)
Dim objWord As Word.Application
Range("F1:F" & LastRow).Copy
With objWord
.Documents.Add
.Selection.Paste
.Visible = True
End With
End Sub

View 6 Replies View Related

Create Trend Analysis Using Excel Tables?

May 24, 2014

I need to create some trend analysis for Vehicle sales. I have attached a file with sample data.

There are few problems i am facing like description has all the vehicle details which are not in any particular order, even if some how i manage to separate these then too many variables are not letting me come to any conclusion for example make, model, mileage, year of registration color of vehicle, auction sold, sale price, cap (bench mark for pricing).

what i need to produce is which auction sells certain vehicles best or which color of certain model sells best.

[URL]

View 1 Replies View Related

Excel 2007 :: Sub-Tables From Master List?

Feb 27, 2014

I am trying to create a dynamic sub-table on another sheet from a master list in excel 2007. Where the master list size can change and have this reflected in the sub-table. I cannot use pivot tables.

Example:
Master List (Locations):
London
Drummond
Kentville

Sub List (should look like this):
London #count
Drummond #count
Kentville #count

View 11 Replies View Related

Excel 2007 :: Find Duplicates Across Two Different Tables

Feb 25, 2014

I'm running Microsoft Office 2007.

I have 2 separate tables.. both a list of contacts of sorts.

In one table I have a list of all my clients (table A), in the other I have a list of "preferred" clients (table B).

The contact details etc that are stored in table A are more comprehensive to those in table B.

Effectively, I want to search for all of my preferred contacts from table B and filter for them in table A.

Then ideally I will sort alphabetically and just cut and paste the details into my preferred client spreadsheet.

I had a look online and there was something about creating a "relationship" but I don't think excel 2007 allowed me to do it. I certainly hadn't heard of powerview or powerpivot that they were using!

View 6 Replies View Related

Automatically Populating Tables Between Excel Sheets?

Dec 5, 2011

Sheet one has seperate logs for each item received in January and the reasons they were returned - so if you can imagine ( note / demonstrates column seperation) the following column headings: Date received / item description / approved within 1 day / returned for high risk.

On sheet 2: i've got a simplified data table which tells me that in January, there were 10 occurances of items approved within 1 day; and 8 occurances of items returned for high risk.

So sheet 2 looks like this:

01 Jan 2012 / 31 Jan 2012 / approved within 1 day / returned for high risk

I'm trying to get it so that any data input into sheet 1 for January will automatically update these columns in sheet 2.

This is what i've attempted to do:

what is the sum of the "1's" demonstrating occurances of "approved within 1 day" in sheet 1: Sheet1!J15:J179

if the date received in sheet 1 is between 1 Jan 2012 and 31 jan 2012 sheet 2: TODAY(Sheet1!D15:D179>Sheet2!A14
So at the moment i've got:

=SUMPRODUCT(Sheet1!J15:J179)*TODAY(Sheet1!D15:D179>Sheet2!A14

View 1 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

Excel 2007 :: Prevent SQL From Locking Tables?

Oct 28, 2013

I saw a previous post regarding using "with (nolock)" in the FROM statement with each table to prevent SQL from locking the tables. I'm not sure exactly what's going on, but when I edited a query to add an extra criteria, the query is grinding the server practically to a halt (such power!!). Our IT guy tells me that my query is taxing the server. Maybe I'm not using the NOLOCK correctly?

Here is the query as I'm running it that runs slow. (The additional WHERE statement that I added that created the slow down is this one: ((cicmpy.AccountTypeCode='TSH') AND (oehdrhst_sql.ord_dt>={ts '2013-01-01 00:00:00'}))

Prior to adding this statement and the NOLOCK, the query runs in a flash.

Full query:

SELECT
oehdrhst_sql.ord_type,
oehdrhst_sql.bill_to_no,
cicmpy.AccountTypeCode,

[Code]....

View 1 Replies View Related

Creating Relationships Lists From Data Tables Within MS Excel?

Mar 22, 2013

how to do this, but I know it can be done.... I want to use one drop down list created via the Data Validation 'List' Criteria to then lookup data based on the selection made in this list...... this will require a number of reiterations to get to the final result......

So:

Drop Down No:

1. List: Department Function:

2. List: Sub Function List Based on Selection from 1.

3. List: Job Code, Title and Pay Grade based on Selection from step 2

how to ensure that we are able to minimise the overall workbook size due to the complexity that is required here as this is just the basics.... this will need to applicable further once this basic requirement has been fulfilled.

View 9 Replies View Related

Excel 2007 :: Doing Advanced Stop With Pivot Tables?

Aug 9, 2014

I am new to doing advanced stop with pivot tables. I know how to make one to do very basic things but I have since learned you can add your own calculated fields. I have a list of data that has a line of record for each different day of sales which each guest. There is a lot of information on the sheet but the columns that matter are as follows:

ColA= CustID

ColB= Trips(this field is the same value for each record of the same customer and represents the total number of trips the Cust has) on a side note this field can be removed if it would be easier to just do a count of custid as those are the same thing

ColC= Months(this field is the same value for each record of the same customer and represents the total number of different months the cust made a purchase)

ColD= AmountSpent

I can use a pivot table to show me the total amount spent by Cust real easy. But I would like to add in the two other fields Average per trip and average per month by cust. Is this something that can be done in a calculated field?

I use Excel 07. I know I can run formulas to get the answer I want however due to the shear volume of records being over a million(I know we should use access at this point but the company does not want to) the time it takes the formulas to calculate freezes my computer(need a serious upgrade).

View 1 Replies View Related

Excel 2013 :: Pull A PowerPivot Table Off Of The Tables?

Mar 22, 2014

I threw together some sample data, just to test things out. It's very basic, one table of "Customers" and another table with the 50 US State's and their corresponding abbreviations. In the "Customers" table, there is a column of state abbreviations, and in the "States" table there is a column of state abbreviations as well. I have a relationship set up between these two in PowerPivot.

Each "Customer" in the "Customers" table has a unique "User ID". In some states, there are multiple "Customers" (User ID's).

When I try to pull a PowerPivot Table off of these tables, it's showing me all the states as being associated with every user ID. It looks correct if I just pull in the "States" column and the "User ID" column from the "Customers" table...

image1.jpg

But as soon as I drag in the "Full State Name" column from the "States" table, it screws up the PowerPivot Table and shows all the state names being related to the state abbreviations, and all the User ID's as being related to all the states. (This isn't the full image of the table, only part of it, since the full image would be too large).

image2.jpg

I'm used to doing everything with VLOOKUP's, and seldom used PivotTables at all in the past. But it was my understanding that these new PowerPivots would eliminate much of the need for VLOOKUP's.

View 2 Replies View Related

Excel 2003 :: Linking Worksheets - Database Tables

Jul 27, 2014

I have a number of separate worksheets in one spreadsheet all based on the same list (eg customers); the customer's name is the first column and hence the 'key' in each worksheet; when I insert or delete a line in the main worksheet the formulae in the first (customer name) column are amended in the other worksheets BUT I ideally need more than that; when I insert a new customer in the first (main worksheet) I need a new line with that customer name inserting into the corresponding place in the other worksheets; and when I move a line (eg delete a customer and move them to the bottom of the main worksheet list) I need the corresponding lines in the other worksheets moving as well. I guess what I really need is a drill-down function; a main customer list and sub-lists all linking back to the main lists like you would get in database tables.

View 5 Replies View Related

Creating Multiple Word Tables From Excel Data?

Sep 17, 2011

I'm working on a national survey with valuable data from students. The plan is to turn around, 100 different reports to the departments with their respective students.

The issue that I have is creating multiple tables from multiple sheets in excel into a word table, any way of automating it.

What the tables look like in excel:

What I want them to look like in word, with a chart if possible:

I realize that I can just copy and paste easy table into word from excel and with a few clicks of a button, get what I want. But i'm looking for something to automate and simplify this process. There are about 300-400 variables that I need to crosstab with certain demographics.

If it matters any, I bought a software package (Q Market Research) but it doesn't make the tables look exactly how I want them to look. The data is from SPSS, those tables are flat out.

View 9 Replies View Related







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