Results 1 to 4 of 4
  1. #1
    joannakf is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    11

    Total Column Calculating Error

    I am trying to total two columns in a query.



    Column1: 5
    Column2: 2
    Total: [column1] + [column 2]

    It should come out as 7 but it is coming out at 52 so it is putting those 2 numbers together as if they were text. I change the properties of all of the columns to be numbers.

    Help please

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Try this:

    Total: Val(Nz([column1],0)) + Val(Nz([column 2],0))

  3. #3
    David04845 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2012
    Posts
    16
    Total : Sum([c1]+[c2])

    or click functions and click sum on the drop-down for the column

  4. #4
    joannakf is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    11
    Val(Nz([column1],0)) + Val(Nz([column 2],0)) worked!

    Thank you!

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

Similar Threads

  1. Calculating total values for groups in queries
    By Nixx1401 in forum Queries
    Replies: 7
    Last Post: 02-05-2012, 07:08 PM
  2. Replies: 2
    Last Post: 10-25-2010, 10:45 PM
  3. Replies: 8
    Last Post: 05-24-2010, 04:24 AM
  4. Replies: 7
    Last Post: 04-27-2010, 02:47 PM
  5. Need help with calculating Time total
    By Monoceros in forum Reports
    Replies: 1
    Last Post: 04-20-2009, 12:44 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