55.8k views
5 votes
Which COUNTIF function is written correctly? =COUNTIF(”>=20000”,Profit) =COUNTIF(Profit,>=20000) =COUNTIF(“Profit”,”>=20000”) =COUNTIF(Profit,”>=20000”)

User Dondublon
by
8.6k points

1 Answer

5 votes

Final answer:

The correct COUNTIF function syntax is =COUNTIF(range, criteria) with both the range and criteria in the correct order, and numerical criteria provided as a string. Therefore, '=COUNTIF(Profit, ">=20000")' is the correctly written function.

Step-by-step explanation:

The correct syntax for the COUNTIF function in Excel is =COUNTIF(range, criteria). This means that you first specify the range of cells that you want to apply the criteria to, and then you specify the criteria. The criteria need to be expressed as a string (text), where numbers and operators are enclosed in double quotes. Thus, the correct way to write the function to count cells with values greater than or equal to 20,000 in a range named Profit would be: =COUNTIF(Profit, ">=20000").

User Paul Fisher
by
8.3k points