Results 1 to 4 of 4
  1. #1
    Alphix is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    61

    Not able to calculate total when one field box is blank????

    time calculatorREV3.zip

    Hello, I have tried to calculate the total in field box D when A, B has data and C has not data.

    In short how do I calculate when one data box is empty?




    Please help.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Sounds like you need the Nz() function:

    Nz(Field1, 0) + Nz(Field2, 0)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Alphix is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    61
    Thanks, that did the trick.

    I have much to learn.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 10-10-2014, 02:39 PM
  2. calculate total weight from subform
    By msasan1367 in forum Access
    Replies: 1
    Last Post: 08-05-2013, 12:06 AM
  3. sum blank cells into query total
    By Orozvik in forum Queries
    Replies: 1
    Last Post: 05-24-2013, 01:25 PM
  4. Replies: 3
    Last Post: 10-11-2012, 10:12 AM
  5. How to Calculate this Grand Total
    By TWD in forum Reports
    Replies: 2
    Last Post: 01-13-2012, 11:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums