Please ONLY put CODE, not everything (not entire post), in code tags.
Code tags are meant to surround ONLY the code so it can be copy pasted to formula editor without changes. Do NOT use it for entire post because first two sentences you wrote are NOT CODE.
When posting the formula, please make sure that you use Code Tags (using </>
code button) as explained here: How to use this site.
Code tags are required so formulas can be properly displayed and copied without errors.