PC Review


Reply
Thread Tools Rate Thread

calculate 2 cells,never negative

 
 
Guest
Posts: n/a
 
      22nd Jun 2007
hello

I want to calculate two cells, and when the outcom is positive then just
show the calculation. On the other hand when the calculation is negative it
must give 0 as a result.
So it's never a <0 figure
What do I use.

Thx in advance


 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      22nd Jun 2007
=MAX(0,SUM(A1,B1))


just change the calculation part to whatever you are doing.
--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

<(E-Mail Removed)> wrote in message
news:f5g0dh$auf$(E-Mail Removed)...
> hello
>
> I want to calculate two cells, and when the outcom is positive then just
> show the calculation. On the other hand when the calculation is negative
> it
> must give 0 as a result.
> So it's never a <0 figure
> What do I use.
>
> Thx in advance
>
>



 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      22nd Jun 2007
Don't know what you mean by "calculate two cells", but this will give
you what you want:

=MAX(0,your_calculation)

Hope this helps.

Pete

On Jun 22, 9:14 am, <fder.nos...@home.nl> wrote:
> hello
>
> I want to calculate two cells, and when the outcom is positive then just
> show the calculation. On the other hand when the calculation is negative it
> must give 0 as a result.
> So it's never a <0 figure
> What do I use.
>
> Thx in advance



 
Reply With Quote
 
Guest
Posts: n/a
 
      22nd Jun 2007
Hello pete/bob

I think i wrote badly what i want
example:



10-5=5
10-9=1
10-10=0
10-12=0

as soon the outcom is <0 it's given a zero

thx for your help










"Pete_UK" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Don't know what you mean by "calculate two cells", but this will give
> you what you want:
>
> =MAX(0,your_calculation)
>
> Hope this helps.
>
> Pete
>
> On Jun 22, 9:14 am, <fder.nos...@home.nl> wrote:
> > hello
> >
> > I want to calculate two cells, and when the outcom is positive then just
> > show the calculation. On the other hand when the calculation is negative

it
> > must give 0 as a result.
> > So it's never a <0 figure
> > What do I use.
> >
> > Thx in advance

>
>



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      22nd Jun 2007
which is what we both gave you.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

<(E-Mail Removed)> wrote in message
news:f5g26g$fdo$(E-Mail Removed)...
> Hello pete/bob
>
> I think i wrote badly what i want
> example:
>
>
>
> 10-5=5
> 10-9=1
> 10-10=0
> 10-12=0
>
> as soon the outcom is <0 it's given a zero
>
> thx for your help
>
>
>
>
>
>
>
>
>
>
> "Pete_UK" <(E-Mail Removed)> schreef in bericht
> news:(E-Mail Removed)...
>> Don't know what you mean by "calculate two cells", but this will give
>> you what you want:
>>
>> =MAX(0,your_calculation)
>>
>> Hope this helps.
>>
>> Pete
>>
>> On Jun 22, 9:14 am, <fder.nos...@home.nl> wrote:
>> > hello
>> >
>> > I want to calculate two cells, and when the outcom is positive then
>> > just
>> > show the calculation. On the other hand when the calculation is
>> > negative

> it
>> > must give 0 as a result.
>> > So it's never a <0 figure
>> > What do I use.
>> >
>> > Thx in advance

>>
>>

>
>



 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      22nd Jun 2007
You are obviously subtracting one cell from another - assume these are
A1 and B1, then the formula becomes:

=MAX(0,A1-B1)

or maybe:

=MAX(0,B1-A1)

Hope this helps.

Pete

On Jun 22, 9:45 am, <fder.nos...@home.nl> wrote:
> Hello pete/bob
>
> I think i wrote badly what i want
> example:
>
> 10-5=5
> 10-9=1
> 10-10=0
> 10-12=0
>
> as soon the outcom is <0 it's given a zero
>
> thx for your help
>
> "Pete_UK" <pashu...@auditel.net> schreef in berichtnews:(E-Mail Removed)...
>
>
>
> > Don't know what you mean by "calculate two cells", but this will give
> > you what you want:

>
> > =MAX(0,your_calculation)

>
> > Hope this helps.

>
> > Pete

>
> > On Jun 22, 9:14 am, <fder.nos...@home.nl> wrote:
> > > hello

>
> > > I want to calculate two cells, and when the outcom is positive then just
> > > show the calculation. On the other hand when the calculation is negative

> it
> > > must give 0 as a result.
> > > So it's never a <0 figure
> > > What do I use.

>
> > > Thx in advance- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
Jordon
Guest
Posts: n/a
 
      22nd Jun 2007
(E-Mail Removed) wrote:
> Hello pete/bob
>
> I think i wrote badly what i want
> example:
>
>
>
> 10-5=5
> 10-9=1
> 10-10=0
> 10-12=0
>
> as soon the outcom is <0 it's given a zero


=IF(A1-B1<0,0,A1-B1)

--
Jordon
 
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
How do I calculate a negative %? 150,000/0 = (xxx%) Spanky Microsoft Excel Misc 2 11th May 2009 11:45 PM
How do you calculate a negative percentage =?Utf-8?B?YmN1cnJpZQ==?= Microsoft Excel Worksheet Functions 2 28th Jul 2007 04:31 AM
Set negative numbers to zero. Do not calculate with negative valu =?Utf-8?B?RXhjZWwgSGVhZGFjaGU=?= Microsoft Excel Misc 4 14th Sep 2006 08:56 PM
calculate the p-value for a negative t-value =?Utf-8?B?Q2FtcGVy?= Microsoft Excel Worksheet Functions 2 18th Apr 2006 07:26 PM
2003= negative number&2004= negative number How Do I Calculate gro =?Utf-8?B?SmFzb24=?= Microsoft Excel Worksheet Functions 1 14th Jan 2005 05:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:06 PM.