+ Reply to Thread
Results 1 to 3 of 3

COUNTIF Function for String of more than 255 Characters

  1. #1
    Registered User
    Join Date
    04-17-2014
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    11

    Post COUNTIF Function for String of more than 255 Characters

    I want to count number of times a string is appearing in a range of cells, for which I entered COUNTIF formula in an adjacent column i.e. Column C.

    =COUNTIF($A$2:$A$929,B2)

    The formula gives me perfect results untill the string length goes more than 255 characters.

    So I wanted to know is there any way I can count number of times a string of more than 255 characters is appearing in a range of cells?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: COUNTIF Function for String of more than 255 Characters

    You can use SUMPRODUCT like this

    =SUMPRODUCT(($A$2:$A$929=B2)+0)
    Audere est facere

  3. #3
    Registered User
    Join Date
    04-17-2014
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: COUNTIF Function for String of more than 255 Characters

    Great it worked, Thanks a lot for prompt response...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Using COUNTIF with right string function
    By davo66 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-26-2014, 07:33 AM
  2. [SOLVED] Function to flag non-alphanumeric characters in a text string
    By Sophie.Durrant in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-02-2013, 10:56 AM
  3. [SOLVED] exl 2010 countif, criteria=final digit in string is not present in other characters
    By Madmortagan68 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-11-2013, 05:45 PM
  4. [SOLVED] Function to trim first 10 characters off a string
    By theletterh in forum Excel General
    Replies: 5
    Last Post: 07-12-2012, 11:43 AM
  5. Replies: 5
    Last Post: 07-19-2006, 12:22 PM

Tags for this Thread

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