+ Reply to Thread
Results 1 to 4 of 4

Thread: Cant remove #DIV/0 with If Statement

  1. #1
    Registered User
    Join Date
    03-02-2010
    Location
    Northumberland
    MS-Off Ver
    Excel 2000
    Posts
    59

    Cant remove #DIV/0 with If Statement

    Hi Folks

    Could someone please help me with the attached file.

    I cant get rid of the #DIV/0

    Many Thanks

    Brian
    Attached Files Attached Files
    Last edited by singerbatfink; 07-26-2011 at 12:18 PM.

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,222

    Re: Cant remove #DIV/0 with If Statement

    Not entirely sure what you're trying to do but the basic premise is wrong:


    1 =COUNTA(B5:M5)
    1 =COUNTIF(B5:M5,"<>")
    12 =COUNTIF(B5:M5,"<>0")
    Regards

  3. #3
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007
    Posts
    615

    Re: Cant remove #DIV/0 with If Statement

    The logic of the formula is not correct. Kindly inform either you need count or sum in these cases:

    (B5:M5<>0), B5:M5 / A5:M5)
    Azam
    If you want to say Thank you to a member, click the reputation icon (Star) in the left bottom of the post.
    For prompt answer, be descriptive, concise, short, direct, and to-the-point.

  4. #4
    Registered User
    Join Date
    03-02-2010
    Location
    Northumberland
    MS-Off Ver
    Excel 2000
    Posts
    59

    Re: Cant remove #DIV/0 with If Statement

    Sorry for wasting your time.. Ive checked the formula again and your both right.. Ive amended and taken out the first part of the sum upto the Lookup.

    It seems ok now.

    Thanks again

+ 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.2.0