Trying to get this expression to work to add up the results of 3 Exams and find the average but I want it to take into account if one of the exams has a value of Null and only divide by 2 then for the average. It keeps telling me I have the wrounf number of arguements :
IIf([MCQ] = Null,(Int([Project])+Int([Exam]))/2, (Int([Project])+Int([Exam])+Int([MCQ]))/3,
IIf( [Exam] = Null, (Int([Project])+Int([MCQ]))/2, (Int([Project])+Int([Exam])+Int([MCQ]))/3,
IIf( [Project] = Null,(Int([MCQ])+Int([Exam]))/2, (Int([Project])+Int([Exam])+Int([MCQ]))/3)))
Any help would be greatly appreciated.