Formula Defaults To GETPIVOTDATA Using Mouse

Oct 28, 2006

I have this problem with pivot tables:when I write a formula relating to a cell in the pivot table I don't get the usual basic cell refs (e.g. B4/b5) but I get something like GETPIVOTDATA("Vehicle No",$A$3,"Model Desc",...... etc etc

and I cannot copy and paste this formula!

I would like to know if there is a shortcut to use basic Cell refs because it is very boring always type the cell details in manually when using data from a Pvt table

Some weeks ago I had to move from excel 2000 to excel 2003 and It seems incredible to me that moving to a more recent release of excel become a step behind....

also using vba code?

View 3 Replies


ADVERTISEMENT

Variable Reference In GetPivotData Function/Formula

May 28, 2008

I am trying to do a "getpivotdata" formula on a cell in certain file that gets info from a pivot table on another file. However the name of the second file (the one where the pivot table is found on) might be different each time so I created a variable for the second file name but I can’t figure out a way to use this variable in the get pivot data formula as I am not very experience with VBA.

Template = Application.InputBox("What is the name of the file ending with (.xls)")
If Template = False Then
cont1 = MsgBox("Please write the name correctly using (.xls)!", vbOKOnly)
If cont1 = vbOK Then
Exit Sub
End If
End If

View 3 Replies View Related

Set Print Defaults

Aug 22, 2009

I want "Print what" >> "Selection" (instead of Active Sheet) to be selected by default in the print dialog when I press Ctrl+P. How to do it?

See the image if you don't understand which dialog I'm referring to: http://dl.getdropbox.com/u/872430/print_5.gif

My second question is actually answered in a very old thread. I want to know if there is an alternate way or if the answer in old thread is still valid.
The question is "how to set default paper size?"

