Results 1 to 4 of 4
  1. #1
    peacepower is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Posts
    3

    Sum data


    Hi,
    I need to sum the following:
    Weight and Cost.
    I only want to sum it when there is a shipment number associated with the weight and the cost. It means that I have more than one shipment when I have a shipment number.
    If there are no numbers the cells are not blank but there is an _. If that’s the case they should stay the same (I don't need to sum up) as _ indicate only one shipment.
    How can I get this solved?
    Thanks a lot for the help.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,623
    Need to know table structure. Show example data. Sounds like should be a simple SELECT with aggregate calcs and filter criteria.

    Build a report with Grouping & Sorting and aggregate calcs.

    What field has an _? Number type fields cannot have non-numeric characters.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    peacepower is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Posts
    3
    Hi June7,
    Thanks for taking the time to look at this. I will give it a try and look at aggregate calcs. basically all it is is this, I want same MBOL #s on one line (these are fields examples)
    BOL 1788771 1788779 1788332
    MBOL _ 123 123 -> MBOL has a _ is this going to be a problem.
    Then each one would have a value so i want cell 2 and 3 below combined.
    TOT WGT 36 204 288

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,623
    Still not making sense to me. BOL and MBOL are field names? How do shown numbers result in TOT WGT 36 204 288?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 4
    Last Post: 01-05-2011, 07:56 AM
  2. Find data, load data, and save as a new record
    By hawzmolly in forum Access
    Replies: 0
    Last Post: 10-05-2008, 03:18 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