+ Reply to Thread
Results 1 to 2 of 2

Change value in shape based on values from pivot table

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    1

    Change value in shape based on values from pivot table

    I want to change the value inside a shape/textbox based on the sum of values in pivot table. For Example:

    A 1
    B 3
    C 4
    A 6
    B 2

    The text in the red circle will have the value of 7 (sum of all As)
    The text in the yellow circle will have the value of 5 (sum of all Bs)
    The text in the blue circle will have the value of 6 (sum of all Cs)

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Change value in shape based on values from pivot table

    In a worksheet cell put :-
    =SUMPRODUCT(((A11:A18="A")*(B11:B18)))

    Select the shape and put :-
    =A9

    Where A11:B18 is your data and A9 is the formula cell
    Elegant Simplicity............. Not Always

+ 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. [SOLVED] Change Shape Fill colour based on cells values.
    By pipoliveira in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-26-2020, 09:21 AM
  2. Change pivot table to values but keep formatting
    By DaveF in forum Excel General
    Replies: 4
    Last Post: 11-21-2016, 12:09 PM
  3. Change Shape Color based on Cell Values
    By obriend in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-22-2013, 03:26 AM
  4. Change pivot table filter with VBA based on cell values
    By ZeDoctor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2012, 09:03 AM
  5. Change Pivot Table Filter Based on Cell Value
    By tohotspur in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-15-2010, 02:55 AM

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