Creating subroutines

I have been making some attempt to create subroutines to no avail.

Would anyone have any suggestions?

Formula fields cannot have subroutines, variables, or comments. This means that very complex formulas sometimes need to have a lot of repetition.

If you give more details on what you are trying to compute, maybe we can help.