==COUNTIF(range,criteria)
=COUNTIF(D5:D12,">100") // returns sales greater than 100
This example returns the number of sales that are greater than 100.
=COUNTIF(B5:B12,"jim") // returns the count of the name "jim"
This example returns the number of cells in the range B5:B12 that contain the name "jim".
=COUNTIF(C5:C12,"ca") // returns the count of state = "ca"
This example returns the number of cells in the range C5:C12 that contain the state "ca".
=COUNTIF(A1:A10,100) // returns the count of cells equal to 100
This example returns the number of cells in the range A1:A10 that are equal to 100.
=COUNTIF(A1:A10,">32") // returns the count of cells greater than 32
This example returns the number of cells in the range A1:A10 that are greater than 32.
The COUNTIF function is a statistical function in Sourcetable that counts how many cells meet a criterion.