View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
St@cy St@cy is offline
external usenet poster
 
Posts: 24
Default 2 conditions Countif with offset

J3 for Employee 1
J4 for Employee 2
..
..
etc.

"Gary Keramidas" wrote:

what row and column will contain these formulas on the 2nd page?

--


Gary


"St@cy" wrote in message
...
Oh, thank you! This did calucate my first employee. Now, I need to copy the
formula down the column with OFFSET some how in the mix.
Rows 9 & 11, 14 & 16, 19 & 21, .... See the pattern?

"Gary Keramidas" wrote:

this formula on sheet2 will count the number of D's in row 11 if row 9 has a
1
in it


=SUMPRODUCT(--(Sheet1!E9:IV9=1),--(Sheet1!E11:IV11="D"))
--


Gary


"St@cy" wrote in message
...
I need to count the number of disconnects, "D"s, in for each employee in the
month of x. Each employee info takes a total of five lines. The row
indicating the month is two lines above the type, where the "D"s would be
located. The formula will be on a different sheet than the data and copied
down the column. Please help me with the right functions and/or macro.

Example:
'QA Input'
D E F .....IV
8 Employee1
9 Month 1 1 3
10 WO#
11 Type D D S
.
.
13 Employee2
14 Month
15 WO#
16 Type