This is motivated by a question I saw elsewhere that asks whether there is a real-valued function on an interval that contains no monotone subintervals.
Edit: Note that I am asking for a function whose derivative exists but is not continuous anywhere.
Consider the Weierstrass Function
It is continuous everywhere and only differentiable at a set of points with measure 0. I don't know if that suffices for you, but I think it is quite amazing already.