+ Reply to Thread
Results 1 to 5 of 5

Divide by zero error again!

  1. #1
    Registered User
    Join Date
    07-06-2010
    Location
    Beckenham
    MS-Off Ver
    Excel 2007
    Posts
    84

    Divide by zero error again!

    I have the following formula where column CL remains blank until I populate it, however, the following formula gives a divide by zero error with blank cells.

    The other issues is that column C may not always contain the text CPHA


    Please Login or Register  to view this content.
    Any help would be much appreciated! (Pulling my hair out on this one!)
    Last edited by AllenMead; 11-01-2010 at 12:12 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Divide by zero error again!

    Edit: Deleted
    Last edited by zbor; 10-31-2010 at 11:48 AM.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Divide by zero error again!

    Not a duplicate zbor... the questions though similar are different.

    Per the point I made in the thread above I'd reiterate that the formula you have won't work regardless - the inline array will not perform as I think you expect it will.

    If you need to handle #DIV/0! then use IFERROR.

    The correct version account for inline array would be:

    Please Login or Register  to view this content.
    Last edited by DonkeyOte; 11-01-2010 at 05:28 AM. Reason: typo

  4. #4
    Registered User
    Join Date
    07-06-2010
    Location
    Beckenham
    MS-Off Ver
    Excel 2007
    Posts
    84

    Re: Divide by zero error again!

    true, but this is slightly different in that with the first reference colunm CL is numerical, which would works ok, but, how do I resolve the secondary, where column C may not always contain CPHA nut is always populated, no blanks.

  5. #5
    Registered User
    Join Date
    07-06-2010
    Location
    Beckenham
    MS-Off Ver
    Excel 2007
    Posts
    84

    Re: Divide by zero error again!

    Thank you DonkeyOte, spot on!

+ 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