+ Reply to Thread
Results 1 to 4 of 4

Add Bold Font Cells

  1. #1
    Forum Contributor
    Join Date
    07-23-2016
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    273

    Add Bold Font Cells

    I am trying to add just the cells in column "O" who's font is set to Bold. I have defined a name, "IsBold" as Get.Cell(20,$05) then at the bottom of the data in the "O" Column, have added =SUMIFS(O5:O8,O5:O8,"IsBold=True"). However the bold cells are not added as the sum is always zero. Help would be appreciated as I have tried all kinds of syntax on the SumifS function.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Add Bold Font Cells

    Try this function, put it in a module and ue the formula such as,
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Please Login or Register  to view this content.
    Even though the function is volatile, the sheet would have to calculate to add the bold cells again.

  3. #3
    Forum Contributor
    Join Date
    07-23-2016
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    273

    Re: Add Bold Font Cells

    Thanks...yes, it is no problem to do in VBA but I am working on a spreadsheet that needs to be distributed and people don't want to "enable content" to run VBA macros. Thus, I am trying to do the spreadsheet with macros.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Add Bold Font Cells

    Quote Originally Posted by EssoExplJoe View Post
    Thanks...yes, it is no problem to do in VBA but I am working on a spreadsheet that needs to be distributed and people don't want to "enable content" to run VBA macros. Thus, I am trying to do the spreadsheet with macros.
    Yeah...what?

+ 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. Replies: 6
    Last Post: 04-10-2014, 11:09 AM
  2. [SOLVED] For all cells with font size bigger than 9, make that cell bold and color white
    By jasondu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2012, 02:18 PM
  3. formula to auto change some cells to bold font
    By m3site in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2008, 03:38 PM
  4. Replies: 1
    Last Post: 11-07-2007, 08:45 PM
  5. Can you keep a cells BOLD Font, cell color size
    By Trese in forum Excel General
    Replies: 2
    Last Post: 08-23-2005, 11:05 AM

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.6.0 RC 1