tableau récapitulatif par formule complexe

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Pas trés habile mais:

Excel 2013
ABCDEFGH
DupontEleonoreDurandDupontLucasAlphonse
SylvieDupontDurandDupontEleonore
GertrudeCharlotteJudithDupont
DupontAlphonseDurandGertrudeCharlotteLucas

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFC000, align: center"]histoire[/TD]
[TD="bgcolor: #FFC000, align: center"]géographie[/TD]
[TD="bgcolor: #FFC000, align: center"]maths[/TD]
[TD="bgcolor: #FFC000, align: center"]français[/TD]
[TD="bgcolor: #FFC000, align: center"]anglais[/TD]
[TD="bgcolor: #FFC000, align: center"]lecture[/TD]
[TD="bgcolor: #FFC000, align: center"]Nb[/TD]

[TD="align: center"]4[/TD]
[TD="bgcolor: #FFC000, align: right"]Mon/01/06[/TD]

[TD="align: right"]6[/TD]

[TD="align: center"]5[/TD]
[TD="bgcolor: #FFC000, align: right"]Tue/02/06[/TD]

[TD="align: right"]5[/TD]

[TD="align: center"]6[/TD]
[TD="bgcolor: #FFC000, align: right"]Wed/03/06[/TD]

[TD="align: right"]4[/TD]

[TD="align: center"]7[/TD]
[TD="bgcolor: #FFC000, align: right"]Thu/04/06[/TD]

[TD="align: right"]6[/TD]

[TD="align: center"]8[/TD]
[TD="bgcolor: #FFC000, align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]9[/TD]
[TD="bgcolor: #FFC000, align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]10[/TD]
[TD="bgcolor: #FFC000, align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]11[/TD]
[TD="align: right"][/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"][/TD]

</tbody>
récapt

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: #efebe6"]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: #efebe6"]H4[/TH]
[TD="align: left"]=COUNTIF(B4:G4,"?*")[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"][/TH]
[TD="align: left"][/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"]B11[/TH]
[TD="align: left"]=COUNTIF(B4:B10,"?*")[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"][/TH]
[TD="align: left"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Array Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: #efebe6"]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: #efebe6"]B4[/TH]
[TD="align: left"]{=IF(ROWS(B$4:B4)>COUNTA(planning!B$6:B$14),"",INDEX(planning!$A:$A,SMALL(IF(planning!B$6:B$14>0,ROW(planning!B$6:B$14)),ROWS(B$4:B4))))}[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"][/TH]
[TD="align: left"][/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"]B5[/TH]
[TD="align: left"]{=IF(ROWS(B$5:B5)>COUNTA(planning!H$6:H$14),"",INDEX(planning!$A:$A,SMALL(IF(planning!H$6:H$14>0,ROW(planning!H$6:H$14)),ROWS(B$5:B5))))}[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"][/TH]
[TD="align: left"][/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"]B6[/TH]
[TD="align: left"]{=IF(ROWS(B$6:B6)>COUNTA(planning!N$6:N$14),"",INDEX(planning!$A:$A,SMALL(IF(planning!N$6:N$14>0,ROW(planning!N$6:N$14)),ROWS(B$6:B6))))}[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"][/TH]
[TD="align: left"][/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"]B7[/TH]
[TD="align: left"]{=IF(ROWS(B$7:B7)>COUNTA(planning!T$6:T$14),"",INDEX(planning!$A:$A,SMALL(IF(planning!T$6:T$14>0,ROW(planning!T$6:T$14)),ROWS(B$7:B7))))}[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: #efebe6"][/TH]
[TD="align: left"][/TD]
[/TR]
</tbody>[/TABLE]
Entered with Ctrl+Shift+Enter On a PC or Command+Return on a MAC. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0
Waouwwww !!

UN très grand merci, ça fonctionne super !!! :)

Many many thanks

Patrick

Content de savoir que cela vous satisfait, et Merci pour votre retour d' information.
Cheers.
 
Upvote 0
:)

Pensez vous possible d'inverser ça si le tableau avec le planning est dans l'autre sens donc pas A4:Y5 mais A4:B28 ?
Les dates seront plus nombreuses que les matières et personnes ...

Merci

Patrick
 
Upvote 0
re bonjour,

je tente de modifier ça en mettant les dates en colonne A , les matières en colonne B pour l'onglet "récapt"; après 6h de recherche, je ne trouve pas... :mad:

https://www.dropbox.com/s/spmg2bisp6b78jw/Copie_Ecran015.jpg?dl=0

Je demande ceci car les dates seront sur une année scolaires + nombreuses que les matières ou les élèves de la classe; le tableau serait donc plus lisible dans cette forme.

ps: comment faire pour poster une image avec mon message ?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top