Thread
:
Plz Help Microsoft Excel Novice
View Single Post
#
4
Posted to microsoft.public.excel.newusers
Sandy Mann
Posts: n/a
Plz Help Microsoft Excel Novice
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*B20,A2*B2,"")
depending on whether or not you want a 0 or a blank display.
--
HTH
Sandy
with @tiscali.co.uk
"hitec80" wrote in
message ...
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 and
then function etc but it doesn't work can you give me a step by step
guide on how to do this
--
hitec80
------------------------------------------------------------------------
hitec80's Profile:
http://www.excelforum.com/member.php...o&userid=32281
View this thread:
http://www.excelforum.com/showthread...hreadid=520359
Reply With Quote