+ Reply to Thread
Results 1 to 3 of 3

How to Count specific words in a range of cells based on condition

  1. #1
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Question How to Count specific words in a range of cells based on condition

    Hello every one

    i wrote a code that Count specific words in a range of cells

    i mean if there is any cell that includes "ist" and "kl" even it is exist more than one i want to count all in the range
    it is working without problem but

    i need to make that based on a condition so if i write code in column K it gives me count for that code only not all range
    so if code in in K8 exist in Column E then count all "ist" and "kl" and not count count the other codes

    i have attached workbook so any one can understand me
    Attached Files Attached Files
    Last edited by Ell0ll; 02-19-2020 at 05:13 PM.

  2. #2
    Forum Contributor shank_mis's Avatar
    Join Date
    09-08-2018
    Location
    Delhi
    MS-Off Ver
    2010
    Posts
    128

    Re: How to Count specific words in a range of cells based on condition

    Modified your formula a little and it's done --

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Confirm with Ctrl+Shift+Enter

    Two more formulae, little smaller ones--

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Confirm with Ctrl+Shift+Enter

    Please hit the "Add Reputation" button if you liked the answer
    Last edited by shank_mis; 02-19-2020 at 12:24 AM.
    Shashank Mishra
    Please hit "Add Reputation" Button if you liked the answer.

  3. #3
    Registered User
    Join Date
    01-13-2017
    Location
    EgYpT
    MS-Off Ver
    2010
    Posts
    36

    Re: How to Count specific words in a range of cells based on condition

    Quote Originally Posted by shank_mis View Post
    Modified your formula a little and it's done --

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Confirm with Ctrl+Shift+Enter

    Two more formulae, little smaller ones--

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Confirm with Ctrl+Shift+Enter

    Please hit the "Add Reputation" button if you liked the answer
    Thanks it is working i understand it now and i have added multiple IF to check more columns

+ 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. how to count specific words in a cell range
    By 1.zer0 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 10-08-2015, 12:02 PM
  2. copying specific range from one workbook to another in specific range based on condition
    By ankitgoyalhsr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2015, 03:46 AM
  3. Count unique values within a range that meet a specific condition
    By CSS in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 06-24-2013, 02:00 PM
  4. Replies: 3
    Last Post: 12-21-2012, 05:33 AM
  5. Replies: 11
    Last Post: 07-11-2012, 02:24 PM
  6. Replies: 1
    Last Post: 06-15-2006, 04:29 AM
  7. [SOLVED] Count 2 (Two) specific words in a cell in a given range
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2006, 12:10 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