+ Reply to Thread
Results 1 to 7 of 7

counting Charactors

Hybrid View

  1. #1
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: counting Charactors

    C'mon, now: =countif(a1:a13, "BALTHAZOR, JESSE C*")
    Entia non sunt multiplicanda sine necessitate

  2. #2
    Registered User
    Join Date
    04-28-2009
    Location
    Minneapolis, mn
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: counting Charactors

    That works if the data was all in one column. they are in 2 columns

    So I need to look at both column A and B or a way to merge the two

  3. #3
    Forum Contributor
    Join Date
    10-08-2006
    Location
    Walnut, CA
    MS-Off Ver
    2003,2010, Office 365
    Posts
    114

    Re: counting Charactors

    =sumproduct(isnumber(search("balthazor, jesse",a1:a13))*(left(b1:b13,1)="c"))

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: counting Charactors

    That works if the data was all in one column. they are in 2 columns
    That's why we prefer people post workbooks.

    If the entire name columns contains only names with no trailing (or leading) spaces, then

    =sumproduct( (a1:a13="balthazor, jesse") * (left(b1:b13,1)="c") )

    And in that case, the first formula can be =countif(a1:a13, "BALTHAZOR, JESSE"), which is must faster than a wildcard comparison.

+ 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