Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ed Gregory
 
Posts: n/a
Default Count occurances in range of cells

Hello,

I have a range of cells that have multiple values separated by commas. What
I need to do is count the occurrences of a value in a range of cells.

Example:
Cell: A1
Value: win2k,winxp,win2003,win98

Cell: A2
Value: winxp,win2003

Cells A3-100
Value: <same type of format as above

I need formula that will get number of occurances of "winxp" in each cell in
the range. A cell can have multiple values separated by commas and could,
but shouldn't have duplicate values in cell. I have tried countif with a
wildcard but that only works if search value is first value in cell.

Thank you in advance.


  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=COUNTIF(A:A,"*winxp*")

In article ,
"Ed Gregory" wrote:

Hello,

I have a range of cells that have multiple values separated by commas. What
I need to do is count the occurrences of a value in a range of cells.

Example:
Cell: A1
Value: win2k,winxp,win2003,win98

Cell: A2
Value: winxp,win2003

Cells A3-100
Value: <same type of format as above

I need formula that will get number of occurances of "winxp" in each cell in
the range. A cell can have multiple values separated by commas and could,
but shouldn't have duplicate values in cell. I have tried countif with a
wildcard but that only works if search value is first value in cell.

Thank you in advance.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting a range of cells that get value from other cells Matt Caswell Excel Discussion (Misc queries) 3 July 13th 05 04:52 PM
adding the same prefix or suffix to a range of cells Betty Turvy Excel Discussion (Misc queries) 5 July 12th 05 05:13 PM
Formula to count the cells in a range that have a fill color. Slainteva Excel Discussion (Misc queries) 2 January 19th 05 08:25 PM
Count number of shaded cells Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 08:35 PM
How can I dynamically eliminate blank cells in a given range in E. Scott Steele Excel Worksheet Functions 6 December 17th 04 03:23 AM


All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"