![]() |
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 |
Positive or negative sign in a calculated cell
Old Lotus habits won't die? Try this custom format
"+" #,##0.00_);"-"#,##0.00 -- Don Guillett SalesAid Software "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 |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 01:34 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com