+ Reply to Thread
Results 1 to 2 of 2

Formulas to manipulate a chart

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    Surrey, BC
    MS-Off Ver
    Excel 2016
    Posts
    84

    Formulas to manipulate a chart

    Hi there...

    I am trying to create a formula that will move the pointer (pie chart) over a doughnut (speedometer) chart to fit my needs. Green will be all numbers 14 and under, yellow is greater than 14 and less or equal to 35, red is greater than 35... this will never change. What will change is the size (values) of the green, yellow and red data point. In Test A image below the 405 value is all cells with values that are 14 or less (green), the 119 are cell values that are over 14 and less than or equal to 35 (yellow) and the 117 are cell values greater than 35 (red).

    In the Test A image below, you can see that the value 14 pointer is on the end of the green. In order to do this I had to manipulate the end value in S4 (set at 31).

    In the Test B image, I switched the values of green and yellow to simulate a change, in order to keep the pointer within the green... I had to change the value of cell S4 to 140.

    What I am trying to do is create a formula using the P column values to set S4 accordingly. So 0 or less would always be at the start of the green and 14 would be at the end of the green, numbers in-between would be displayed at various points in the green.

    15 would show at the start of yellow and 35 would display at the end of yellow... same for red, 36 would be the start of red... and I would use a 200 cutoff (always) to display at the end of red.

    Would a formula like this be possible? I have no idea how to calculate this, any help to get me in the right directions would be greatly appreciated.

    I hope I explained this correctly...

    Thanks Craig

    Test A Image
    TestA.jpg




    Test B Image
    TestB.jpg

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Formulas to manipulate a chart

    Refer attach file. Hope this help you.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

+ 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] How do you manipulate chart objects?
    By MattHamby in forum Excel General
    Replies: 2
    Last Post: 06-18-2016, 03:03 AM
  2. macro to add row, copy formulas and manipulate some of them
    By BOOYOUWHO in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2013, 11:25 AM
  3. Manipulate Chart.DataTable
    By rlssousa in forum Excel General
    Replies: 5
    Last Post: 11-21-2012, 10:43 AM
  4. Manipulate formulas within a range of cells being duplicated
    By jcoleck in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-22-2011, 12:42 PM
  5. VBA to manipulate a dynamic chart
    By amyowm in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-27-2010, 12:01 PM
  6. Manipulate Chart with High and Low Values
    By 2709236 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-17-2009, 11:34 AM
  7. Align/Manipulate multiple chart on one page
    By BT in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-22-2005, 05:00 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