Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Custom number format problem

We're using a custom number format which adds some text to the value in
another cell.

in A1 is the value of 20%

in C1 is a link to A1, and has a custom format of: "PROFIT (RATE
OF"0.%)
C1 correctly appears as follows: PROFIT (RATE OF 20%)

The problem is if the value in A1 is a negative number. See if A1 is
-20%,
then C1 appears as: -PROFIT (RATE OF 20.%), with the - sign before the
text.

We need to have the minus sign just before the 2. ie: PROFIT (RATE OF
-20%)


Any ideas on a correct format? And, please no jokes about having a
negative profit margin.
Thanks for any ideas.

Pierre

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Custom number format problem

Why dont you use a formula like that
A1 C1
20 ="Profit Rate of "&A1&"%"
-20 ="Profit Rate of "&A2&"%"


"Pierre" wrote:

We're using a custom number format which adds some text to the value in
another cell.

in A1 is the value of 20%

in C1 is a link to A1, and has a custom format of: "PROFIT (RATE
OF"0.%)
C1 correctly appears as follows: PROFIT (RATE OF 20%)

The problem is if the value in A1 is a negative number. See if A1 is
-20%,
then C1 appears as: -PROFIT (RATE OF 20.%), with the - sign before the
text.

We need to have the minus sign just before the 2. ie: PROFIT (RATE OF
-20%)


Any ideas on a correct format? And, please no jokes about having a
negative profit margin.
Thanks for any ideas.

Pierre


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Custom number format problem


Gary Brown wrote:
I think you are using the custom format of...
"Profit Margin of" 0%
try...
"Profit Margin of" 0%;"Profit Margin of" -0%
--
HTH,
Gary Brown

If this post was helpful to you, please select ''YES'' at the bottom of the
post.




Gary, that worked like a charm! Thanks much. (Igore, yours worked as
well too.)

Pierre

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Excel default number format problem Jason Excel Discussion (Misc queries) 9 July 24th 06 09:21 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Strange Result using custom number format sfrancoe2 Excel Discussion (Misc queries) 0 January 10th 06 05:07 PM
Custom Number Format Text Frank & Pam Hayes Excel Discussion (Misc queries) 3 December 3rd 05 05:36 PM


All times are GMT +1. The time now is 04:36 PM.

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

About Us

"It's about Microsoft Excel"