I'm very new to access but am running a report that I have tried for hours to try and correct but have not been able to solve the problem. My function is as follows:
=Sum([Pos Cultures 1])/Sum([Total Samples 1])
However sometimes Sum([Pos Cultures 1]) and Sum([Total Samples 1]) are equal to 0. I know that 0/0 will always return the #Num! because you can't divide 0 by 0. What can I do to get the result to be 0 if this is the case? I have tried several IIf expressions but can't figure it out. Also I don't know if this makes it any harder but this is supposed to give me a fraction to the 2nd decimal place (ex 1.00%).
Let me know if I did not provide enough info. Again I am new so please be gentle.