IF statement help

  • Thread starter Thread starter RudeYute
  • Start date Start date
R

RudeYute

Hi

What im trying to do is,
Calculate a Cell x say 0.5. If the result is a negative number, sho
0. If it is a positive number, work it out and show the answer. Jus
tried, and cant seem to get it right for some reason. I dont want t
have to use another cell for no reaon, as I need to present th
worksheet

This is what I tried, IF((E22*0.5)>0), (E22*0.5),

Thank
 
RudeYute said:
Hi,

What im trying to do is,
Calculate a Cell x say 0.5. If the result is a negative number, show
0. If it is a positive number, work it out and show the answer. Just
tried, and cant seem to get it right for some reason. I dont want to
have to use another cell for no reaon, as I need to present the
worksheet.

This is what I tried, IF((E22*0.5)>0), (E22*0.5), 0

Thanks


So close...

=IF(E22*.5>0,E22*.5,0)

Beege
 
=MAX(E22*0.5,0)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top