Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi all,
A certain character or group of characters appears a number of times in the alpha numerical content (with different length) of some cells in A1:C100. For example the group 3a appears twice in A5 = d763ah555#3abds3j and twice in B21 = d73aah5&3ain39*h4 and once in B77 = W+3a3b$D34 but not in column C. Cells with 0, blank or "" are also possible. I need to count (1) the number of cells that contain the group 3a at least once (2) the number of cells that contain that group once (3) the number of cells that contain that group twice (4) the number of cells that contain that group three times (5) the total number of occurrences of the group in the range A1 to C100 (that is 5 in the example above) The group 3a is in D1 I know that I can use =(LEN(A1)-LEN(SUBSTITUTE(A1,D1,"")))/(LEN(D1)) to determine the number of occurrences of 3a in A1. I think this formula could be used as an array formula to find the answers to (1) to (5) but I don't know how to do that. Your help will be appreciated. Jack Sons The Netherlands -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Mijn Postvak In wordt beschermd door SPAMfighter 80 spam-mails zijn er tot op heden geblokkeerd. Download de gratis SPAMfighter vandaag nog! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I count the number of times text in column A matches text i | Excel Worksheet Functions | |||
Number count - postcodes and need to count the numbers of tim... | Excel Discussion (Misc queries) | |||
How to count the number of times something occurs within a certain month | Excel Worksheet Functions | |||
Count number of times a specific number is displayed in a cell ran | Excel Worksheet Functions | |||
Need to Count number of occurrences and get percentage of total | Excel Worksheet Functions |