Skip to Content
author's profile photo Former Member
Former Member

How to cut last 3 characters from a table?

Hello alltogether,

I've got the following issue.

I've got table with values from Jan-Dec. The values are about billions...

In the formula editor I already divided the values locally in WebI through a 1,000,000.

Example:

I've got a value 658,971,018.04 --> will result 658,97

What I wanna do know is to cut the last three values so the table shows only the value 658???

Can you help me how to solve the issue?

Thanks a lot!

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2012 at 09:32 AM

    Hi Jema,

    1 Select the Column which you want to format

    2.Right click "Format"

    3.Go to Format type Choose"Number" and check the Custom Checkbox

    4.Now you choose it as per your requirement

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2012 at 09:34 AM

    Hi ,

    Convert the number to string format using formatnumber() function.

    then extract the first 3 characters using substr() function.

    Now if you wish to see result in numeric format , then use tonumber() function.

    Hope this helps.

    Thanks,

    Niranjan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2012 at 09:38 AM

    Hello you two,

    thanks a lot for your quick and helpful respond!

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2012 at 09:56 AM

    Hi Jema,

    if your requirement is to display the first 3 char, then you can use the below formula and no need to divide by 1,000,000.

    Formula:

    =Left(FormatNumber([Sales revenue];"###");3)

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2012 at 10:07 AM

    Hello Jema,

    Create a variable like below:

    =Left(FormatNumber([value];"###");Length(FormatNumber([value];"###"))-3)

    It will cut the last three digits as required.

    Regards,

    Madhumitha

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.