sum if bolded and colored values 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 » SUM IF BOLDED AND COLORED VALUES IN EXCEL SUMIF
google ads
 
 
 

SUM IF BOLDED AND COLORED VALUES IN EXCEL


Views: 242
SUM IF bolded and colored values in Excel



SUMIF Bolded function used to make total for bolded values may be insufficient if you have more complex spreadsheets that require multiple-level totals both columns and rows. Therefore we offer a more efficient solution for such cases. SUM IF for bolded values with different colors. To use this function you need color code for excel which you can find here.
You will add the code where it will be required in the dialog of function.


The code for bold and colored values:





Option Explicit
 
Public rCell As Range
Public mySum As Long
 
 Function SumColourFontBold( _
    rInputRange As Range, _
    myColour As Integer)
     'written by: Jack in the UK
     'www.excel-it.com
     'Excel XP / 2003
    Application.Volatile
    mySum = 0
    On Error Resume Next
    For Each rCell In rInputRange.Cells
        If rCell.Font.ColorIndex = myColour And rCell.Font.Bold = True Then
            mySum = mySum + rCell.Value
        End If
    Next rCell
    On Error GoTo 0
    SumColourFontBold = mySum
    Call ValKill_SumColourFontBold
End Function
 
Sub ValKill_SumColourFontBold()
    Set rCell = Nothing
End Sub






How you proceed next?

Press ALT+F11 > clik on Insert > then copy the code in module window
Press again ALT+F11

Click on fx
Select user defined

Double click on SumColourFontBold

Select your value range. Chose your color code ( You can find color code for excel here ) > click enter.

Finish


Excel example

sum if bolded and coloured values excel

For this example code for Magenta color is 7




Articles related to SUM IF BOLDED AND COLORED VALUES IN EXCEL
Zero result!

Tags:SUMIF color Excel,SUM IF excel colored and bolded values,SUMIF bold,




Leave a comment

Your name *
Your comment *
   Anti Spam code *

There are no comments on this article...Page not found!



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