+ Reply to Thread
Results 1 to 8 of 8

splitting amount into individual cells starting from the right

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    3

    splitting amount into individual cells starting from the right

    this is what i'm trying to do

    sample.xlsx

    i tried using MID function but it starts from the left and it returns blank when the number is zero in the decimal places.

    what other functions can i try?
    Last edited by ice673; 02-11-2012 at 10:15 AM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: splitting amount into individual cells starting from the right

    Try format your number as general and use text to columns
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-10-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: splitting amount into individual cells starting from the right

    hi jiejenn

    i also did that but it also starts from the left.

    here is the comparison

    Copy of Copy of sample-2.xlsx

  4. #4
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: splitting amount into individual cells starting from the right

    Please see attached file...

    I believe I accomplished what you wanted (Without VBA code)... It is messy but works... You can only copy formulas down not across. The sample is only valid for 12 digit numbers (when stripped of the "," and ".")

    enjoy,

    Ted
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Lightbulb Re: splitting amount into individual cells starting from the right

    Hi
    Please see attaached

    Yellow formula --- copy down

    Green Can copy across as well as down

    Can go to any number

    REgards
    Attached Files Attached Files
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  6. #6
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: splitting amount into individual cells starting from the right

    Hello ice673, try this.

    A1,

    =IFERROR(MID(SUBSTITUTE(TEXT($N1,"0.00"),".",""),LEN(TEXT($N1,"0.00"))-(COLUMNS(A1:$L1)),1)+0,"")

    Then copy across & down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719

    Re: splitting amount into individual cells starting from the right

    I used this formula in A1, copied across and down

    =TRIM(LEFT(RIGHT(" "&TEXT($N1*100,0),COLUMNS(A1:$L1))))
    Audere est facere

  8. #8
    Registered User
    Join Date
    02-10-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: splitting amount into individual cells starting from the right

    hi guys thanks for your time! all your methods work!
    i will try to study/understand your works so I can apply them to my purpose perfectly.
    thanks for the starting point guys!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1