+ Reply to Thread
Results 1 to 4 of 4

Thread: how to Split Cell with no limitor only diffrent fonts

  1. #1
    Registered User
    Join Date
    09-15-2010
    Location
    islamabad , pakistan
    MS-Off Ver
    Excel 2003
    Posts
    4

    how to Split Cell with no limitor only diffrent fonts

    liquidate stock liquidar existencias is the example of a cell i have in excel


    hi all , i am working on a dictionary for integrating it with a website .

    i have the word in bold and its Spanish translation in normal font ,

    want to split this data into two columns ,


    if anybody has a suggestion , please help me out
    Last edited by shijiazhuang; 09-17-2010 at 07:52 AM. Reason: Administrator

  2. #2
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,637

    Re: HELP ME ON THIS ( SOS ) Split Cell

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  3. #3
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,589

    Re: how to Split Cell with no limitor only diffrent fonts

    Thanks for changing your thread title.

    Try this UDF

    In a standard module
    Option Explicit
    
    Function SplitByFontStyleBold(rng As Range)
        Dim n As Integer
        
        For n = 1 To rng.Characters.Count
            If IsNull(rng.Characters(1, n).Font.FontStyle) Then
                Exit For
            End If
        Next
        SplitByFontStyleBold = Trim(Left(rng, n - 1))
    End Function

    With your data in A2

    B2
    =SplitByFontStyleBold(A2)

    C2
    =TRIM(RIGHT(A2,LEN(A2)-LEN(B2)))

    Hope this helps
    If you need any more information, please feel free to ask.

    However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.

  4. #4
    Registered User
    Join Date
    09-15-2010
    Location
    islamabad , pakistan
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how to Split Cell with no limitor only diffrent fonts

    wow you ppl are the knights in shining armour

    thanks marcol you made my day

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0