Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Converting 0 to 1000
Redina Hibbs 

2 years ago
Good morning,
My boss has asked me to figure out how to change a 0 value in a calculated field to <1000. I created a database to track and report on lab test results. When we enter a 0 result it really should be <1000 as that is more accurate in the realm of lab work. Is this possible? I've been trying to get an IFF expression to work but nothing. I even tried using the conditional format option with no success.
Redina Hibbs OP  @Reply  

2 years ago

Redina Hibbs OP  @Reply  

2 years ago
Example of one of our reports. We want to show this 0 as <1000.
Kevin Robertson  @Reply  
          
2 years ago
Please show us your IIF function so we can see where you may be going wrong.
Redina Hibbs OP  @Reply  

2 years ago
IIf([PI2]>0,[PI2]*1000,0)

I had to put the 0 there because it kept giving me a syntax error. But I want the 0 to be a <1000.
Kevin Robertson  @Reply  
          
2 years ago
X: IIf([P12]>0,[P12],"<1000")
Redina Hibbs OP  @Reply  

2 years ago
It worked!!!! Thank you!
Redina Hibbs OP  @Reply  

2 years ago
Hello!
Thank you for all your help earlier. I have 2 additional questions.
1: My expression works but I've now lost the commas for the numbers. Is it possible to fix this?
2: My boss now wants me to have it show the H2O Dilution as <1. So, my question is it possible to add a 2nd IIF expression 1 for the H2O as <1 and everything else as <1000? Or do I need to separate the H2O from the rest of the results and give it its own IFF expression?
Here is my current Exp in my query.

P: IIf([PI]>0,[PI]*1000,"<1000")

Thank you for any assistance you can provide.
Richard Rost  @Reply  
          
2 years ago
1. Use the Format function on the result.
2. Sure. Just use nested IIF functions.

I cover both of these things in a couple of different videos, but I'm on the road right now so I can't search for the links for you - but use the search bar up top.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 5:28:01 PM. PLT: 1s