www.fifi.org Documentation Manpages GNU Info Debian document tree Whole document tree Trigance web page Public services User info Mailing lists Secure server Multilingual usage
Copyright (C) 2000-2012 Philippe Troin <webmaster@fifi.org>.
Validate HTML Validate CSS
Whole document tree
COUNTIF(range,criteria)
COUNTIF function counts the number of cells in the given @range that meet the given @criteria.
This function is Excel compatible.
Let us assume that the cells A1, A2, ..., A5 contain numbers 23, 27, 28, 33, and 39. Then
COUNTIF(A1:A5,"<=28") equals 3.
COUNTIF(A1:A5,"<28") equals 2.
COUNTIF(A1:A5,"28") equals 1.
COUNTIF(A1:A5,">28") equals 2.
COUNT, SUMIF.