+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : COUNTIF issues + Another question

  1. #1
    Registered User
    Join Date
    12-26-2009
    Location
    Serbia
    MS-Off Ver
    Excel 2003
    Posts
    4

    COUNTIF issues + Another question

    Hello everyone

    I have just started playing around with excel last night and so far it hasnt been difficult dealing with it and finding info on the internet about stuff but now i seem to have hit a dead end.

    I have come to a point where i need to make a formula which will search throught a column and find all the numbers higher than 1000 and return the total number or cells with such numbers but heres the problem :

    I have tried =COUNTIF(D6:D20, "">= 1000) but it just keeps returning 0 :\
    I have also tried =COUNTA(D6:D20, "">= 1000) and for some reason it returns 16 while there are only 15 cells in the column and only 8 of those cells have values higher than 1000.

    I would be very thankfull for any help you guys can offer

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483

    Re: COUNTIF issues.

    =COUNTIF(D6:D20,">1000")
    May be what is missing.

  3. #3
    Registered User
    Join Date
    12-26-2009
    Location
    Serbia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: COUNTIF issues.

    LOL YES thats it !

    I saw the command on the net with ">1000 but excel it self suggested a fix and remade it to "">1000 for some reason.. and i was dumb enough not to second guess the program :P

    Anyway tyvm again man Now its back to work ^^

  4. #4
    Registered User
    Join Date
    12-26-2009
    Location
    Serbia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: COUNTIF issues + Another question

    Hello again. Didnt want to make a new thread so i just edited this one since its partially related to the previous question

    I have found all numbers >=1000 and counted them with COUNTIF now im wondering if there is a way to sum up all the extra values that go over 1000.

    Let me explain. For example if the column shows the following numbers:

    1437
    1213
    1110
    910

    Is it possible to work out a formula that would, if the number is higher than 1000, take the value that is over 1000 (437 in the first one) and then continue taking them from all the cells in the column that are higher than 1000 and sum them all up ?

    I hope i explained it well enough

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: COUNTIF issues + Another question

    How about

    =SUMIF(A1:A4,">1000")-(COUNTIF(A1:A4,">1000")*1000)

    adjust ranges to suit.

  6. #6
    Registered User
    Join Date
    12-26-2009
    Location
    Serbia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: COUNTIF issues + Another question

    Works awesome !

    Thanks a lot man Cheers

+ 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