Archive of Mr Excel Message Board
sample spreadsheet:
control 5
control 1
network 1
network 2
control 5
network control 1
network control 4
network-problem 1
network 8
Thanks!!!!!!!!!

| Check out our Excel Resources | ||||
![]() |
![]() |
|||
In order to COUNT all occurrences containing the word "network" with a corresponding 1 in B (a case of multiconditional count), use:
=SUMPRODUCT(ISNUMBER(SEARCH("network",A2:A10))*(B2:B10=1))
In order to SUM (i.e., total) the values in B with a corresponding occurence in A that contains the word "network" (a case of multiconditional sum), use:
=SUMPRODUCT(ISNUMBER(SEARCH("network",A2:A10))*(B2:B10))
Given the following data in A2:B10
{"control",5;"control",1;"network",1;"network",2;"control",5;"network control",1;"network control",4;"network problem",1;"network",8}
the count (by the first formula) is: 3
the total is: 27
If you need more, post 10 rows of your data from all relevant columns along with what you want.
Aladin
===================

:
Lets say that you have all possible descriptions (i.e., control, network, network control, network problem) in one column, say A, and numbers in say column B. : My current formula reads
