+ Reply to Thread
Results 1 to 4 of 4

Roundup Function

  1. #1
    Registered User
    Join Date
    06-30-2006
    Posts
    7

    Roundup Function

    I am having a problem with the following function:

    =ROUNDUP((C5*C4),2)

    Upon entering the above the cell shows: "#VALUE!" when cell C4 is empty. I would like it to show zero when cell C4 is empty.

  2. #2
    Bob Phillips
    Guest

    Re: Roundup Function

    =IF(C4="",0,=ROUNDUP((C5*C4),2))

    --

    HTH

    Bob Phillips

    (replace xxxx in the email address with gmail if mailing direct)

    "brown_toby" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I am having a problem with the following function:
    >
    > =ROUNDUP((C5*C4),2)
    >
    > Upon entering the above the cell shows: "#VALUE!" when cell C4 is
    > empty. I would like it to show zero when cell C4 is empty.
    >
    >
    > --
    > brown_toby
    > ------------------------------------------------------------------------
    > brown_toby's Profile:

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




  3. #3
    tim m
    Guest

    RE: Roundup Function

    Hmmm, when I tested your formula it did give me a zero if nothing was in C4.
    In any case see if the formula below helps out.

    =IF(C4="",0,ROUNDUP((C5*C4),2))

    "brown_toby" wrote:

    >
    > I am having a problem with the following function:
    >
    > =ROUNDUP((C5*C4),2)
    >
    > Upon entering the above the cell shows: "#VALUE!" when cell C4 is
    > empty. I would like it to show zero when cell C4 is empty.
    >
    >
    > --
    > brown_toby
    > ------------------------------------------------------------------------
    > brown_toby's Profile: http://www.excelforum.com/member.php...o&userid=35942
    > View this thread: http://www.excelforum.com/showthread...hreadid=557416
    >
    >


  4. #4
    Forum Contributor
    Join Date
    06-01-2006
    Posts
    324
    I can't duplicate your error...

    But if need be... put this in..
    =IF(AND(ISNUMBER(C4),ISNUMBER(C5)),ROUNDUP((C5*C4),2),0)
    Google is your best friend!

+ 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