Can I use the sum and if functions together

D

Doris Morris

In my report I would like to sum the number of hotels if the owner type is
"F" and the project type is "New Build" I tried the following but it did not
work. Is there a way to make this work?

=Sum([hotels])IIf([owner type] = "F" and [project type] = "New Build))
 
Top