Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I tried the COUNTIF function on a range of cells to count a specific word in
that range, but these cells have multiple words in them and the formula doesn't recognize the words then. How do I expand my countif formula to get what I need? EXAMPLE A1: apple and orange A2: apple and banana A3: apple and grapes and orange A4: pineapple =COUNTIF(A1:A4,"apple") is what I currently have but it returns a value of zero. How do I get it to return the value of four that I'm looking for? Thanks! |
#2
![]() |
|||
|
|||
![]()
=COUNTIF(A1:A4,"*apple*")
-- Regards, Peo Sjoblom (No private emails please, for everyone's benefit keep the discussion in the newsgroup/forum) "Abi" wrote in message ... I tried the COUNTIF function on a range of cells to count a specific word in that range, but these cells have multiple words in them and the formula doesn't recognize the words then. How do I expand my countif formula to get what I need? EXAMPLE A1: apple and orange A2: apple and banana A3: apple and grapes and orange A4: pineapple =COUNTIF(A1:A4,"apple") is what I currently have but it returns a value of zero. How do I get it to return the value of four that I'm looking for? Thanks! |
#3
![]() |
|||
|
|||
![]()
Hi!
Here's one way: =COUNTIF(A1:A4,"*apple*") The asterisks are wildcards. Biff -----Original Message----- I tried the COUNTIF function on a range of cells to count a specific word in that range, but these cells have multiple words in them and the formula doesn't recognize the words then. How do I expand my countif formula to get what I need? EXAMPLE A1: apple and orange A2: apple and banana A3: apple and grapes and orange A4: pineapple =COUNTIF(A1:A4,"apple") is what I currently have but it returns a value of zero. How do I get it to return the value of four that I'm looking for? Thanks! . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy Word table into Excel cell by cell | Excel Discussion (Misc queries) | |||
Moving text from one cell to another. | Excel Worksheet Functions | |||
how to hyperlink text to a cell | New Users to Excel | |||
Formatting a cell as "text" in the number catagory. | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |