Thank you for your help. I pasted the formula into Col C. I did get the
desired results for the first student. But the other 1900 students are black
in Col C. Is this due to the absolute values? Am I supposed to change those
values for each student ID group? I know there is a way this can be done,
I'm an old lotus 1,2,3 user, but I've forgotten everything I knew from those
days ... and my mind has gotten older, too! All this to say, please continue
to be patient with me. Thanks.
Hi Crystal
With your sample of data, I get 1 for student 21, 1 for 22, 2 for 23 and
0 for 26.
Are your student ID's text or numeric?
Are the 1's in column B text or numeric?
Is the data consistent, or have you got mixed entries?
Try changing the formula to the following, which would force them all to
be treated as text.
=IF(A3=A2,"",SUMPRODUCT(--(TEXT($A$2:$A$2000,"0000")=TEXT(A2,"0000")),
--(TEXT($B$2:$B$2000,"0")="1")))
Does that work?

Signature
Regards
Roger Govier
> Thank you for your help. I pasted the formula into Col C. I did get
> the
[quoted text clipped - 93 lines]
>> >> >
>> >> > Rev. Crystal
crystal - 20 Apr 2007 19:16 GMT
Dear Roger
You ask:
Are your student ID's text or numeric? -- THEY ARE NUMERIC
> Are the 1's in column B text or numeric? THE 1's ARE NUMERIC
> Is the data consistent, or have you got mixed entries? THE DATA IS MIXED WITH 1's AND OTHER TEXT.
Also, my son, who is old, too, just mentioned something about doing the sub
totals in the printer options. I looked there and vaguely remember something
similar to the pivotal table and sub totals. Just wondering if that would be
easier to get one student id to print with the total. Well, while I wait for
your response, I thank you and Bob for your help.
> Hi Crystal
>
[quoted text clipped - 109 lines]
> >> >> >
> >> >> > Rev. Crystal
crystal - 20 Apr 2007 19:22 GMT
In your formula:
=IF(A3=A2,"",SUMPRODUCT(--(TEXT($A$2:$A$2000,"0000")=TEXT(A2,"0000")),
--(TEXT($B$2:$B$2000,"0")="1")))
When I try to paste it to a cell, it takes up two cells and I get a message
that it contains a missing "(" ... am I supposed to type in the two dases in
from of (Text?
> Hi Crystal
>
[quoted text clipped - 109 lines]
> >> >> >
> >> >> > Rev. Crystal
Peo Sjoblom - 20 Apr 2007 21:04 GMT
Select then cell where you want it and paste it into the formula bar instead
of directly into the cell

Signature
Regards,
Peo Sjoblom
> In your formula:
> =IF(A3=A2,"",SUMPRODUCT(--(TEXT($A$2:$A$2000,"0000")=TEXT(A2,"0000")),
[quoted text clipped - 119 lines]
>> >> >> >
>> >> >> > Rev. Crystal