+ Reply to Thread
Results 1 to 5 of 5

Extract the bold portion of the text in a cell

  1. #1
    Registered User
    Join Date
    06-28-2015
    Location
    Atlanta, Georgia
    MS-Off Ver
    2010
    Posts
    2

    Extract the bold portion of the text in a cell

    I would like to have a user-defined function that extracts the bolded portion of the text in a cell that has some normal and some bold font. For example, if cell H5 contained:

    A Nx Sc N

    and the Sc was bold and everything else was normal (sorry, I couldn't get the bold to work in this message)

    then my user defined function =GetBold(H5) would return "Sc".

    Thanks for your help.
    Last edited by FDibbins; 06-28-2015 at 07:41 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Extract the bold portion of the text in a cell

    Hi and welcome to the forum,

    One way

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Extract the bold portion of the text in a cell

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Registered User
    Join Date
    06-28-2015
    Location
    Atlanta, Georgia
    MS-Off Ver
    2010
    Posts
    2

    Re: Extract the bold portion of the text in a cell

    That worked just the way I wanted - thanks very much!

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Extract the bold portion of the text in a cell

    Glad to have helped and thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How do I extract a portion of a string into an adjacent cell?
    By tura910 in forum Excel General
    Replies: 4
    Last Post: 03-26-2012, 08:40 AM
  2. Extract a specific portion of a text string in Excel?
    By drawkcaB in forum Excel General
    Replies: 3
    Last Post: 05-18-2010, 01:48 PM
  3. Bold a portion of text in a cell
    By cr_ashok in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2007, 09:28 AM
  4. Extract Bold Text from cell
    By jl200 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-02-2007, 01:47 PM
  5. [SOLVED] Bold a portion of concatenated string
    By joeeng in forum Excel General
    Replies: 1
    Last Post: 12-08-2005, 04:30 PM

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