+ Reply to Thread
Results 1 to 3 of 3

Using Sumproduct to find a containing word inside a cell

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    Christchurch New Zealand
    MS-Off Ver
    Excel 2013
    Posts
    45

    Using Sumproduct to find a containing word inside a cell

    I'm hoping someone will be able to help

    I am using a sumproduct formula and I need it to find the all the cells containing the word Pauline inside the cell.
    I have tried the below formula but excel will not accept it as it contains too many arguments

    =SUMPRODUCT(ISNUMBER(SEARCH("pauline",January!F3:F501),--(January!$K$3:$K$500='Environmental Totals'!$A$36)))
    Is there another way of getting this formula to work

    Cheers

  2. #2
    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: Using Sumproduct to find a containing word inside a cell

    =SUMPRODUCT(ISNUMBER(SEARCH("pauline",January!F3:F501)), --(January!$K$3:$K$501='Environmental Totals'!$A$36))

    Or you could use autofilter.
    Last edited by shg; 12-14-2014 at 07:41 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Using Sumproduct to find a containing word inside a cell

    Need to convert the results of the ISNUMBER array to numbers:

    =SUMPRODUCT(--ISNUMBER(SEARCH("pauline",January!F3:F501)), --(January!$K$3:$K$501='Environmental Totals'!$A$36))

    Or, using COUNTIFS:

    =COUNTIFS(January!F3:F501,"*pauline*",January!$K$3:$K$501,'Environmental Totals'!$A$36)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Replacing the word inside the cell
    By shimaa01234 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-24-2014, 08:53 AM
  2. Replies: 15
    Last Post: 05-28-2014, 05:57 AM
  3. Replies: 1
    Last Post: 06-04-2013, 03:26 PM
  4. Can i save 350 word article inside a cell
    By georgiefame99 in forum Excel General
    Replies: 3
    Last Post: 03-30-2012, 02:18 PM
  5. [SOLVED] How to get font of particulat word in text inside a cell?
    By Laguna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2005, 01:05 AM

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