VARPA(area1,area2,…)
area1: first cell area
area2: second cell area
VARPA is also known as the N-variance.
Numbers, text and logical values are included in the calculation too. If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0). If the argument evaluates to TRUE, it is counted as one (1). Note that empty cells are not counted.
This function is Excel compatible.