Hi
I am trying to compare a 'work start date' (first column) against the last spend entry in an annual profile, in the case below its 'Prior years spend'. This is to show whether the 'work start date' is before or after the last annual profile spend entry. Basically its a logic check as 'start of works' should not be after the last annual profile spend entry. In the case below, the entry is wrong as start of works is in 2034 while last spend is prior to 2023/24. I am using Index Match within an If as follows, and then concatenate a message but always get an #N/A;
=if(INDEX('3. Planned Investment'!$2:$2,MAX(IF('3. Planned Investment'!AD8:AP8<>0,COLUMN('3. Planned Investment'!AD8:AP8),"Prior Years' Spend (£m)",concatenate("As last profile is Prior Years' Spend, CHECK against ", TEXT('3. Planned Investment'!Z8,"DD/MM/YYYY"),"")))))
Be really grateful for any help on this as cant seem to solve it!
Cheers
Andy
I am trying to compare a 'work start date' (first column) against the last spend entry in an annual profile, in the case below its 'Prior years spend'. This is to show whether the 'work start date' is before or after the last annual profile spend entry. Basically its a logic check as 'start of works' should not be after the last annual profile spend entry. In the case below, the entry is wrong as start of works is in 2034 while last spend is prior to 2023/24. I am using Index Match within an If as follows, and then concatenate a message but always get an #N/A;
=if(INDEX('3. Planned Investment'!$2:$2,MAX(IF('3. Planned Investment'!AD8:AP8<>0,COLUMN('3. Planned Investment'!AD8:AP8),"Prior Years' Spend (£m)",concatenate("As last profile is Prior Years' Spend, CHECK against ", TEXT('3. Planned Investment'!Z8,"DD/MM/YYYY"),"")))))
Be really grateful for any help on this as cant seem to solve it!
Cheers
Andy
Last edited by a moderator: