I have the followinf formula listed below and I am receiving the message: "The expression you entered contains invalid syntax. You may have entered an operand without an operator." I am not sure exactly where is the problem. Any help would be greatfull. This is in a report and I need this to be a conditional running sum that figures for each quarter and starts over at each quarter.
=DAvg("[Strght Avg Abdn%] ","[Service Guarentee Daily QRY]","Date Between #" & DateAdd("d",Datediff("d",if("d",if(month[date]<4,dateserial(year[date],1,1),if(month[date]<7,dateserial(year[date],4,1),if(month[date]<10,dateserial(year[date],7,1),dateserial(year[date],10,1))),[Date]) & "# AND #" & [Date] & "#")
Thank you