Link to home
Start Free TrialLog in
Avatar of Gwynneth Taylor
Gwynneth TaylorFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Re: Microsoft Access Formula

Hi

Can someone please help me with the following formulas to avoid
#DIV/0!
#NUM!

=[FEV1]/[PredictedFEV1]
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
or something like this

=iif([PredictedFEV1]=0,0,nz([FEV1],0)/[PredictedFEV1])
Avatar of Gwynneth Taylor

ASKER

Excellent!  Fast response thank you.
some more suggestions:

=iif(a=0 or b=0, 0, a/b)
=iif(nz(a,0)=0) or nz(b,0)=0, 0, a/b)