+ Reply to Thread
Results 1 to 7 of 7

Counting list of specific texts inside the cells

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Counting list of specific texts inside the cells

    Hello Friends

    I need to count the list of texts (in Cells D1:D9) in column A, if available then need to plot the count in light yellow cells by formula as shown.

    I know I can use the fomula <=COUNTIF(A17,"*"&D1&"*")> For Example in Cell B17 but it leads to combination of 9 different countif and again if my list exceeds from D1:D9 to D1:D100 I cannot add the 100 different countif.

    thanks in advance
    Sekar

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Counting list of specific texts inside the cells

    Try

    B2=IF(SUMPRODUCT(--(ISERROR(SEARCH($D$1:$D$9,A2))))=COUNTA($D$1:$D$9),"",SUMPRODUCT(--(ISNUMBER(SEARCH($D$1:$D$9,A2)))))
    Last edited by shukla.ankur281190; 09-07-2016 at 03:29 AM. Reason: Cleaning
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Counting list of specific texts inside the cells

    Hello Ankur Shukla

    Thanks for for formula it is working well.

    Also i need another 1 option in the given formula. i.e., can i change $D$1:$D$9 to $D$1:$D$20 and can i keep the $D$10:$D$20 as blank and i can the formula. If so then even if i add the new texts in the list then i no need to change the formula cells $D$1:$D$9 to $D$1:$D$20.

    Thanks again for your formula.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Counting list of specific texts inside the cells

    or try below formula
    b2
    Please Login or Register  to view this content.
    try this and copy towards down
    make sure that D$1:D$9 does not blank
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Counting list of specific texts inside the cells

    Try

    =IF(SUMPRODUCT(--(ISERROR(SEARCH($D$1:$D$20,A2))))=COUNTA($D$1:$D$20),"",SUMPRODUCT(--(ISNUMBER(SEARCH($D$1:$D$20,A2))),--($D$1:$D$20<>0)))

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Counting list of specific texts inside the cells

    or try
    =IF(SUMPRODUCT(COUNTIFS(A2,"*"&D$1:D$20&"*")*($D$1:$D$20<>"")),1,"")
    it works with blanks too

  7. #7
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Counting list of specific texts inside the cells

    Hello Ankur Shukla, Siva, JohnTopley

    Thanks for your formulas.

    All of your formulas working well.

    Thanks again.

+ 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] To summon the texts inside the cells in one cell
    By devrimas in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-25-2015, 03:22 AM
  2. Counting number of cells inside collapsible row/column
    By Shahzai in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-11-2015, 02:18 PM
  3. [SOLVED] To average cells included texts - how to ignore texts in those cells - help please
    By PrayoonD in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-23-2014, 12:32 PM
  4. [SOLVED] VBA Help needed to fill cells with some specific texts based on multiple conditions
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-18-2014, 12:52 PM
  5. [SOLVED] Counting names inside cells
    By alyaahmed in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2013, 12:31 PM
  6. [SOLVED] Counting names inside cells
    By alyaahmed in forum Excel General
    Replies: 3
    Last Post: 10-06-2013, 12:31 PM
  7. [SOLVED] Finding a specific list of names inside larger list
    By Boxed in forum Excel General
    Replies: 7
    Last Post: 09-13-2013, 06:46 PM

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