TRIMRANGE function and trim references
Refer to the following example code to see how to use TRIMRANGE function and trim references.