![]() |
| | ||||
| ||||
| |
| |||
| Bonjour à tous Merci JB , cette solution me va à merveille. Bon Week-end tout le monde CBR _____________________________________________ "JB" <boisgontier***hotmail.com> a écrit dans le message de news: 309ef764-93b3-4cf1-a002-5bed1e756ede...oglegroups.com... Bonsoir, Function SommeCouleurTexte(champ As Range, couleurTexte) Application.Volatile Dim c, temp temp = 0 For Each c In champ If c.Font.ColorIndex = couleurTexte Then If IsNumeric(c.Value) Then temp = temp + c.Value End If Next c SommeCouleurTexte = temp End Function Pour maj touche F9 ou maj immédiate: Private Sub Worksheet_SelectionChange(ByVal Target As Range) Calculate End Sub http://boisgontierjacques.free.fr/fi...uleurTexte.xls JB http://boisgontierjacques.free.fr/ On 3 avr, 19:10, "CBR" <nospam_...***free.fr> wrote: > Bonjour à tous > > Qui peut me dire s'il est possible de faire la somme de chiffres selon la > couleur de leur police ? > > Sans macro serait top > Par macro si impossible autrement > > Merci de m'éclairer > > CBR |
| |
| |
![]() |
| Tags: somme |
| Outils de la discussion | |
| Modes d'affichage | |
| |
| ||||
| Discussion | Auteur | Forum | Réponses | Dernier message |
| SOMME.PROD, SOMME.SI avec filtre | milloche | Newsgroup microsoft.public.fr.excel | 5 | 16/08/2008 14h58 |
| somme.si | marc | Newsgroup microsoft.public.fr.excel | 8 | 24/07/2008 21h21 |
| Re: SOMME.SI | michel263 | Newsgroup microsoft.public.fr.excel | 0 | 15/06/2008 10h06 |
| somme.si | jcp66 | Newsgroup microsoft.public.fr.excel | 2 | 19/05/2008 16h12 |
| Somme | Patrick | Newsgroup microsoft.public.fr.excel | 3 | 20/03/2008 19h31 |