Thread: Counting
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Billy Liddel Billy Liddel is offline
external usenet poster
 
Posts: 527
Default Counting

Mark

Use the countif function

=COUNTIF(B2:B6,A1)

Regards
Peter

"Mark" wrote:

Error in formula corrected.


ColA ColB
1A =if(right(A1,1)="A",A1,"")
2C =if(right(A2,1)="A",A1,"")
3D =if(right(A3,1)="A",A1,"")
4E =if(right(A4,1)="A",A1,"")
5W =if(right(A5,1)="A",A1,"")
=countA(b1:b5)