+ Reply to Thread
Results 1 to 8 of 8

How to insert a formula..but...

  1. #1
    Registered User
    Join Date
    01-26-2006
    Posts
    2

    Question How to insert a formula..but...

    How can I insert a formula, say the sum of a column, without the cell showing a zero sum, until the formula has been applied. My form looks messy with all the zero values without any other information in the form.

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    Assuming your range to sum is A1:A10 then

    =IF(SUM(A1:A10)=0,"",SUM(A1:A10))

    This will leave the cell blank until data is entered in the range.

    Cheers,

    Steve

  3. #3
    Jonathan Cooper
    Guest

    RE: How to insert a formula..but...

    Change your cell format. The format of a cell is broken down into four
    sections, seperated by a semi-colon. The first tells excel what to do with
    positive numbers. Then negative numbers, THEN ZERO'S, and lastly text. You
    need to change that third section as follows.

    For example, $#,##0.00_);[Red]($#,##0.00);""

    The double quotes will make them appear blank.

    "junkmandan" wrote:

    >
    > How can I insert a formula, say the sum of a column, without the cell
    > showing a zero sum, until the formula has been applied. My form looks
    > messy with all the zero values without any other information in the
    > form.
    >
    > Thanks
    >
    >
    > --
    > junkmandan
    > ------------------------------------------------------------------------
    > junkmandan's Profile: http://www.excelforum.com/member.php...o&userid=30866
    > View this thread: http://www.excelforum.com/showthread...hreadid=505450
    >
    >


  4. #4
    Kevin B
    Guest

    RE: How to insert a formula..but...

    Click on Tools in the menu and click on Options. In the Options dialog box
    click on the View tab and locate the Check Box that says Zero Values. The
    check box is located in the Windows Options panel of the View page. Click
    this off to have zero values suppressed.
    --
    Kevin Backmann


    "junkmandan" wrote:

    >
    > How can I insert a formula, say the sum of a column, without the cell
    > showing a zero sum, until the formula has been applied. My form looks
    > messy with all the zero values without any other information in the
    > form.
    >
    > Thanks
    >
    >
    > --
    > junkmandan
    > ------------------------------------------------------------------------
    > junkmandan's Profile: http://www.excelforum.com/member.php...o&userid=30866
    > View this thread: http://www.excelforum.com/showthread...hreadid=505450
    >
    >


  5. #5
    Dave Peterson
    Guest

    Re: How to insert a formula..but...

    Maybe ...

    =if(counta(a1:a10)<10,"",sum(a1:a10))

    It waits until there's something in all 10 cells before doing the sum. Make
    sure that number matches the number of cells in the range (I used 10 and
    A1:A10).



    junkmandan wrote:
    >
    > How can I insert a formula, say the sum of a column, without the cell
    > showing a zero sum, until the formula has been applied. My form looks
    > messy with all the zero values without any other information in the
    > form.
    >
    > Thanks
    >
    > --
    > junkmandan
    > ------------------------------------------------------------------------
    > junkmandan's Profile: http://www.excelforum.com/member.php...o&userid=30866
    > View this thread: http://www.excelforum.com/showthread...hreadid=505450


    --

    Dave Peterson

  6. #6
    Doug Kanter
    Guest

    Re: How to insert a formula..but...

    "Kevin B" <[email protected]> wrote in message
    news:[email protected]...
    > Click on Tools in the menu and click on Options. In the Options dialog
    > box
    > click on the View tab and locate the Check Box that says Zero Values. The
    > check box is located in the Windows Options panel of the View page. Click
    > this off to have zero values suppressed.


    That might drive him nuts 2 years from now when he *wants* zeros to show on
    a certain sheet, and doesn't remember having adjusted that option. :-)



  7. #7
    Kevin B
    Guest

    Re: How to insert a formula..but...

    You might just be right about that...
    --
    Kevin Backmann


    "Doug Kanter" wrote:

    > "Kevin B" <[email protected]> wrote in message
    > news:[email protected]...
    > > Click on Tools in the menu and click on Options. In the Options dialog
    > > box
    > > click on the View tab and locate the Check Box that says Zero Values. The
    > > check box is located in the Windows Options panel of the View page. Click
    > > this off to have zero values suppressed.

    >
    > That might drive him nuts 2 years from now when he *wants* zeros to show on
    > a certain sheet, and doesn't remember having adjusted that option. :-)
    >
    >
    >


  8. #8
    Kevin B
    Guest

    Re: How to insert a formula..but...

    You might just be right about that...
    --
    Kevin Backmann


    "Doug Kanter" wrote:

    > "Kevin B" <[email protected]> wrote in message
    > news:[email protected]...
    > > Click on Tools in the menu and click on Options. In the Options dialog
    > > box
    > > click on the View tab and locate the Check Box that says Zero Values. The
    > > check box is located in the Windows Options panel of the View page. Click
    > > this off to have zero values suppressed.

    >
    > That might drive him nuts 2 years from now when he *wants* zeros to show on
    > a certain sheet, and doesn't remember having adjusted that option. :-)
    >
    >
    >


+ 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