View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shelley Shelley is offline
external usenet poster
 
Posts: 9
Default Right function to use

State Ins
1 ny prc
2 ny crc
3 ny crc
4 ct prc
5 ct prc
6 ct crc
7 oh prc
8 oh prc

STATE PRC CRC
NY XXXX XXXX
CT
OH

I want to put a function where the XXX's are that will count the number of
occurances of PRC or CRC based on a particular state code, using the rows
above. I have tried COUNTIF but I can not get the arguments correct??