Results 1 to 2 of 2

Thread: COUNTIF (2003)

  1. #1
    2 Star Lounger
    Join Date
    Apr 2001
    Location
    Chapel Hill, North Carolina, USA
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    COUNTIF (2003)

    I want to use the countif function to count text entries which contain "< 6 months" and ">5 years", however they do not work properly because the fucntion

    COUNTIF('survey data'!B$2:B$152,"< 6 months")

    uses the "<" as an operator and does not perform a text match. Is there a way to fix this?

    Thanks!

    Larry

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: COUNTIF (2003)

    Try

    =COUNTIF('survey data'!B$2:B$152,"=< 6 months")

    I inserted an = before the <.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •