+ Reply to Thread
Results 1 to 13 of 13

Make part of a cell Bold using a formula??

  1. #1
    Registered User
    Join Date
    11-05-2007
    Posts
    82

    Make part of a cell Bold using a formula??

    I have a formula that combines the the text of various cells.

    Is there a way to automatically make part of the cell Bold - so in this case I want the Cell B13 to appear in bold.

    See formula below:

    Please Login or Register  to view this content.
    Thanks for you help.
    Last edited by Neil07979; 05-29-2009 at 05:38 AM.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Make part of a cell Bold using a formula??

    Good morning Neil07979
    Quote Originally Posted by Neil07979 View Post
    Is there a way to automatically make part of the cell Bold - so in this case I want the Cell B13 to appear in bold.
    No.

    It is not possible for any function to alter formats at all. That also extends to UDFs.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Make part of a cell Bold using a formula??

    Nope. Only flat text cells can be multi-formatted in this manner.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    11-05-2007
    Posts
    82

    Re: Make part of a cell Bold using a formula??

    Ok - just as i thought,

    Thanks for the confirmation.

  5. #5
    Registered User
    Join Date
    04-10-2014
    Location
    Portland, OR
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Make part of a cell Bold using a formula??

    I used to know how to add bold formatting to text in a formula, but don't remember how. I used to get the same responses, even from Microsoft reps, as you're getting here. It was something like

    ="Hi, "&TEXT($B$3,[b])&"!"

    or

    ="Hi, "&"''"[b]"&$B$3&"""[b]"&"!"

    But I don't remember exactly - it was about four years ago. Now I need the formula again... . Should have written it down. Now I get bombarded with responses from VBA lovers that say it's impossible again...

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,971

    Re: Make part of a cell Bold using a formula??

    I'll be very interested when you remember how to prove us all wrong.
    Everyone who confuses correlation and causation ends up dead.

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Make part of a cell Bold using a formula??

    If you did it four years ago, you did it in an Excel workbook. Locate the workbook(s) and you'll have your answer. Meanwhile we assert this is not possible via formula.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Make part of a cell Bold using a formula??

    Not possible via VBA either if the cell contains a formula.
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Registered User
    Join Date
    04-10-2014
    Location
    Portland, OR
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Make part of a cell Bold using a formula??

    I wish I still had access to that Workbook. It was during my Finance/Reporting internship at Kaiser Permanente's NW headquarters, and all reports contained private or proprietary info.

    I guess I'm on a mission now to find how to do it. The funny thing is that when I originally searched for it, it's because I had seen it used in another dashboard report. I remember that the google search that turned it up was something like "Bold part of an Excel formula without VBA macro". The forum thread that I eventually found said, "I know there's a way to do this so don't tell me VB is the only way!" A few responses down was the answer. I wish I could find that thread again!
    Last edited by joeydg; 04-11-2014 at 01:20 PM.

  10. #10
    Registered User
    Join Date
    04-10-2014
    Location
    Portland, OR
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Make part of a cell Bold using a formula??

    Something promising is that the TEXT() function allows you to do this:

    =TEXT(H5,"$#,##0.00_);[Yellow]($#,##0), and the () will actually appear around the negative number, and it will drop the decimal ...but the yellow just doesn't show up. (but yellow does work in the custom format option for formatting the cell).
    Last edited by joeydg; 04-11-2014 at 02:02 PM.

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Make part of a cell Bold using a formula??

    Still not what you're looking for, but the way I've managed this in the past is to carefully align text in several adjacent columns with the key "red" data in a cell of it's own for red formatting.

    http://screencast.com/t/IcL3obWk0NHl

  12. #12
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,971

    Re: Make part of a cell Bold using a formula??

    Exactly. The TEXT formula does not allow font colour changes. Even custom format codes don't allow you to bold a cell and the TEXT function has less functionality than those codes, not more. I will cheerfully eat my hat if you prove me wrong but, in the meantime, your recollection is faulty.

  13. #13
    Registered User
    Join Date
    05-17-2014
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Make part of a cell Bold using a formula??

    Quote Originally Posted by romperstomper View Post
    I'll be very interested when you remember how to prove us all wrong.
    Just break it into different cells. If it is just Text is no problem, if it uses concatenate Is something else. I use It all the time.

+ 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