+ Reply to Thread
Results 1 to 5 of 5

COUNTIF issues

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    Tamworth, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    COUNTIF issues

    Hey people,
    I'm currently trying to break up my data into ranges e.g. 101 to 200

    And heres my formula

    Please Login or Register  to view this content.
    The problem im having is its saying there's 0 so im not to sure.

    Greatful for any help, thanks
    Last edited by dannyshezo; 12-14-2011 at 05:09 PM.

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: COUNTIF issues

    Assume you need to count between >=101 AND <=200

    If you are on XL 2007 or late use COUNTIFS like,

    =COUNTIFS(milestone1a!E7:E126,">=101",milestone1a!E7:E126,"<=200")

    Or,

    The following formulas will work with any versions.

    Use COUNTIF like,

    =COUNTIF(milestone1a!E7:E126,">=101")-COUNTIF(milestone1a!E7:E126,">200")

    =SUM(COUNTIF(milestone1a!E7:E126,">"&{100,200})*{1,-1})
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    11-03-2011
    Location
    Tamworth, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: COUNTIF issues

    Thanks, seems to be working now, only issue i have is that i ammended the formula to suit another range and now its displaying 0 for that range,

    Thanks for your help

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: COUNTIF issues

    Can you please the formula you tried? How's the range formatted? If the range formatted or numbers entered as text this wouldn't work.

    Try this. Select the range go to Data >> Text to columns then click Finish. What is the answer you getting now?

  5. #5
    Registered User
    Join Date
    11-03-2011
    Location
    Tamworth, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: COUNTIF issues

    The range i am doing is 201 - 300 so i literally just changed the 101 and 200 from the last formula as the countif range is the same so im using;

    Please Login or Register  to view this content.
    I did like you said but nothing changed, but the when i did 101 to 200 it works yet by changing the figures, it doesn't like it.
    Last edited by dannyshezo; 12-14-2011 at 05:05 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