+ Reply to Thread
Results 1 to 4 of 4

Change Pivot Value Field either sum of QTY/Val by using Macro

  1. #1
    Registered User
    Join Date
    11-26-2012
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    43

    Change Pivot Value Field either sum of QTY/Val by using Macro

    Hi,

    how change pivot table value field either QTY and Value.

    if click on QTY command button pivot table values field should come sum of QTY and

    if click on Value Command button pivot table values field should come sum of Value.

    Please help.

    Pivot_1.xlsx

    Suresh
    Last edited by sureshpunna; 01-30-2015 at 12:16 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Change Pivot Value Field either sum of QTY/Val by using Macro

    Hi,

    You'll need to upload the workbook so that we can see the request in context.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    11-26-2012
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Change Pivot Value Field either sum of QTY/Val by using Macro

    Hi Richard, I have attached file to previous thread

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Change Pivot Value Field either sum of QTY/Val by using Macro

    Hi,

    See attached.

    Why though do you need a button. Why not just have the Qty & Value showing all the time?
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Refresh Pivot on Specific Pivot Field Change only
    By vinay016 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-28-2014, 09:50 AM
  2. Removing a pivot field in the Value Field - Macro - Pivot Charts
    By hattrick_123a in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2011, 08:33 PM
  3. Putting a pivot field in the Value Field - Macro - Pivot Charts
    By hattrick_123a in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-22-2011, 09:02 PM
  4. Macro To Change Pivot Table Page Field
    By steve3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-25-2007, 11:50 AM
  5. Calling a macro on a change of Field Button in Pivot Chart
    By tobriant in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-03-2005, 12:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1