+ Reply to Thread
Results 1 to 8 of 8

Count the occurrences of 3 words in a range

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Count the occurrences of 3 words in a range

    hello,

    in column A, i have a list of fruit words.
    which formula can count how many times "apple" and "banana" and "orange" are present in column A.

    i dont want 3 COUNTIF formulas that are added together. is there simply one formula that checks for all 3?

    thank you

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Count the occurrences of 3 words in a range

    Hi ,

    Can u provide the Sample Sheet.

    Punnam

  3. #3
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: Count the occurrences of 3 words in a range

    i dont think theres any need.

    column A has many fruit words.
    i would like a formula in cell B1 to count the amount of times "apple" and "banana" and "orange" are present

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Count the occurrences of 3 words in a range

    Hi,

    =SUM(COUNTIF(A:A,{"apple","orange","banana"}))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Count the occurrences of 3 words in a range

    Hi Xor Lx,

    Can you brief me about the significance of {} in the formula .

    Punnam

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Count the occurrences of 3 words in a range

    It signifies an array constant, i.e. collection of one or more strings, as opposed to an array of cell references.

    Regards

  7. #7
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Count the occurrences of 3 words in a range

    Hi Xor Lx

    Thankyou

    Punnam

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Count the occurrences of 3 words in a range

    Quote Originally Posted by Punnam View Post
    Hi Xor Lx

    Thankyou

    Punnam
    You're welcome.

+ 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] Count occurrences of text in a range
    By braydon16 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-18-2013, 08:33 PM
  2. [SOLVED] Count Occurrences and Fill Cells with Results Using a Date Range
    By CWatsonJr in forum Excel General
    Replies: 20
    Last Post: 06-07-2012, 02:33 PM
  3. [SOLVED] Count occurrences of a text string in a range of cells
    By skysurfer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-30-2012, 04:01 PM
  4. [SOLVED] Need Help: how to count occurrences of a text character in a range
    By leemanns in forum Excel General
    Replies: 7
    Last Post: 05-05-2012, 01:51 PM
  5. Excel 2007 : Count Occurrences of Text in Data Range
    By gtlandis in forum Excel General
    Replies: 5
    Last Post: 09-22-2011, 11:42 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