SumIF bold value cell in excel SUM IF - Excel Tutorial

sumif bold value cell in excel

 
  • HOME  • tutorials  • photos   • free grafics design   
   



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
LATEST ARTICLES
how to insert decimal values into a sql table row
asrep.com adsense traking script is down
list of walt disney animated movies
free php and ajax captcha scripts
convert uppercase to lowercase javascript online script
detect and block uppercase (up letters) in a string (form text input) php script
php googlebot detection script
replace breaking lines in text or textarea input using php
rounded borders corners css without images
photoshop styles, asl photoshop style free download
  home   EXCEL TUTORIAL » SUMIF BOLD VALUE CELL IN EXCELL SUM IF
google ads
 
 
 


SUMIF BOLD VALUE CELL IN EXCEL


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 IN SUMIF BOLD VALUE CELL IN EXCEL CATHEGORY

Zero result!!



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






Leave a comment
Your name *
E-mail * ( it not be posted)
Comment title *
Your comment *
   Anti Spam (fill the number CASE SENSITIVE - UP LETTERS ) *

Subject comments

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

Comment title:


Thank you very much for this code - worked perfectly!

 

 

the latest articles :
• How to insert decimal values into a SQL table row
• Asrep.com adsense traking script is down
• List of Walt Disney animated movies
• Free PHP and AJAX CAPTCHA scripts
• Convert uppercase to lowercase javascript online script
• Detect and block uppercase (up letters) in a string (form text input) php script
• Php Googlebot detection script
• Replace breaking lines in text or textarea input using php
• Rounded borders corners css without images
• Photoshop styles, asl photoshop style free download

 

eXTReMe Tracker