+ Reply to Thread
Results 1 to 4 of 4

conditional occurrences of specific string in a range

  1. #1
    Registered User
    Join Date
    11-15-2008
    Location
    Mumbai
    Posts
    26

    conditional occurrences of specific string in a range

    Hi Forum,


    Want count the conditional occurrences of specific string in a range. Using the following formula bout giving error.
    If someone can find where I am mistaking.

    =SUMPRODUCT(--((SEARCH("Test",$A$1:$A$8,1)>0)),--($B$1:$B$8="London"))

    Test 01 London
    Test 02 LA
    Test 03 London
    Test 04 LA
    Fest 01 London
    Test 03 LA
    Test 04 London
    Fest 04 LA

    #VALUE!

  2. #2
    Forum Contributor
    Join Date
    06-07-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: conditional occurrences of specific string in a range

    Cross posted http://www.mrexcel.com/forum/showthr...ing-in-a-range

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: conditional occurrences of specific string in a range

    =SUMPRODUCT(--ISNUMBER(SEARCH("Test",$A$1:$A$8))*--($B$1:$B$8="London"))
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  4. #4
    Registered User
    Join Date
    11-15-2008
    Location
    Mumbai
    Posts
    26

    Re: conditional occurrences of specific string in a range

    Thank you all . Its awesome.

+ 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