I saw a number of topics that were related via the search, but am still a little lost. I am trying to create the equivalent of a SumIf function in Excel. I am creating a hiring and salary management database for a summer camp. I have a weekly salary field and a series of Yes/No check boxes that are related to the weeks staff members will be available. I want to write an expression that says if the week 1 field = "Y", and the week 2 field = "Y", but the week 3 field = "N" then multiply the salary by 2 based on the 2 weeks of availability. I have tried using DSum, but I am running into the parameter value error. I'm not sure why, it is probably unrelated. Anyway, I was just curious if that was the best option or if I should be using a different function.
Thanks!