Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kip
 
Posts: n/a
Default Format numbers returned in the function CONCATENATE

I would like to format the numbers that are returned in the function below as
[Blue]$#,##0.00_);[Red]($#,##0.00)
so that the result shows:

147,852.36 needed to break the weekly record of 654,987.32.

NOTE: Positive numbers are blue and negative numbers are red, with the comma
as the thousand separator, two decimal places, and in parenthesis.

FUNCTION IN CELL
=CONCATENATE(SUM(K20-D12)," needed to break the weekly record of ",K20)

I tried this:

=CONCATENATE(TEXT(J26,"[Blue]$#,##0.00_);[Red]($#,##0.00)")&"the quick brown
fox jumps over the dog. "&(SUM(K20-D12)))

But it did not work.

Is it possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Umlas
 
Posts: n/a
Default Format numbers returned in the function CONCATENATE

you can't format numbers inside a formula with colors based on their values.

"Kip" wrote in message
...
I would like to format the numbers that are returned in the function below

as
[Blue]$#,##0.00_);[Red]($#,##0.00)
so that the result shows:

147,852.36 needed to break the weekly record of 654,987.32.

NOTE: Positive numbers are blue and negative numbers are red, with the

comma
as the thousand separator, two decimal places, and in parenthesis.

FUNCTION IN CELL
=CONCATENATE(SUM(K20-D12)," needed to break the weekly record of ",K20)

I tried this:

=CONCATENATE(TEXT(J26,"[Blue]$#,##0.00_);[Red]($#,##0.00)")&"the quick

brown
fox jumps over the dog. "&(SUM(K20-D12)))

But it did not work.

Is it possible?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Kip
 
Posts: n/a
Default Format numbers returned in the function CONCATENATE

Thanks for the reply Bob.

Can I format the numbers without color?

"Bob Umlas" wrote:

you can't format numbers inside a formula with colors based on their values.

"Kip" wrote in message
...
I would like to format the numbers that are returned in the function below

as
[Blue]$#,##0.00_);[Red]($#,##0.00)
so that the result shows:

147,852.36 needed to break the weekly record of 654,987.32.

NOTE: Positive numbers are blue and negative numbers are red, with the

comma
as the thousand separator, two decimal places, and in parenthesis.

FUNCTION IN CELL
=CONCATENATE(SUM(K20-D12)," needed to break the weekly record of ",K20)

I tried this:

=CONCATENATE(TEXT(J26,"[Blue]$#,##0.00_);[Red]($#,##0.00)")&"the quick

brown
fox jumps over the dog. "&(SUM(K20-D12)))

But it did not work.

Is it possible?




  #4   Report Post  
Posted to microsoft.public.excel.misc
Kip
 
Posts: n/a
Default Format numbers returned in the function CONCATENATE

Figured it out. The function below returns:

$149,550.15 is needed to break the weekly record of $878,784.15

=CONCATENATE(TEXT(SUM(K20-D12),"$#,##0.00_);($#,##0.00)")&"is needed to
break the weekly record of "&(TEXT(SUM(K20),"$#,##0.00_);( $#,##0.00)")))
====================
"Bob Umlas" wrote:

you can't format numbers inside a formula with colors based on their values.
====================
"Kip" wrote in message
...
I would like to format the numbers that are returned in the function below as
[Blue]$#,##0.00_);[Red]($#,##0.00)
so that the result shows:

147,852.36 needed to break the weekly record of 654,987.32.

NOTE: Positive numbers are blue and negative numbers are red, with the comma
as the thousand separator, two decimal places, and in parenthesis.

FUNCTION IN CELL
=CONCATENATE(SUM(K20-D12)," needed to break the weekly record of ",K20)

I tried this:

=CONCATENATE(TEXT(J26,"[Blue]$#,##0.00_);[Red]($#,##0.00)")&"the quick brown
fox jumps over the dog. "&(SUM(K20-D12)))

But it did not work.

Is it possible?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
csv converting numbers to scientific format JR Excel Discussion (Misc queries) 7 June 16th 05 12:13 AM
How do I do a conditional format for numbers bowada Excel Worksheet Functions 2 June 6th 05 05:10 PM
Format numbers in chart datatable MB Charts and Charting in Excel 3 May 29th 05 03:37 PM
Concatenate text and numbers? CLR Excel Worksheet Functions 8 May 6th 05 02:34 PM
Mail Merge - format of numbers Rita Halporn Excel Discussion (Misc queries) 4 December 26th 04 01:19 AM


All times are GMT +1. The time now is 10:40 PM.

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

About Us

"It's about Microsoft Excel"