Non Zero Formula

  • Thread starter Thread starter ladybug via AccessMonster.com
  • Start date Start date
L

ladybug via AccessMonster.com

I have a report that has a field =[Target]/[TotalErrors]

I want if Target equals a positive # and total Errors equals 0 1000% is
returned.

How do I change my field to capture this. Currently I am returned in error
if this occurs.
 
=IIF([TotalErrors]=0,10,[Target]/[TotalErrors])

I have a report that has a field =[Target]/[TotalErrors]

I want if Target equals a positive # and total Errors equals 0 1000% is
returned.

How do I change my field to capture this. Currently I am returned in error
if this occurs.
 
=IIF([TotalErrors] <> 0,[Target]/[TotalErrors],10)

this presumes that your field is formatted as Percent. 10 will then give you
1000%.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 

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

Similar Threads

Access 1
Excel Need Countifs Formula Help 0
Non Zero 9
Union Query Not work 4
Formulas Still Not Working 5
IIF range statement 3
Excel Multiple Excel logical tests 1
Supressing a #VALUE! error returned? 3

Back
Top