Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2005

Tip: Looking for answers? Try searching our database.

+ as well as - in front of difference

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Turnipboy - 29 Dec 2005 13:31 GMT
I am working out the difference of two numbers and I would like the
answer to keep a + as well as a - (the minus it does automatically) in
front of the answer, how can I do this.

Thanks.

Signature

Turnipboy

René - 29 Dec 2005 13:43 GMT
If the two numbers you want to have the difference from are in cells A1
and A2, then:
=IF(A2-A1<0;"+/"&A2-A1;A2-A1)

Good luck,
René.
Turnipboy - 29 Dec 2005 13:51 GMT
Thanks. I also want to put a plus and minus infront of some other numbe
(they are not simple differences), I remember someone showing me how t
do it in number formatting and a plus or minus appears infront of th
number depending on wheter it is positive or negative
Bernard Liengme - 29 Dec 2005 13:53 GMT
A custom format such as +#,##0;-#,##0 or +0, -0 will work
best wishes
Signature

Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

> I am working out the difference of two numbers and I would like the
> answer to keep a + as well as a - (the minus it does automatically) in
> front of the answer, how can I do this.
>
> Thanks.
Turnipboy - 29 Dec 2005 16:01 GMT
Thanks Bernard, this is exactly what I had in mind, even though I had
forgotten it! Thanks to all of you for your help.

Signature

Turnipboy

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.