Hi CJ,
thanks for the reply, the code i used which may be wrong was
=Sum(IIf([TblComponents]![Kitchen]="[YB]",[TblComponents]![Kitchen Cost],0))
YB relates to the name of the year box where the data would be entered, which I am trying to look up, as the year may change I wouldn't want to...