+ Reply to Thread
Results 1 to 4 of 4

IF statement help-Calculate a Cell

  1. #1
    Registered User
    Join Date
    03-29-2006
    Posts
    2

    IF statement help-Calculate a Cell

    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
    Last edited by RudeYute; 03-29-2006 at 06:24 PM.

  2. #2
    Beege
    Guest

    re: IF statement help-Calculate a Cell

    "RudeYute" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >
    >
    > --
    > RudeYute
    > ------------------------------------------------------------------------
    > RudeYute's Profile:
    > http://www.excelforum.com/member.php...o&userid=32959
    > View this thread: http://www.excelforum.com/showthread...hreadid=527847



    So close...

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

    Beege



  3. #3
    Bob Phillips
    Guest

    re: IF statement help-Calculate a Cell

    =MAX(E22*0.5,0)

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "RudeYute" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >
    >
    > --
    > RudeYute
    > ------------------------------------------------------------------------
    > RudeYute's Profile:

    http://www.excelforum.com/member.php...o&userid=32959
    > View this thread: http://www.excelforum.com/showthread...hreadid=527847
    >




  4. #4
    Registered User
    Join Date
    03-29-2006
    Posts
    2
    Quote Originally Posted by Beege
    "RudeYute" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >
    >
    > --
    > RudeYute
    > ------------------------------------------------------------------------
    > RudeYute's Profile:
    > http://www.excelforum.com/member.php...o&userid=32959
    > View this thread: http://www.excelforum.com/showthread...hreadid=527847



    So close...

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

    Beege
    Perfect, thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1