View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
b4nature b4nature is offline
external usenet poster
 
Posts: 4
Default Countif Question

How do I get a formula to automatically update to count the number of times a
changing value exists within the same range of cells?

Example:
If my range needs to always be B2:F350, how can I count within that range
how many times the number 1 appears, then 2, then 3, etc.

I have COUNTIF($B$2:$F$350,"=1") but I don't want to have to change the
number every time. I want to copy down so the 1 automatically changes to 2
then 3...

Thanks!