"What" and "such" are both used to show strong emotions and to emphasize, but the sentences are different.
What + article + (adjective) + noun!
It is not necessary to have an adjective, but they are commonly used in these sentences.
- What a great day!
- What a bad guy!
- What a hard problem!
- What an interesting idea!
- What a big building!
Subject + verb + such + article + adjective + noun
- She is such a nice lady.
- It is such a nice day today.
- They are such good friends.
- She made such a large amount of food.
- They worked such a long time on this project.