Make creating expressions easier to build and read

by Sandy on February 16, 2008

in Calculated Fields,General / Tips

When including numeric values in the expression to build up a character string, it’s common to use the Trim (removes leading and trailing spaces) and Str (converts numerics to characters) functions together, such as:

Trim(Str(MyValue))

The equivalent when programming in Excel is the Cstr() function, so why not go ahead and build yourself a custom function in Monarch to do the same thing?

{ 1 comment… read it below or add one }

Grant February 18, 2008 at 3:03 pm

Now THAT is a great idea!

If you have colleagues who would also use it make it available in a central library model of custom functions and save everyone some time and effort. There is no point in everyone inventing their own wheel.

Leave a Comment

*

Previous post:

Next post:

Copyright © 2007 - 2012 Excel with Monarch Training and Services. All rights reserved. Privacy Policy
Microsoft Excel™ Microsoft Corporation. Monarch and Monarch Pro™ Datawatch Corporation.