It you select the blank cell under a column of numbers or a blank cell at the end of a row of numbers and hit the Autosum button it will enter the SUM function and select the cells above in the column, or to the left in a row. Pressing Alt and the = key will also do the same thing. If you select the column or the row with the numbers and click the button or do Alt and the = key, then it will also do the same.
Sum Function
The Sum function or the AutoSum tool.
The Excel function that returns the number of cells in a range is COUNTA. This function counts all non-empty cells in the specified range, including numbers, text, and logical values. If you want to count only numeric values, you can use the COUNT function instead.
The Auto Calculate area in Excel shows summary statistics, including the Count of Numbers. This displays the number of cells containing numerical values in the selected range.
Normal style
To be technically accurate, no function does this. The answer you are looking for is the AVERAGE function. It divides by the amount of cells that have values in them, not by the amount of cells. In most situations, all of the selected cells have values in them, but there are cases when they don't.
name manager
A function can reference cells or named ranges in the function.
The Average function can use numbers, cells or ranges or a mix of these. IT can take up to 255 values. The general syntax is: =AVERAGE(number1, [number2], ...)
In Excel is it COUNT.
You can use Conditional Formatting to achieve this.
The COUNT function is designed to just count the amount of numbers that are in cells. There are lots of situations where you want to count only the cells that have numbers. You will often have ranges that have some empty cells and you want to only know what cells have numbers in them. There are other Count functions like COUNTBLANK that will count just the blank cells.