View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Count Number of Times Something appears

=COUNTIF(Sheet2!A:A,B1)

etc.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mark B" wrote in message
...
On Sheet 1, I want to put a formula in ColA that tells the number of times
ColB occurs in Sheet 2, ColA. THANKS!

Sheet 1 Sheet 2
ColA ColB ColA
A401 A401
A402 A401
A403 A402
A404 A402
A405 A403
A404
A404
A405