Wiktionary
no shit, sherlock
interj. (context vulgar colloquial sarcastic somewhat derogatory English) (non-gloss definition: A riposte to someone who has just said something obvious)