You need to sign in to do that
Don't have an account?

Formula fields to display first and next 45chars
Hi All,
My requirement is i have a "Description" field which contains 90chars. I need to store the first 45 chars in one formula field and next 45 chars in another formula field.
I tried with one i.e Formulafield1: TRIM(LEFT( Description , 45)). It is working fine.
Can i know any solution for the second formula field to display next 45 chars.
Thanks
My requirement is i have a "Description" field which contains 90chars. I need to store the first 45 chars in one formula field and next 45 chars in another formula field.
I tried with one i.e Formulafield1: TRIM(LEFT( Description , 45)). It is working fine.
Can i know any solution for the second formula field to display next 45 chars.
Thanks
You can also use: for first 45 characters.
Mark it as BEST ANSWER, if it solves your problem
Thanks for the quick reply.
I don't want to display last 45 hrs.
We need to display first 45 chars in one field and next 45 chars in another field.
For Example: If description field contains 85 chars, then first formula field should display first 45 chars and next 40 chars should display in another formula field.
Any help is very much appreciated!
TRIM removes spaces from text, use it only if you want to remove spaces.
Mark it as BEST ANSWER, if it solves your problem
1. For first half use this as formula for formula field. 2. For next half use the below formula.
As everyone else also suggested:
1) You can use the below code. But use of the TRIM depends on your business requirement, decide on whether you want to count just the characters.
2) For the second half you can use the below code. I would also sugggest you to make the Character length of 45 as dynamic by storing it into the custom label. Let me know if you want to know how to do it.
Hope this solves your problem! Please mark this as a best answer if you feel so!
Thanks.