Computer Learning Zone CLZ Access Excel Word Windows

Every kid starts out as a natural-born scientist, and then we beat it out of them. A few trickle through the system with their wonder and enthusiasm for science intact.

-Carl Sagan
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Calculations
Mitchell Ellebrecht 

3 years ago
Hi, I created a query for my portfolio management practice that produces each account and the total amount of Money Markets, Tbills and cash equivalents each client has in their account. Some clients don't own all three, so this leaves a blank space in the query. I am trying to add these three totals together to get a total "cash" value they are holding. When I tried adding them, the ones with blank spots wouldnt add but the rest worked. I used the IIF(IsNull(Field),"0",Field) to produce zeros in the blank spots. But now when I go to add them together it produces something extremely weird. I am entering it by Total: [Field1]+[Field2]+[Field3] and it seems to not be doing math and producing a number that has nothing to do with the fields its supposed to be adding. Does anyone have an idea of what could be going wrong?
Kevin Robertson  @Reply  
          
3 years ago
Use the NZ Function.

Total: Nz([Field1]) + Nz([Field2]) + Nz([Field3])

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor 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/9/2026 1:28:20 PM. PLT: 1s