You have to use Code tags to properly format the posted code and formulas.
See Announcement: Before you post....