+ Reply to Thread
Results 1 to 2 of 2

Help with interactive charting (percentage and general format of data or numbers)

  1. #1
    Registered User
    Join Date
    02-15-2022
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2019
    Posts
    1

    Help with interactive charting (percentage and general format of data or numbers)

    Hi Gurus,

    I am new here.

    I recently created an interactive chart for my class.

    In the chart (found in dashboard tab sheet), there is a controller for when a user selects different KPIs.

    These KPIs should be in different format, one KPI in numbers, one KPI in percentage format.

    Here are the KPIs and there "should be" formats:
    Average CTR = percent
    New Opt-ins per month = number
    Opt-in List size = number

    My problem here is that when I include data labels on my clustered column chart,
    if I set the data label to be percentage say for Average CTR there is no issue, the issue would be
    when I change the KPI to say New Opt-ins per month, instead of a whole number format, it also formatted as percentage.

    How can I make it that the percentage data labels should only be the one displaying "percentage" format, and the other 2 KPI should
    maintain the whole number format?

    I will attach my file.


    Thank you for helping me.
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Help with interactive charting (percentage and general format of data or numbers)

    The data labels will reflect the number format of the range. How you have it set up currently there is only 1 number format in use.

    Start by adding 2 rows of formula to the calc sheet so you have a set of data with a row for each KPI.
    Format each row of data with correct number format.

    Use the name manager to Define that data
    ALL_DATASETS: =calc!$B$14:$M$16

    Define another range to reference the currently selected KPI

    USE_DATASET: =INDEX(ALL_DATASETS,MATCH(calc!$A$13,REF!$H$2:$H$4,0),0)

    Now on the chart checked the number format of the data labels so it is linked to the cells.
    Edit the series formula

    =SERIES(,calc!$B$13:$M$13,'1371411.xlsx'!USE_DATASET,1)
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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] Interactive charting
    By janeml in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-26-2014, 07:08 PM
  2. HELP adding numbers in HH:MM format to give a general total?
    By BEN HM in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2014, 08:31 AM
  3. Replies: 3
    Last Post: 08-10-2009, 12:50 PM
  4. Another Interactive Charting Question
    By TexasTBag in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-07-2008, 11:56 AM
  5. [SOLVED] excel numbers in general format i cant add cant change format
    By claude in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2006, 02:04 AM
  6. [SOLVED] When using general format for a cell, numbers appear with decimals
    By Simmian in forum Excel General
    Replies: 2
    Last Post: 08-14-2006, 12:50 PM
  7. [SOLVED] cant change numbers back to general format wont let me
    By petal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2006, 07:20 AM
  8. Change CSV-load cell format from GENERAL to TEXT for numbers?
    By Morena Chris Matthews in forum Excel General
    Replies: 1
    Last Post: 10-14-2005, 01:05 PM

Tags for this Thread

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