Plz Help Microsoft Excel Novice

  • Thread starter Thread starter hitec80
  • Start date Start date
H

hitec80

Someone help me I’m a complete novice at Microsoft excel
Let’s imagine a betting scenario
a1 is the stake whilst b1 is the price/odds and so c1 =profit/winnings
C1=SUM(A1*B1)
Now a2 = 5 and b2= 4 ……. C2=SUM(A2*B2)
I only want to calculate c2 if c1 is a profit i.e. more than 0
If c1 is not more than 0 than I don’t want to calculate C2
How do I do this condition? ….. I’ve tried this by going to insert an
then function etc but it doesn’t work can you give me a step by ste
guide on how to do thi
 
The SUM function is not necessary in this instance, simply =A2*B2 will do.
To prevent a negative answer use either:

=MAX(A2*B2,0)

or

=IF(A2*B2>0,A2*B2,"")

depending on whether or not you want a 0 or a blank display.

--
HTH

Sandy
(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
 
=if(c1>0,a2*b2,0)

mmmmm.... seems like I misread the OP's request

--
HTH

Sandy
(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
 
Back
Top