The phrase "was für ein" in exclamatory statements

You've already learned that the phrase "was für ein"/"was für eine" can introduce a question to ask about the nature or type of something or someone.

Example:
Was für ein Ort ist das?

"was für ein" can also be used in exclamations. As with questions, it precedes the noun like an article and emphasizes whatever is special or unique about the noun. When used in exclamations, "was für ein" is always in the nominative. It can be used to express enthusiasm, frustration, disappointment and the like.

Examples:
Was für ein langweiliger Ort!
Was für ein Zufall, dass wir uns hier treffen!

"was für ein" can also be used to express irony and sarcasm. That becomes clear from the context and emphasis.

Example:
Du willst mitten durchs Moor gehen? Was für eine gute Idee … wenn man sterben will!"
(= not at all a good idea!)