PC Review


Reply
Thread Tools Rate Thread

Displaying a Zero where the formula result would be negative

 
 
Penny G.
Guest
Posts: n/a
 
      2nd Apr 2008
Similar to the discussion thread in January, I am trying to figure out how to
display a $0 where the sum of my equation would result in a negative number.

For example, my formula is =m2*25

How would I create a formula that would automatically display $0 if the sum
of the equation above resulted in a negative number?
 
Reply With Quote
 
 
 
 
cht13er
Guest
Posts: n/a
 
      2nd Apr 2008
On Apr 1, 7:41 pm, Penny G. <Penny G...@discussions.microsoft.com>
wrote:
> Similar to the discussion thread in January, I am trying to figure out how to
> display a $0 where the sum of my equation would result in a negative number.
>
> For example, my formula is =m2*25
>
> How would I create a formula that would automatically display $0 if the sum
> of the equation above resulted in a negative number?


=IF(M2<0,0,M2*25)

hmm.. what's this about a "sum"?

Chris
 
Reply With Quote
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      2nd Apr 2008
>> Similar to the discussion thread in January, I am trying to figure out
>> how to
>> display a $0 where the sum of my equation would result in a negative
>> number.
>>
>> For example, my formula is =m2*25
>>
>> How would I create a formula that would automatically display $0 if the
>> sum
>> of the equation above resulted in a negative number?

>
> =IF(M2<0,0,M2*25)


Another possibility...

=MAX(0,M2*25)

> hmm.. what's this about a "sum"?


I wondered about that too.

Rick

 
Reply With Quote
 
Charlie
Guest
Posts: n/a
 
      2nd Apr 2008
She meant "Some" as in "Some of my equations" :0

"Rick Rothstein (MVP - VB)" wrote:

> >> Similar to the discussion thread in January, I am trying to figure out
> >> how to
> >> display a $0 where the sum of my equation would result in a negative
> >> number.
> >>
> >> For example, my formula is =m2*25
> >>
> >> How would I create a formula that would automatically display $0 if the
> >> sum
> >> of the equation above resulted in a negative number?

> >
> > =IF(M2<0,0,M2*25)

>
> Another possibility...
>
> =MAX(0,M2*25)
>
> > hmm.. what's this about a "sum"?

>
> I wondered about that too.
>
> Rick
>
>

 
Reply With Quote
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      2nd Apr 2008
Ah, that could be (although the word "the" in front of the word "sum" makes
that usage hard to determine).

Rick



"Charlie" <(E-Mail Removed)> wrote in message
news:60282CFF-EA25-41A6-9563-(E-Mail Removed)...
> She meant "Some" as in "Some of my equations" :0
>
> "Rick Rothstein (MVP - VB)" wrote:
>
>> >> Similar to the discussion thread in January, I am trying to figure out
>> >> how to
>> >> display a $0 where the sum of my equation would result in a negative
>> >> number.
>> >>
>> >> For example, my formula is =m2*25
>> >>
>> >> How would I create a formula that would automatically display $0 if
>> >> the
>> >> sum
>> >> of the equation above resulted in a negative number?
>> >
>> > =IF(M2<0,0,M2*25)

>>
>> Another possibility...
>>
>> =MAX(0,M2*25)
>>
>> > hmm.. what's this about a "sum"?

>>
>> I wondered about that too.
>>
>> Rick
>>
>>


 
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
displaying formula result Utkarsh Microsoft Excel Programming 1 15th Jan 2010 06:26 PM
Re: formula result is not displaying Pete_UK Microsoft Excel Misc 1 10th Jan 2007 01:08 AM
If the result of a formula is negative make equal to zero =?Utf-8?B?TnJpcHBl?= Microsoft Excel New Users 5 12th Jun 2006 10:39 PM
result of formula not displaying =?Utf-8?B?U3R1cGlkIFdvcmQgVXNlcg==?= Microsoft Excel Worksheet Functions 4 21st Oct 2005 01:41 AM
displaying formula result =?Utf-8?B?a2Fseg==?= Microsoft Excel Worksheet Functions 4 17th Nov 2004 08:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:54 PM.