+ Reply to Thread
Results 1 to 2 of 2

Getting two decimal places for dynamic chart title

  1. #1
    Forum Contributor
    Join Date
    06-20-2021
    Location
    UK
    MS-Off Ver
    2016
    Posts
    126

    Getting two decimal places for dynamic chart title

    I was trying to get a dynamic pivot chart title, and wanted to show the amount on chart title as "This weeks Margin" & "£ " & "GetPivotData()". The problem is that the text appearing in the report shows multiple decimal places value when in pivot table it is not.

    I would like the chart to display value as in pivot table like so:

    PivotCell.png

    The issue is the number formatting. You can see the formula bar as well as the chart title in the image. The GetPivotData() relies on value from grand total cell as in the previous image.

    FormulaOptimise.png

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Getting two decimal places for dynamic chart title

    You can use the TEXT function to control how the number is formatted in a formula.

    Hope this helps.

    Pete

+ 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. Adusting decimal places based on greatest number of places in a series
    By anelson87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2022, 01:05 PM
  2. [SOLVED] remove 0 from chart without losing decimal places
    By Kanuck in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-20-2016, 08:05 PM
  3. Replies: 11
    Last Post: 07-25-2015, 02:06 PM
  4. Set Chart FormatAxis Decimal Places according to value in a cell
    By mrprofit in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-11-2014, 03:56 PM
  5. [SOLVED] Calculating decimal places in a non decimal format (ie sixes not tens)
    By Mike Brewer in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-07-2013, 08:58 AM
  6. Paste two decimal number in excel without extra decimal places appearing
    By jeffery_frick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 07:49 PM
  7. Dynamic Decimal Places
    By kalyanverma in forum Excel General
    Replies: 5
    Last Post: 03-03-2009, 03:04 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