= Table.AddColumn(Indexation, "Date fin", each if (try Date.AddDays([date],1)=Indexation[date]{[Index]+1}and [Martcule]=Indexation[Martcule]{[Index]+1} and [#"Type d'absence"]=Indexation[#"Type d'absence"]{[Index]+1} otherwise [date])=true then null else [date],type date)