sumif bold value cell in excel

  • HOME  • tutorials  • photos   • free grafics design    • questions and answers  • distance calculator  • maps
   



CATEGORIES
EXCEL TUTORIAL
SQL TUTORIAL
WEB INFORMATION
WINDOWS
JAVASCRIPT SCRIPTS
COMPUTER SECURITY
GRAFIC DESIGN
HTML
PHP
CSS STYLE
ATLAS OF THE WORLD
DEVELOPER
PHOTOSHOP
MAGAZINE
TOP LISTS
LATEST ARTICLES
md5 hash generator online tools windows linux c php
remove duplicates in html lines online javascript
documentgetelementbyid()innerhtml javascript set example
how to block processes from starting and running in windows xp
list of us american presidents with pictures
ucwords javascript convert online tool
hex to rgb converter javascript for colors online
letter-spacing css property for html pages
sql inject protection without complicated class php script and tutorial
how to insert decimal values into a sql table row
  home   EXCEL TUTORIAL » SUMIF BOLD VALUE CELL IN EXCELL SUM IF
google ads
 
 
 

SUMIF BOLD VALUE CELL IN EXCEL


Views: 237
HOW TO SUM BOLDED VALUES FROM A CELL RANGE OR MULIPLE CELLS RANGE



       SUM IF BOLD do Sum for bolded values and can be used for subtotals from a range of values to save time by adding each value manually. Thus we use the subtotals bold. The formula can be used for multiple range of values  without any connection between them.


Formula code


===========================



Public Function SumBold( _
        ParamArray vInput() As Variant) As Variant
    Dim rParam As Variant
    Dim rCell As Range
    Dim vTemp As Variant
       
    Application.Volatile
    On Error GoTo ErrHandler
    For Each rParam In vInput
      If TypeName(rParam) = "Range" Then
         With rParam
           For Each rCell In Intersect( _
               .Cells, .Cells.Parent.UsedRange)
             With rCell
               If .Font.Bold Then
                 If IsError(.Value) Then
                    vTemp = .Value
                    Exit For
                  ElseIf VarType(.Value2) = vbDouble Then
                    vTemp = vTemp + .Value2
                  End If
               End If
             End With
           Next rCell
         End With
       End If
     Next rParam
     SumBold = vTemp
Continue:
     On Error GoTo 0
     Exit Function
ErrHandler:                'Check for overflow
     If Err.Number = 6 Then SumBold = CVErr(xlErrNum)
     Resume Continue
   End Function

=========================



 

Function Implementation

Open Excel Worksheet - Type ALT + F11

Access Insert and then click on modules
In the window that will appear paste  the code (the function).

Press again ALT+F11

Click on fx or go to insert > function > user defined > SumBold


Use this formula = SumBold(D11:D38) - (D11:D38 is range of your values );
 
 



Articles related to SUMIF BOLD VALUE CELL IN EXCEL
Zero result!

Tags:SUM IF in excel,Sum bolded values Excel,excel functions,excel,




Leave a comment

Your name *
Your comment *
   Anti Spam code *

2 comments

added by: Jane Doogan date: 27-05-10

Thank you very much for this code - worked perfectly!

added by: JE date: 16-04-11

Hello,
The above code worked perfectly for summing bold cells.  I would like to add to this code.  I have a spreadsheet of expenses with the expense type in column A and each month of the year going across the heading in row 3.  I have the SumBold formulas at the right to give me the sum of the bolded amounts in each row.  How could I add to the code for this formula to sum the bolded amounts from just a specified range of months.  For example the sum of bolded amounts from Feb'11 and greater.  The Feb'11 reference could be updated manually in a reference cell.
Thanks,
JE




the latest articles:
• MD5 hash generator Online tools Windows Linux C Php
• Remove duplicates in html lines online javascript
• documentgetElementById()innerHTML javascript set Example
• How to block processes from starting and running in Windows XP
• List of us american presidents with pictures
• Ucwords javascript convert online tool
• Hex to rgb converter javascript for colors online
• Letter-spacing CSS property for html pages
• SQL Inject protection without complicated class php script and tutorial
• How to insert decimal values into a SQL table row
what is the height of statue of liberty
hollywood movies
map from faisalabad to hasilpur pakistan
driving distance between tanga and bagamoyo
how to abbreviate million dollars
how long do butterflies live in captivity

 

eXTReMe Tracker