Results 1 to 2 of 2
  1. #1
    trident is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    141

    sum of 2 columns not appearing since 1 is blank

    I have a table with the following information
    Staff Inv Date Amount Int/Ext
    A Jul 1 2017 200 I
    A Jul 2 2017 300 I
    A Jul 1 2017 100 E
    B Jul 3 2017 100 I
    B Jul 4 2017 100 I
    B Jul 5 2017 150 I
    C Jul 1 2017 50 E
    C Jul 2 2017 100 E
    C Jul 3 2017 100 E

    Based on this table, I made a query to group together Int/Ext and Staff, and their Totals
    Staff Internal External Total
    A 500 100 600
    B 350
    C 250



    As you can see, there are no totals on row B and C, as there is a blank space. How can I total the B and C, even if it is blank and not zero.

    Thank you again for the assistance.

    Trident

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    I believe you should look into the Nz() function.

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

Similar Threads

  1. Border not appearing on blank fields - Report
    By jmitchelldueck in forum Reports
    Replies: 1
    Last Post: 08-26-2015, 08:15 AM
  2. Replies: 1
    Last Post: 05-20-2015, 01:30 PM
  3. Replies: 17
    Last Post: 06-10-2013, 06:49 AM
  4. Replies: 3
    Last Post: 04-10-2012, 02:36 PM
  5. Primary key multiplynig in blank columns
    By desiinusa123 in forum Queries
    Replies: 0
    Last Post: 03-12-2009, 04:29 PM

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