View Single Post
  #1   Report Post  
Sam via OfficeKB.com
 
Posts: n/a
Default Count and Sum Total occurrances of two specific numbers

Hi All,

I have a table of numbers that spans nine Columns (A-I)and 400+ Rows (20-
480). I have made

the table a Dynamic Range called "Numbers". Each Row contains numbers in
ascending order. Is

there a formula that can check for two specific numbers Row by Row through
the (nine column)

Range "Numbers" and give a final Count of how many times the two numbers
appear together in

each Row of the Dynamic Range "Numbers"?

Columns A-I
Rows 20-480

Example sample data from Range "Numbers"

ROW20 51 58 59 65 69 72 73 76 79
ROW31 50 51 58 72 73 76 79 80 81
ROW50 50 52 60 62 68 69 70 75 76
ROW75 53 54 59 60 62 69 70 72 73
ROW80 50 51 58 59 70 71 72 73 76
ROW83 51 53 65 67 68 69 78 80 81
ROW94 51 52 58 60 61 65 67 72 73
ROW99 50 53 57 62 63 68 70 71 73

Example Criteria:
Count how many times 72 AND 73 appear together in the same Row throughout
the Dynamic Range

"Numbers".

Expected Result from sample Range "Numbers":
COUNT=5
72 AND 73 appear together a total of 5 times - Rows 20, 31, 75, 80 and 94.

Regards,
Sam

--
Message posted via http://www.officekb.com