PC Review


Reply
Thread Tools Rate Thread

Cell subtraction

 
 
=?Utf-8?B?Z3Vkd2F5?=
Guest
Posts: n/a
 
      4th May 2006
In E17 I placed =If(isblank(A17),"===",B17-C17)
In A17 I have the date 4/4/05
In B17 is the negative number -30.33
In C17 is the number 0.00

In E17 I get 30.33 instead of -30.33
How can I fix this to get -30.33 in E17

Also if A17 is blank/empty and B17 is empty and C17 is 500
then I get #VALUE! in E17 instead of ===

(E-Mail Removed)

 
Reply With Quote
 
 
 
 
Ragdyer
Guest
Posts: n/a
 
      4th May 2006
Your formula works correctly when values are keyed into A17 and B17 and C17.

What formulas do you have in those cells?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"gudway" <(E-Mail Removed)> wrote in message
news:36A1978F-F178-48FB-80FB-(E-Mail Removed)...
> In E17 I placed =If(isblank(A17),"===",B17-C17)
> In A17 I have the date 4/4/05
> In B17 is the negative number -30.33
> In C17 is the number 0.00
>
> In E17 I get 30.33 instead of -30.33
> How can I fix this to get -30.33 in E17
>
> Also if A17 is blank/empty and B17 is empty and C17 is 500
> then I get #VALUE! in E17 instead of ===
>
> (E-Mail Removed)
>


 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      4th May 2006
Perhaps the cells B17 and /or C17 are formatted as text - Format |
Cells | Number (tab) | General on both, then edit the contents of each
cell (or press F2).

Hope this helps.

Pete

 
Reply With Quote
 
David McRitchie
Guest
Posts: n/a
 
      4th May 2006
Check the formatting in cell E17
Format, Cells,
write down what you see, then select Custom and write down what you see
change the format to General

if you something in cell A17 and a text entry in B17 you would get a #VALUE! error
try this
F17: =ISNUMBER(B17)
G17: =ISNUMBER(C17)
if they are not numbers you might want to read the write-up at
http://www.mvps.org/dmcritchie/excel/join.htm#trimall
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"gudway" <(E-Mail Removed)> wrote in message news:36A1978F-F178-48FB-80FB-(E-Mail Removed)...
> In E17 I placed =If(isblank(A17),"===",B17-C17)
> In A17 I have the date 4/4/05
> In B17 is the negative number -30.33
> In C17 is the number 0.00
>
> In E17 I get 30.33 instead of -30.33
> How can I fix this to get -30.33 in E17
>
> Also if A17 is blank/empty and B17 is empty and C17 is 500
> then I get #VALUE! in E17 instead of ===
>
> (E-Mail Removed)
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
addition, subtraction in a single cell formula mePenny Microsoft Excel Misc 4 19th Nov 2009 06:59 PM
Simple Adding/Subtraction and format of cell. - HELP!!! James8309 Microsoft Excel Worksheet Functions 2 17th Jun 2008 03:09 PM
cell subtraction problem prefector Microsoft Excel Programming 1 14th May 2008 02:58 AM
How to make a null cell as 0 (Zero) so that the subtraction works =?Utf-8?B?S2VraW4gS2Fra2E=?= Microsoft Excel Worksheet Functions 6 9th May 2006 08:24 PM
Conditional Formulas/Formatting - Cell Sum/Subtraction spurtniq Microsoft Excel Misc 2 19th Nov 2003 03:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:57 AM.