+ Reply to Thread
Results 1 to 4 of 4

count cells with "<"

Hybrid View

  1. #1
    Registered User
    Join Date
    06-08-2008
    Location
    Boston Massachusetts
    MS-Off Ver
    Excel for Office 365
    Posts
    28

    count cells with "<"

    I want to use the countif function to count the number of cells with contents starting with a "<" (e.g., <2.2)

    I have tried =countif(range,"<*")

    but does not work.

    Thanks
    Tim

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =COUNTIF(A:A,"*<*")
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,727
    for specifically < as first character try

    =COUNTIF(range,"~<*")

  4. #4
    Registered User
    Join Date
    06-08-2008
    Location
    Boston Massachusetts
    MS-Off Ver
    Excel for Office 365
    Posts
    28

    Thank you VBA

    After spending quite a bit of time on this, that was embarassingly simple.

    Thank you!

    Tim

+ 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