Select the cell where you want the result to appear
Type `=COUNT(range)`
Replace `range` with the cells you want to count
Press Enter
Use `COUNT` to count only cells containing numbers
Use multiple ranges by separating them with commas, such as `=COUNT(A1:A10, C1:C10)`
Use `COUNT` with other functions if needed, such as `=COUNT(A1:A10)-COUNTBLANK(A1:A10)`
Copy the formula to other cells if you want to apply it to different ranges
