Formulas Flashcards
(20 cards)
count cells between dates
=COUNTIFS(range,”>=”&date1,range,”<=”&date2)
Count cells between two numbers
=COUNTIFS(range,”>=X”,range,”<=Y”)
Count cells equal to
=COUNTIF(range,value)
Count cells equal to case sensitive
=SUMPRODUCT((–EXACT(value,range)))
Count cells equal to either x or y
=COUNTIF(rng,value1) + COUNTIF(rng,value2)
Count cells equal to one of many things
=SUMPRODUCT(COUNTIF(rng,things))
Count cells greater than
=COUNTIF(rng,”>X”)
Count cells less than
=COUNTIF(rng,”
Count cells not equal to
=COUNTIF(rng,”<>X”)
Count cells not equal to many things
=COUNTA(range)-SUMPRODUCT(COUNTIF(range,things))
Count cells not equal to x or y
=COUNTIFS(rng,”<>x”,rng,”<>y”)
Count cells over 100 characters
=SUMPRODUCT(N(LEN(range)>100))
Count cells that are blank
=COUNTBLANK(rng)
Count cells that begin with
=COUNTIF(rng,”txt*”)
Count cells that contain either x or y
=SUMPRODUCT(–((ISNUMBER(FIND(“abc”,rng)) + ISNUMBER(FIND(“def”,rng)))>0))
Count cells that contain errors
=SUMPRODUCT(–ISERR(range))
Count cells that contain five characters
=COUNTIF(rng,”?????”)
Count cells that contain negative numbers
=COUNTIF(rng,”<0”)
Count cells that contain numbers
=COUNT(rng)
Count cells that contain odd numbers
=SUMPRODUCT(–(MOD(rng,2)=1))