An exclamation mark usually shows strong feeling, such as surprise, anger or joy. Using an exclamation mark when writing is rather like shouting or raising your voice when speaking. Exclamation marks are most commonly used in writing quoted speech. You should avoid using exclamation marks in formal writing, unless absolutely necessary.