View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.newusers
BASCRUMMY BASCRUMMY is offline
external usenet poster
 
Posts: 2
Default Counting unique values in a row

I think this is going to work, but I think I am caught up on what to put in
for lastrow. Also should I put my whole data range in where A1 is?

"Bob Phillips" wrote:

=SUMPRODUCT(--(COUNTIF(OFFSET(A1,ROW(INDIRECT("1:"&lastrow))-1,0,1,3),50)=3))

--
__________________________________
HTH

Bob

"BASCRUMMY" wrote in message
...
I am attempting to count the number of times a specific value range occurs
in
a row throughout a large spreadsheet. For example, I have three values in
multipe rows:
A1=10, B1=20, C1=30,
A2=20, B2=10, C2=30.
A3=50, B3=50, C3=50
I want to create a formula that will allow me to count the number of rows
that contain 50,50,50 within a large area.