Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Positive or negative sign in a calculated cell

Good morning

I have 2 cells I need to compa
- one cell is the baseline (assume $100)
- the other cell is the real cost obtained after a calculation from other
cells (assume the resulkt of the calculation is $106)
- I would like to calculate the difference between cell 1 and cell 2 and
present it with a + or - sign, in my situation cell 2 is equal to +6

Any idea as to how I would need to format the cell? creation of a custom
format?

Thanks for your help

Regards,

Michel


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Positive or negative sign in a calculated cell

One way

+0.00;-0.00;0.00

or add the dollar sign if you want currency format

+$#,##0.00;-$#,##0.00;$#,##0.00



--
Regards,

Peo Sjoblom


"Michel Khennafi" wrote in message
...
Good morning

I have 2 cells I need to compa
- one cell is the baseline (assume $100)
- the other cell is the real cost obtained after a calculation from other
cells (assume the resulkt of the calculation is $106)
- I would like to calculate the difference between cell 1 and cell 2 and
present it with a + or - sign, in my situation cell 2 is equal to +6

Any idea as to how I would need to format the cell? creation of a custom
format?

Thanks for your help

Regards,

Michel



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Positive or negative sign in a calculated cell

Try:-
"+"#,##0 ;[Red]"-"#,##0

Mike


"Michel Khennafi" wrote:

Good morning

I have 2 cells I need to compa
- one cell is the baseline (assume $100)
- the other cell is the real cost obtained after a calculation from other
cells (assume the resulkt of the calculation is $106)
- I would like to calculate the difference between cell 1 and cell 2 and
present it with a + or - sign, in my situation cell 2 is equal to +6

Any idea as to how I would need to format the cell? creation of a custom
format?

Thanks for your help

Regards,

Michel



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Positive or negative sign in a calculated cell

I have 2 cells I need to compa
- one cell is the baseline (assume $100)
- the other cell is the real cost obtained after a calculation from other
cells (assume the resulkt of the calculation is $106)
- I would like to calculate the difference between cell 1 and cell 2 and
present it with a + or - sign, in my situation cell 2 is equal to +6

Any idea as to how I would need to format the cell? creation of a custom
format?


And if you wanted to apply this formatting to only one cell rather than the
entire column...

=TEXT(A2-A1,"+0.00;-0.00;0.00")

or

=TEXT(-4,"+$#,##0.00;-$#,##0.00;$0.00")

if you want the $ sign.

Rick



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Positive or negative sign in a calculated cell

Thanks so much

"Rick Rothstein (MVP - VB)" wrote in
message ...
I have 2 cells I need to compa
- one cell is the baseline (assume $100)
- the other cell is the real cost obtained after a calculation from other
cells (assume the resulkt of the calculation is $106)
- I would like to calculate the difference between cell 1 and cell 2 and
present it with a + or - sign, in my situation cell 2 is equal to +6

Any idea as to how I would need to format the cell? creation of a custom
format?


And if you wanted to apply this formatting to only one cell rather than
the entire column...

=TEXT(A2-A1,"+0.00;-0.00;0.00")

or

=TEXT(-4,"+$#,##0.00;-$#,##0.00;$0.00")

if you want the $ sign.

Rick



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
Changing a cell color to reflect positive or negative total Alex Vega[_2_] New Users to Excel 4 May 27th 07 03:25 PM
Formula to make Negative Values Positive & Positive Values Negative? mustard Excel Discussion (Misc queries) 4 September 26th 05 10:05 PM
FORMULA TO ADD POSITIVE AND NEGATIVE NUMBERS, REGARDLESS OF SIGN JON Excel Discussion (Misc queries) 3 July 18th 05 06:35 PM
change cell from negative to positive Terry Excel Discussion (Misc queries) 1 July 15th 05 07:15 PM
Automatically put negative sign in cells with positive numeric dat ctdak Excel Discussion (Misc queries) 4 June 24th 05 09:41 PM


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