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  

Retaining Formatting in 'joined' cells



 
 
Thread Tools Display Modes
  #1  
Old February 15th, 2010, 04:15 PM posted to microsoft.public.excel.charting
Dowitch
external usenet poster
 
Posts: 8
Default Retaining Formatting in 'joined' cells

In order to build a chart from my pivot tables that shows both a dollar
value, and a number of entries, I've downloaded XY Chart Labels so that I can
use an unrelated cell as the label source.

In that new cell, I have used the following command to generate my label:
="$"&ROUND(VALUE(D28),0) & "/" & VALUE(D27)

where D28 is the $ value, and D27 is the number of entries.

My problem is that the $ value doesn't include the comma in values exceeding
1000.

The source cells show the formatting as I want it to appear on the chart.
How can I get the chart label to look the same?
  #2  
Old February 15th, 2010, 04:46 PM posted to microsoft.public.excel.charting
Andy Pope
external usenet poster
 
Posts: 2,088
Default Retaining Formatting in 'joined' cells

Hi,

You need to format the result of the ROUND function.

="$"&TEXT(ROUND(VALUE(D28),0),"#,##0")& "/" & VALUE(D27)

Cheers
Andy

On 15/02/2010 16:15, Dowitch wrote:
="$"&ROUND(VALUE(D28),0)& "/"& VALUE(D27)

  #3  
Old February 15th, 2010, 05:35 PM posted to microsoft.public.excel.charting
Dowitch
external usenet poster
 
Posts: 8
Default Retaining Formatting in 'joined' cells

Awesome. Worked brilliantly.

I knew it was probably something like that, but I'm really bad at using
formatting in formulae.

Thank you so much!

"Andy Pope" wrote:

Hi,

You need to format the result of the ROUND function.

="$"&TEXT(ROUND(VALUE(D28),0),"#,##0")& "/" & VALUE(D27)

Cheers
Andy

On 15/02/2010 16:15, Dowitch wrote:
="$"&ROUND(VALUE(D28),0)& "/"& VALUE(D27)

.

 




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


All times are GMT +1. The time now is 12:10 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.