'formula shows' in calc unwanted

I don’t have the ‘show formula’ option selected (Mac OS X.9.5), but instead of calculating, it simply displays in the cell. I am a neophyte, so perhaps my formula is bad? It is: =COUNTIF(D1:D1592,“Syn”)
… and my intent is to count the number of times in that long column that the text string ‘Syn’ occurs.

At bottom of another column another formula, =COUNTA(E1:E1592), to count all cells with nothing in them, calculates, but returns 557, when the total should be around 1,000…

Make sure the cell hasn’t applied a number format Text (@) before entering a formula or number, else all input will result in literal text instead of a formula or numeric value.

See also this FAQ.

Vielen Dank, erAck. But no progress, other than it returns ‘0’ (the correct ~200 count). Whenever I change the number format to ‘All / General’ it seems to automatically revert to ‘Number / General’ format. I plan to do no arithmetic with the cell contents of this spreadsheet, just aggregating their text content, as per the two formulas I am trying. Strange that one formula possibly is partially counting, the other one is accepted but returns a count of zero… Ideas, anyone?

Please use add a comment instead of Answer it it doesn’t answer the original question.

However, changing the number format does not change the cell content, if it was text it stays text. So once the number format of the cell was changed to General you’ll have to re-enter the formula (just place the cell in edit mode with F2, then append and remove a blank to have it modified, and then press Enter).

For the =COUNTA(E1:E1592) that does count cells with content, not without (as you wrote “to count all cells with nothing in them”).