+ Reply to Thread
Results 1 to 6 of 6

countif error?

  1. #1
    Registered User
    Join Date
    07-22-2010
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    58

    countif error?

    Hello there,

    In the attached file, you will find numbers in cells A1 to BN1. Then BO1 is the number of cells which contain numbers less than 2. ie =countif(A1:BN1,"<2") The number which should show up is 9, but excel is giving 11.

    Can someone advise me on whats wrong?
    Attached Files Attached Files

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: countif error?

    Other than A1:I1, cells AS1 and AT1 also contain values less than 2, bringing your total to 11.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: countif error?

    Columns AS and AT contain numbers that are slightly less than 2.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: countif error?

    Hi lovi,

    Trust Excel. The answer is 11. Look at AS2 and AT1. Display them as Scientific notation.

    I put a 2 in J1 pulled it across and the formula turned to 9. Then the hunt was on to find the values that displayed to 2 but were less.
    Last edited by MarvinP; 09-13-2011 at 05:43 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: countif error?

    I put an =A1=2 in A2 and dragged that across.

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: countif error?

    Better would be In A2 and pull across
    Please Login or Register  to view this content.
    This then shows TRUE for all 11 colums that are being counted!

    Easier is to conditional format all of row 1 that is less than 2. Then those cells stick out very clearly.
    Last edited by MarvinP; 09-13-2011 at 05:44 PM.

+ 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