+ Reply to Thread
Results 1 to 6 of 6

adding a formula in a cell but when cell = 0 cell is blank

  1. #1
    Mike T
    Guest

    adding a formula in a cell but when cell = 0 cell is blank

    I am trying to create an invoice so when I put qty in cell A1 and the $ value
    in cell B1, cell C1 has formula =B1*A1, thats fine, but having that formula
    running down C2 C3 C4 etc where there is nothing entered yet, I have $0.00
    appearing in each cell, My question is how can I use this formula or
    something simular to get same answer to show a blank cell when not used
    --
    Thanks Mike T

  2. #2
    Bob Phillips
    Guest

    Re: adding a formula in a cell but when cell = 0 cell is blank

    =IF(AND(A1<>"",B1<>""),B1*A1,"")

    --
    HTH

    Bob Phillips

    "Mike T" <MikeT@discussions.microsoft.com> wrote in message
    news:258B1BD2-41F6-49A6-AF49-A964CA0537FF@microsoft.com...
    > I am trying to create an invoice so when I put qty in cell A1 and the $

    value
    > in cell B1, cell C1 has formula =B1*A1, thats fine, but having that

    formula
    > running down C2 C3 C4 etc where there is nothing entered yet, I have $0.00
    > appearing in each cell, My question is how can I use this formula or
    > something simular to get same answer to show a blank cell when not used
    > --
    > Thanks Mike T




  3. #3
    Ragdyer
    Guest

    Re: adding a formula in a cell but when cell = 0 cell is blank

    One way:

    =IF(AND(B1>0,A1>0),B1*A1,"")
    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "Mike T" <MikeT@discussions.microsoft.com> wrote in message
    news:258B1BD2-41F6-49A6-AF49-A964CA0537FF@microsoft.com...
    > I am trying to create an invoice so when I put qty in cell A1 and the $

    value
    > in cell B1, cell C1 has formula =B1*A1, thats fine, but having that

    formula
    > running down C2 C3 C4 etc where there is nothing entered yet, I have $0.00
    > appearing in each cell, My question is how can I use this formula or
    > something simular to get same answer to show a blank cell when not used
    > --
    > Thanks Mike T



  4. #4
    Aladin Akyurek
    Guest

    Re: adding a formula in a cell but when cell = 0 cell is blank

    Mike T wrote:
    > I am trying to create an invoice so when I put qty in cell A1 and the $ value
    > in cell B1, cell C1 has formula =B1*A1, thats fine, but having that formula
    > running down C2 C3 C4 etc where there is nothing entered yet, I have $0.00
    > appearing in each cell, My question is how can I use this formula or
    > something simular to get same answer to show a blank cell when not used


    Custom format the formula cell as e.g.,

    [=0]"";General

  5. #5
    bj
    Guest

    RE: adding a formula in a cell but when cell = 0 cell is blank

    Try
    =if(A1*B1=0,"",A1*B1)

    "Mike T" wrote:

    > I am trying to create an invoice so when I put qty in cell A1 and the $ value
    > in cell B1, cell C1 has formula =B1*A1, thats fine, but having that formula
    > running down C2 C3 C4 etc where there is nothing entered yet, I have $0.00
    > appearing in each cell, My question is how can I use this formula or
    > something simular to get same answer to show a blank cell when not used
    > --
    > Thanks Mike T


  6. #6
    Duke Carey
    Guest

    Re: adding a formula in a cell but when cell = 0 cell is blank

    Aladin -

    Better to use a custom format such as

    #,##0.00_);(#,##0.00);;

    The spot between the second & third semicolons is for the zero format. If
    left blank, zeros are suppressed. The last semicolon is for text values.
    Since it, too, is blank in my example, no text values would show either

    Duke

    "Aladin Akyurek" <akyurek@xs4all.nl> wrote in message
    news:429b266c$0$144$e4fe514c@news.xs4all.nl...
    > Mike T wrote:
    >> I am trying to create an invoice so when I put qty in cell A1 and the $
    >> value in cell B1, cell C1 has formula =B1*A1, thats fine, but having that
    >> formula running down C2 C3 C4 etc where there is nothing entered yet, I
    >> have $0.00 appearing in each cell, My question is how can I use this
    >> formula or something simular to get same answer to show a blank cell when
    >> not used

    >
    > Custom format the formula cell as e.g.,
    >
    > [=0]"";General




+ 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