Dividing by 0

S

SharonInGa

How do I replace the #Div/0 with a blank for records that do not have values
yet for the high field?


Low / High

364.8/ 10327 = 0.035324877
364.8 / 0 = #DIV/0!
 
J

John Spencer (MVP)

In the underlying query or in a calculation in the control's source? Basically,
you could use the expression

IIF(High = 0,Null,Low/High)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top