Re : Compter nombre de jours par année avec date debut et date de fin
Lol Modeste!!
Effectivement il suffit de prendre juste les jours federal.
Sim
[TABLE="width: 509"]
[TR]
[TD="width: 164, bgcolor: transparent"]
Jour de l'an
[/TD]
[TD="class: xl65, width: 514, bgcolor: transparent"]
=DATE(AN;1;1)
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]
Vendredi saint
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=PAQ-2
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 164, bgcolor: transparent"]
Paques
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=TRONQUE(DATE( AN;7;-CODE(STXT("NYdQ\JT_LWbOZeR]KU`";MOD(AN;19)+1;1)))/7)*7+8
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 164, bgcolor: transparent"]
lundi de Paques
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=PAQ+1
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 164, bgcolor: transparent"]
Ascencion
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=PAQ+39
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]
Pentecote
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=PAQ+49
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]
Lundi de pentecôte
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=PAQ+50
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 164, bgcolor: transparent"]
Fête nationale
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=DATE(AN;8;1)
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]
Jeûne genevois (1er jeudi de Septembre)
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=(1*7)+DATE(AN;9;1)-JOURSEM(DATE(AN;9;1)-4;2)
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]
Noël
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=DATE(AN;12;25)
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]
Restauration de la République
[/TD]
[TD="class: xl65, bgcolor: transparent"]
=DATE(AN;12;31)
[/TD]
[/TR]
[/TABLE]