Add colored cell values in column
Closed
                                    
                        Rajiv                    
                                    -
                            May  6, 2010 at 06:22 AM
                        
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 7, 2010 at 09:41 AM
        rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 7, 2010 at 09:41 AM
        Related:         
- Add colored cell values in column
 - 2007 microsoft office add-in microsoft save as pdf or xps - Download - Other
 - How to add at the rate in laptop - Guide
 - How to add subtitles in kmplayer - Guide
 - How to add photo in word resume - Guide
 - Based on the values in cells b77 b88 ✓ - Excel Forum
 
3 responses
                        
                    still   waiting for ur  favourable respond     after  writing   appology  and reactivate letter tosupport@facebook.com
                
                
            
                
        
                    rizvisa1
    
        
                    Posts
            
                
            4478
                
                            Registration date
            Thursday January 28, 2010
                            Status
            Contributor
                            Last seen
            May  5, 2022
            
            
                    766
    
    
                    
May 6, 2010 at 07:09 AM
    May 6, 2010 at 07:09 AM
                        
                    Are they red due to some conditional formatting or have been colored red. If due to conditional formatting, what is the condtion
                
                
            
                
        
                    rizvisa1
    
        
                    Posts
            
                
            4478
                
                            Registration date
            Thursday January 28, 2010
                            Status
            Contributor
                            Last seen
            May  5, 2022
            
            
                    766
    
    
                    
May 7, 2010 at 09:41 AM
    May 7, 2010 at 09:41 AM
                        
                    Paste this formula
and then in your cell B12 write
            
Function MySum(mySumRange As Range) As Variant
Dim sum As Variant
    For Each cell In mySumRange
    
        If (cell.Font.color = RGB(255, 0, 0)) Then
            sum = sum + cell
        End If
    
    Next
    MySum = sum
    
End Function
and then in your cell B12 write
=MySum(A1:A10)