+ Reply to Thread
Results 1 to 7 of 7

Array formula to give blank

  1. #1
    Joanne Ramaekers
    Guest

    Array formula to give blank

    I have an array formula that is working perfectly:
    {=SUM(IF(Quote_Code=A3,Quote_Amt,))}

    I would like to make one change, but I don't seem to be able to get it
    working. When the locigal test is false I would like to dispaly nothing in
    the cell. It's currently displaying 0.00.

    I have tried {=SUM(IF(Quote_Code=A3,Quote_Amt," "))} but is still shows 0.00.

    Any ideas?
    Jo

    P.S. I'm using Office 2003


  2. #2
    Corey
    Guest

    Re: Array formula to give blank

    TRY Closing the inverted commas Below:
    {=SUM(IF(Quote_Code=A3,Quote_Amt,""))}

    Corey....
    "Joanne Ramaekers" <[email protected]> wrote in
    message news:[email protected]...
    >I have an array formula that is working perfectly:
    > {=SUM(IF(Quote_Code=A3,Quote_Amt,))}
    >
    > I would like to make one change, but I don't seem to be able to get it
    > working. When the locigal test is false I would like to dispaly nothing
    > in
    > the cell. It's currently displaying 0.00.
    >
    > I have tried {=SUM(IF(Quote_Code=A3,Quote_Amt," "))} but is still shows
    > 0.00.
    >
    > Any ideas?
    > Jo
    >
    > P.S. I'm using Office 2003
    >




  3. #3
    Max
    Guest

    Re: Array formula to give blank

    For a neat, clean view, it might be easier to just suppress the display of
    extraneous zeros in the sheet via clicking:
    Tools > Options > View tab > Uncheck "Zero values" > OK

    Or, perhaps just IF error trap for nothing in A5 in front would suffice for
    the purpose. Eg, try array-entered:
    =IF(A5="","",SUM(IF(Quote_Code=A5,Quote_amt)))
    --
    Max
    Singapore
    http://savefile.com/projects/236895
    xdemechanik
    ---
    "Joanne Ramaekers" wrote:
    > I have an array formula that is working perfectly:
    > {=SUM(IF(Quote_Code=A3,Quote_Amt,))}
    >
    > I would like to make one change, but I don't seem to be able to get it
    > working. When the locigal test is false I would like to dispaly nothing in
    > the cell. It's currently displaying 0.00.
    >
    > I have tried {=SUM(IF(Quote_Code=A3,Quote_Amt," "))} but is still shows 0.00.
    >
    > Any ideas?
    > Jo
    >
    > P.S. I'm using Office 2003
    >


  4. #4
    JMB
    Guest

    RE: Array formula to give blank

    I think you will need to rearrange your if statement

    {=IF(SUM(--(Quote_Code=A3)),SUM((Quote_Code=A3)*Quote_Amt),"")}

    or, a non-array approach
    =IF(COUNTIF(Quote_Code,A3),COUNTIF(Quote_Code,A3)*Quote_Amt,"")

    "Joanne Ramaekers" wrote:

    > I have an array formula that is working perfectly:
    > {=SUM(IF(Quote_Code=A3,Quote_Amt,))}
    >
    > I would like to make one change, but I don't seem to be able to get it
    > working. When the locigal test is false I would like to dispaly nothing in
    > the cell. It's currently displaying 0.00.
    >
    > I have tried {=SUM(IF(Quote_Code=A3,Quote_Amt," "))} but is still shows 0.00.
    >
    > Any ideas?
    > Jo
    >
    > P.S. I'm using Office 2003
    >


  5. #5
    Joanne Ramaekers
    Guest

    Re: Array formula to give blank

    Thanks Max, the Uncheck zero values did the job I needed done.

    The other option did not work for me, as there was always going to be
    something in A5.

    Corey, just removing the space between the "s did not work.
    JMB, even though the array formula did work, it upset other formulas that
    needed the result from this cell.

    Thanks for everyones help.
    Jo

    "Max" wrote:

    > For a neat, clean view, it might be easier to just suppress the display of
    > extraneous zeros in the sheet via clicking:
    > Tools > Options > View tab > Uncheck "Zero values" > OK
    >
    > Or, perhaps just IF error trap for nothing in A5 in front would suffice for
    > the purpose. Eg, try array-entered:
    > =IF(A5="","",SUM(IF(Quote_Code=A5,Quote_amt)))
    > --
    > Max
    > Singapore
    > http://savefile.com/projects/236895
    > xdemechanik
    > ---
    > "Joanne Ramaekers" wrote:
    > > I have an array formula that is working perfectly:
    > > {=SUM(IF(Quote_Code=A3,Quote_Amt,))}
    > >
    > > I would like to make one change, but I don't seem to be able to get it
    > > working. When the locigal test is false I would like to dispaly nothing in
    > > the cell. It's currently displaying 0.00.
    > >
    > > I have tried {=SUM(IF(Quote_Code=A3,Quote_Amt," "))} but is still shows 0.00.
    > >
    > > Any ideas?
    > > Jo
    > >
    > > P.S. I'm using Office 2003
    > >


  6. #6
    Max
    Guest

    Re: Array formula to give blank

    "Joanne Ramaekers" wrote:
    > Thanks Max, the Uncheck zero values did the job I needed done ..


    Glad it did, Joanne ! Thanks for feedback ..

    To avoid upsetting downstream formulas pointing to the array formulas,
    amending the array to return nothing, i.e.: "" (instead of the default zeros)
    wouldn't have been an option.
    --
    Max
    Singapore
    http://savefile.com/projects/236895
    xdemechanik
    ---

  7. #7
    Biff
    Guest

    Re: Array formula to give blank

    Do you really need an array formula?

    =SUMIF(Quote_Code,A5,Quote_amt)

    Biff

    "Joanne Ramaekers" <[email protected]> wrote in
    message news:[email protected]...
    > Thanks Max, the Uncheck zero values did the job I needed done.
    >
    > The other option did not work for me, as there was always going to be
    > something in A5.
    >
    > Corey, just removing the space between the "s did not work.
    > JMB, even though the array formula did work, it upset other formulas that
    > needed the result from this cell.
    >
    > Thanks for everyones help.
    > Jo
    >
    > "Max" wrote:
    >
    >> For a neat, clean view, it might be easier to just suppress the display
    >> of
    >> extraneous zeros in the sheet via clicking:
    >> Tools > Options > View tab > Uncheck "Zero values" > OK
    >>
    >> Or, perhaps just IF error trap for nothing in A5 in front would suffice
    >> for
    >> the purpose. Eg, try array-entered:
    >> =IF(A5="","",SUM(IF(Quote_Code=A5,Quote_amt)))
    >> --
    >> Max
    >> Singapore
    >> http://savefile.com/projects/236895
    >> xdemechanik
    >> ---
    >> "Joanne Ramaekers" wrote:
    >> > I have an array formula that is working perfectly:
    >> > {=SUM(IF(Quote_Code=A3,Quote_Amt,))}
    >> >
    >> > I would like to make one change, but I don't seem to be able to get it
    >> > working. When the locigal test is false I would like to dispaly
    >> > nothing in
    >> > the cell. It's currently displaying 0.00.
    >> >
    >> > I have tried {=SUM(IF(Quote_Code=A3,Quote_Amt," "))} but is still shows
    >> > 0.00.
    >> >
    >> > Any ideas?
    >> > Jo
    >> >
    >> > P.S. I'm using Office 2003
    >> >




+ 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