The answer given in the old thread (http://forums.pcworld.co.nz/showthread.php?t=28637) is by going to Control Panel and changing printer settings. Since, Excel often shows only "blank" (with a dropdown containing the various paper sizes) against "paper size",

View 4 Replies View Related

Date Defaults To 01/00/1900

Aug 25, 2009

I am working with an Excel file that was created in 2001, has not been updated since.

In the first column on the first tab, is a date field, starting from 12/31/2000.

I try to change this to 12/31/2008, and I get the return date of 01/00/00. When I select the cell, the formula bar indicates 12/31/2008, but the cell shows 01/00/00.

If I change it back to 12/31/2000, it is back to normal. I tried to enter 2/3/2009 in another cell, converting to date format, and the same thing: 0/1/00 (Jan 0, 1900)

This is a US date format.

View 7 Replies View Related

Reset Defaults For Import Wizard?

Apr 14, 2013

Is there a way to reset the defaults for the text import wizard? I occasionally import a number of files in CSV format, but the wizard defaults to tabs as the means of separating the text. I would like to reset the default on the second page of the wizard to commas, not tabs.

View 3 Replies View Related

How To Set Defaults For Pivot Table Options

Feb 6, 2013

In the PivotTable Options pop-up box on the Data tab, I like to set the "Number of items to retain per field:" box to None.

By default, Excel has it set to "Automatic." How can I change the default to "None" for all my Excel files?

View 1 Replies View Related

Change User Form Defaults

May 22, 2006

I have user form that I want to get rid of the close button that appears as an x in the upper right corner. Is there a way to have this not show when the form comes up ?

View 2 Replies View Related

Worksheet Not Accepting Printing Defaults

Aug 22, 2006

I've created a worksheet that uses multiple print macros with defined margins. This works fine with the Epson printers I have, but a user has an HP Officejet Pro K550.

This printer has an option named "Minimize Margins". If this option is checked then you adjust the margins the way you want.

For some reason when this particular workbook is opened you have to manually go and check this option so that the margins can be manipulated. this is a problem b/c my macro prints several reports so it's impossible to set this option.

I then opened a different workbook and it accepted the default setting (option checked). For some reason the workbook I created doesn't.

View 3 Replies View Related

Getpivotdata Function

May 3, 2007

I'm struggling to get the "getpivotdata" function working correctly.Sample book attached.

I'm trying to return the data that is held within the pivot table to a separate part of the sheet.In column D I have week numbers and in column E the qty(which is currently empty) How do I return the qty in column E from the data in the pivot table (column B) relative to the respective week numbers.

View 3 Replies View Related

Excel 2010 :: Printing Multiple Worksheets And Changing Printer Defaults

Jul 29, 2011

We have just refreshed our entire printer fleet to Xerox printers and as part of the project we have selected all defaults to B&W and duplex.

On a multi sheet excel file, If we click print then choose entire workbook and then change the print options to colour, it prints the only first worksheet in colour, and all the others in mono. i have read that excel treats each worksheet separately and does not cascade the changes made made in the first worksheet even if all sheets have been selected.

How can I get them all to print in colour?

We can set up another printer and change the defauts to colour but we dont want to go down that road and have 2 printers installed for each model.

Is there any code out there can will/ can change the properties of the first worksheet and cascade this throughout the workbook.

We use XP and W7 workstations and office 2003, 2007 and 2010. By the end of the year all workstations will be W7 and Office 2010.

View 2 Replies View Related

GETPIVOTDATA Return 0 Instead Of ERROR

Apr 8, 2009

Is there any more efficient way to get a formula that tries to get pivot data to return data to show zero, rather than ERROR, than this?

=if(iserror("the get pivot data formula"),0,"the get pivot data formula")

I am trying to squeeze some more effenciency into a ridiculous spreadsheet, and I hate that this formula has to do 2 lookups and an if statement. If this really is 2x the work, I was wondering if there is a more efficient way?

View 9 Replies View Related

Getpivotdata From A Separate Worksheet

Feb 23, 2010

i am working on a project where i need to get data from a pivot table that resides on a separate worksheet named "Pivot_by_Group".

I have a worksheet "Budget vs. Actual" and I need to pull data from the pivot table to populate the Actual values.

How can i do that and one more thing, hopw can i suppres errors (#NAME, #REF, etc), i've used the ISERROR function with no luck.

View 9 Replies View Related

#REF! Error From GetPivotData Function

Oct 2, 2008

Excel 2003, WindowsXP

When I type = and then click in the pivot table under group1, I am recieving a #REF error. It strange because when I do the same thing in another group (ie. group 2 or group 3, etc.) in the same pivot table I don't recieve the error?

View 6 Replies View Related

Getpivotdata Using Date As A Reference

May 22, 2006

Trying to use a the getpivotdata fomula with date as an argument, refer to with a cell. e.g. =GETPIVOTDATA( 'May Table'!A1, "SICK " & S20). where S20 is a date format

View 2 Replies View Related

Hide Or Prevent #REF! In GETPIVOTDATA

Sep 6, 2007

My created pivot table chart is a "sales funnel" that has 8 field list in the title section used to slice the date (i.e. per quarter, per sales person, per product, etc.). When a combination of selections results in no data, the pivot table dynamically removes this column or row. The GETPIVOTDATA function returns a #REF! because of the invalid reference. How can I lock the pivot table to always have all columns and rows or can I return a zero instead of the #REF!? When the #REF! occurs in a @sum range, the #REF! is returned instead of the sum of the numbers.

View 3 Replies View Related

Dynamic Named Range With GETPIVOTDATA

Jun 18, 2013

I want to create a charts on a pivot table, but I don't like the way Pivot charts function and the limitations they have.
So I want to create a normal charts that is dynamic and based on a pivot table.

In order to do so, I want to create dynamic named ranged for the data in the pivot table to use for the data series for the chart.

I can reference the week numbers (headers in the pivot table) for one data series and get the data by this formula:

=OFFSET(Weekly!$C$15,0,0,1,COUNTA(Weekly!$14:$14)-1)
$C$15 is the first cell that holds the data for the series.
Row 14 holds the week numbers (headers in the pviot)

However, I want to make that formula even more dynamic by having it reflect the changes done to the pivot table who's cells it references to.

So how do I do this using the GETPIVOTDATA function? (or some other function that makes it dynamic and reflect changes done to the pivot table and accounts for the row numbers with the data can change)
If I generate the GETPIVOTDATA formula and try to substistute the fixed cell reference for $c$15 with it, the OFFSET formula for the dynamic range gives an error.

And how can I grab the column headers (week number) dynamically?

View 1 Replies View Related

Attempt To Extract Data, GETPIVOTDATA?

Nov 14, 2005

I've attached a spreadsheet which is a basic version of what I'm trying to achieve. I've got a pivottable based on 3 columns of data: Order No, Delivery Date, Value

I want the sum of a given order in a certain month. E.g. the value of Order No. 1001 for Dec '05. I tried doing a pivottable and then using GETPIVOTDATA (which I've not really used before) and failed. I imagine there's a better way I've not attempted yet. Can anyone shed any light? The spreadsheet is attached

View 7 Replies View Related

Set Cell References In GETPIVOTDATA Function

Aug 30, 2007

Is it possible to replace the Pivit table name/reference in a GETPIVOT function with a cell/range reference? I can on other components of the function call, but not that. For example ... the "hardwired" function call might be:

=GETPIVOTDATA(" Sum of 1991",'[EE_financial data.xls]Sheet1'!$A$3,"Company","ERG","Item"," Depreciation & Amortisation")

I can achieve the same result by externalising the 1991 and ERG, so i replace this with other dates or names, thus:

ERG
1991=GETPIVOTDATA("Sum of "&C13,'[EE_financial data.xls]Sheet1'!$A$3,"Company",D12,"Item"," Depreciation & Amortisation")

.. and this works fine.

However, if I try and replace the '[EE_financial data.xls]Sheet1'!$A$3 with a reference to a cell containing that string, it returns #REF!

View 3 Replies View Related

Excel 2010 :: Generate GetPivotData Not Working?

Dec 10, 2012

In Excel 2010, I can manually enter the GetPivotData function (and it works), but with Generate GetPivotData selected / enabled (in PivotTable Tools --> Options --> PivotTable --> Options), the GetPivotData function isn't automatically generated.

View 1 Replies View Related

GETPIVOTDATA To Include Hidden Items/Fields

Jul 8, 2006

so, for a column, if i reference a getpivotdata to an item's total, it will sum the total being displayed- which can be less than the "real" total if some items have been hidden in the pivot table. what i want is to have getpivotdata (or another function, i don't care what it's called) to always sum an item's total for the entire pivot table range- irrespective of whether certain of it's details have been hidden. ideally, what i'm trying to do is:

sum the total of an item for the pivot table range
sum the total of the column from the original data
compare if they are not equal, the pivot table has not been refreshed

i need to do this without macros. (it's my "solution" to see if macros are enabled or disabled- because my pivot table automatically refreshes data based on macro)

View 4 Replies View Related

Sum Up Multiple Items For The Same Field Using Cell References In GETPIVOTDATA?

Jan 2, 2014

I want to sum up data for two periods (4&5) from a pivot table using GETPIVOTDATA formula. I've only been successful when I manually type the period values 4 and 5 as is shown below:

=IFERROR((SUM(GETPIVOTDATA("Amount",'Transaction Pivot'!$J$3,"Period",{4,5},"Project",$A7,"Category","T&M"))),0)

However, I cannot get the formula to work when I substitute cell references for the period values 4 and 5. Therefore, the following formula does not work:

=IFERROR((SUM(GETPIVOTDATA("Amount",'Transaction Pivot'!$J$3,"Period",{E5,E6},"Project",$A7,"Category","T&M"))),0) where E5 has 4 in the cell and E6 has 5.

View 3 Replies View Related

Invalid Qualifer Error -setting Variable Using Getpivotdata

Mar 22, 2007

We have a very long macro that at the end sends an email to each training coordinator. Within the body of the email, we want to autopopulate the completion status from a pivot table using getpivotdata.

We first try to set the variable but get an error: [compile error:invalid qualifier].

Sheets(Summary).Select
Dim BDCompletion As String
BDCompletion = Application.PivotTableSelection.GetPivotData(A3, "Business Dev Plan Found")

And this is how we plan to incorporate the variable into the body of the email:

With OutMail
.To = "name@company.com"
.CC = ""
.BCC = ""
.Subject = CurrentSheet.Name & " Training Plan Status as of " & Format(Now, "dd-mmm-yy")
.Body = "BD is " & BDCompletion & " complete for 2007 Training Plans as of the date of this email."
.Attachments.Add Destwb.FullName
'You can add other files also like this
'.Attachments.Add ("C: est.txt")
.Send 'or use .Display
End With

View 9 Replies View Related

Drop Down List Defaults To Middle Of List

Sep 3, 2009

why my drop down list defaults to the middle of the list when first clicking on the arrow that opens the list? I created an alphabetical list of all US airports but when I open the list, it starts at "D" instead of "A" which is the top of the list.

View 5 Replies View Related

Picture On Mouse Over

Jan 26, 2009

Is there a way to have a picture set to a cell so when you put your mouse on it it will popup like the comments do.

View 2 Replies View Related

Pop Up Message On Mouse Over?

Jan 20, 2012

I have a shape with a macro assigned to hide certain columns when clicked. I want to have a box pop up when you hover this button which explains what clicking the button will do.

I know the VBA code is called MouseMove but I am new to VBA and don't know where to even start.

View 7 Replies View Related

MOUSE OVER PREVIEW

Apr 11, 2007

I have a data base of hundreds of drawings all linked in Excel. In excel I just clik on the Hyperlinked file and it opens up in my cad program.

With so many files, in order to see exactly what I am opening I have to open it. This is just if the description is not clear.

Can I create a mouse over preview that would pop up a linked picture file or a jpg in an assigned box or free floating.

so when the user puts their mouse over the hyperlink number, without clicking it, a preview picture of the item will pop up right in the excel sheet.

View 9 Replies View Related

Pop-up Graph On Mouse Over

May 24, 2007

is it posable to get a graph to popup when the mouse is draded over a certen cell? or maybe to get it to popup in the comments bubble. if that is possible. then is it possible to set pramators that if its above 350 it turns red( on a line graph) and if its below its turns black. this was throwen at my about 20 min ago.

View 8 Replies View Related

Disable Mouse

Jun 27, 2007

Is it possible prevent the use mouse (disable mouse) while a macro is running? I made a program which starts with animation of Shapes. If you click on shape while macro is running it stops animation.

View 7 Replies View Related

Mouse Over In Other Non VBA Application

Mar 15, 2008

Is it possible to get mouseover information from outside of Excel using VBA? I'm trying to automate a non-microsoft package but I need my mouseclicks to wait for a message to appear within the other application before my macro continues. I've already asked something similar before but I've put a better title on this thread so apologies for the repeat.

View 2 Replies View Related

No Right Mouse Click

Apr 22, 2008

I use Excel XP 2002. I now can't copy /paste by using the right mouse button. It works perfectly in other MS products, on the net and on the desktop. l have checked my Tools/Options with other users, I have uninstalled, rebooted and reinstalled the complete Excel package but the problem persists, even from start with a blank worksheet. I have also checked and there are no add-on ticked.

View 5 Replies View Related







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