+ Reply to Thread
Results 1 to 5 of 5

CountIF

  1. #1
    Registered User
    Join Date
    02-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    87

    CountIF

    I have attached the Excel file

    I would like to find out how to use the COUNTIF condition with another formula.

    The countif is in cell A3, reading from A5:A200, and in A5 and on, I have the formula of
    =MAX(A4:A$4)+1, that will create custom counter Arc-1, Arc-2, Arc-3.................

    My cell A3 formula is =COUNTIF(A5:A10, ">=Arc-1")
    But returns Zero .

    Not too sure how can I get it to work !
    Last edited by OceanBlue; 11-30-2011 at 03:52 PM. Reason: SOLVED
    Oceans Blue

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: CountIF

    If you have formula: =MAX(A4:A$4)+1 generating something like Arc-1, then probably you have the cell custom formatted as "Arc-"general or similar.

    so then you should only need:

    =COUNTIF(A5:A10, ">=1")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: CountIF

    Nope, no attached file...

    And from the description you gave, Arc-1 is not less than Arc-2, they are both considered strings of text, that'd be like asking excel to know that Miraun => Oceanblue.

    ... NBVC >= Miraun
    Going for Guru! Click the Star to the bottom left of this post if I helped!

  4. #4
    Registered User
    Join Date
    02-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    87

    Re: CountIF

    Quote Originally Posted by NBVC View Post
    If you have formula: =MAX(A4:A$4)+1 generating something like Arc-1, then probably you have the cell custom formatted as "Arc-"general or similar.
    so then you should only need:
    =COUNTIF(A5:A10, ">=1")
    YEP, that did it.

    Thanks

  5. #5
    Registered User
    Join Date
    10-10-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: CountIF

    Thanks..................................

+ 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