A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Format numbers in chart datatable



 
 
Thread Tools Display Modes
  #1  
Old January 24th, 2005, 05:43 PM
MB
external usenet poster
 
Posts: n/a
Default Format numbers in chart datatable

Hi,

Is there a way to format the numbers displayed in the datatable attached to
the chart after it is created not by formating the cells that the chart is
plotted from.

I have a chart that I populate from arrays thru VBA code. The DataTable for
the chart shows the values as they are entered in the array. Is there a way
to have the values in the DataTable shows in the format "0.00%"?? please help!

I tried to use the FormatPercent function, the NumberFormat function, Format
function..etc. with no success.
Any help will be greatly appreciated.
Thanks,
MB

  #2  
Old January 24th, 2005, 07:03 PM
John Mansfield
external usenet poster
 
Posts: n/a
Default

MB,

Unfortunately you can not change the number formatting in the data table to
be different from the original source. The numbers in the data data will
always use the same number format as the source data.

You might want to consider using worksheet cells as an alternative to the
data table. An explanation can be found he

http://www.pdbook.com/index.php/exce...n_data_tables/

----
Regards,
John Mansfield
http://www.pdbook.com



"MB" wrote:

Hi,

Is there a way to format the numbers displayed in the datatable attached to
the chart after it is created not by formating the cells that the chart is
plotted from.

I have a chart that I populate from arrays thru VBA code. The DataTable for
the chart shows the values as they are entered in the array. Is there a way
to have the values in the DataTable shows in the format "0.00%"?? please help!

I tried to use the FormatPercent function, the NumberFormat function, Format
function..etc. with no success.
Any help will be greatly appreciated.
Thanks,
MB

  #3  
Old May 24th, 2005, 05:22 PM
scheer333
external usenet poster
 
Posts: n/a
Default

John,
I have created a chart and picked to show the datatable. The underlying
data in the tables is formatted as currency and when in design mode of the
report the data being displayed in the datatable is also formatted as
currency. But when i print preview the numbers displayed in the datatable
have no format. They simply look like: 123456789. But I need them to be
displayed as $123,456,789.
If I include the data labels on the chart, they are displayed as currency
but I can not figure out how to display the datatable numbers as currency.



"John Mansfield" wrote:

MB,

Unfortunately you can not change the number formatting in the data table to
be different from the original source. The numbers in the data data will
always use the same number format as the source data.

You might want to consider using worksheet cells as an alternative to the
data table. An explanation can be found he

http://www.pdbook.com/index.php/exce...n_data_tables/

----
Regards,
John Mansfield
http://www.pdbook.com



"MB" wrote:

Hi,

Is there a way to format the numbers displayed in the datatable attached to
the chart after it is created not by formating the cells that the chart is
plotted from.

I have a chart that I populate from arrays thru VBA code. The DataTable for
the chart shows the values as they are entered in the array. Is there a way
to have the values in the DataTable shows in the format "0.00%"?? please help!

I tried to use the FormatPercent function, the NumberFormat function, Format
function..etc. with no success.
Any help will be greatly appreciated.
Thanks,
MB

  #4  
Old May 29th, 2005, 03:37 PM
Jon Peltier
external usenet poster
 
Posts: n/a
Default

John's suggestion (from his blog) is to use a worksheet range next to or
below the chart as its data table. This affords much more flexibility in
formatting and in what you can include and exclude from the table, and
in what order.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


scheer333 wrote:

John,
I have created a chart and picked to show the datatable. The underlying
data in the tables is formatted as currency and when in design mode of the
report the data being displayed in the datatable is also formatted as
currency. But when i print preview the numbers displayed in the datatable
have no format. They simply look like: 123456789. But I need them to be
displayed as $123,456,789.
If I include the data labels on the chart, they are displayed as currency
but I can not figure out how to display the datatable numbers as currency.



"John Mansfield" wrote:


MB,

Unfortunately you can not change the number formatting in the data table to
be different from the original source. The numbers in the data data will
always use the same number format as the source data.

You might want to consider using worksheet cells as an alternative to the
data table. An explanation can be found he

http://www.pdbook.com/index.php/exce...n_data_tables/

----
Regards,
John Mansfield
http://www.pdbook.com



"MB" wrote:


Hi,

Is there a way to format the numbers displayed in the datatable attached to
the chart after it is created not by formating the cells that the chart is
plotted from.

I have a chart that I populate from arrays thru VBA code. The DataTable for
the chart shows the values as they are entered in the array. Is there a way
to have the values in the DataTable shows in the format "0.00%"?? please help!

I tried to use the FormatPercent function, the NumberFormat function, Format
function..etc. with no success.
Any help will be greatly appreciated.
Thanks,
MB

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
exporting a chart to gif format using COM (Excel v11 and .net) Katie Charts and Charting 2 December 31st, 2004 06:04 AM
How do I get Outlook to automatically format phone numbers when I. Mr. Mark Contacts 1 December 29th, 2004 10:21 AM
Chart Format generated from a Pivot Table Data Victor Charts and Charting 1 October 20th, 2004 05:58 AM
'Closing' chart window *and* removing chart using VBA Marc R. Bertrand Charts and Charting 7 December 17th, 2003 04:30 PM


All times are GMT +1. The time now is 08:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.