LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Excel 2003 Counting multiple number entries in a single cell

Let's assume you have this data:

A1 = 1,5,10,11,21
A2 = 12,5,31,32,1
A3 = 1,7,10,21,39
A4 = 1,2,3,1,11

Number delimited by commas.

To count how many instances of the number 1...

C1 = 1

Array entered** :

=SUM(LEN(","&A$1:A$4&",")-LEN(SUBSTITUTE(","&A$1:A$4&",",","&C1&",","")))/LEN(","&C1&",")

Result = 5

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

That's very cryptic and may induce headaches if you stare at it too long!
<g

--
Biff
Microsoft Excel MVP


"watermt" wrote in message
...
I need to come up with a formula (e.g., COUNTIF, VLOOKUP) that will look at
each cell in a column and count the number of occurence for each number in
all cells in the column.

I'm not sure which formula to use or which 'seperator' (i.e., comma, dash,
etc.) to use within the cell. My numbers are inclusive of 1 through 43,
and
I do not want to count the number 1 as number 1 when it appears as 10, 11,
12, 21, 31, 41 and so on.

I thank you in advance for any and all assistance,
Mike



 
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
Counting number of times a specific word appears in a single cell Ken Curtis Excel Discussion (Misc queries) 19 June 16th 09 05:34 AM
How to sort ascending or descending in multiple entries within one single cell? [email protected] Excel Discussion (Misc queries) 3 August 22nd 07 12:56 PM
Excel 2003: Autofilter with Multiple Entries oceanmist Excel Discussion (Misc queries) 1 July 17th 07 11:28 AM
Counting a single value across multiple cell groups Evilivan Excel Discussion (Misc queries) 4 December 25th 06 05:59 PM
Counting number of row entries BobD Excel Discussion (Misc queries) 1 June 21st 06 09:10 PM


All times are GMT +1. The time now is 08:51 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"