Results 1 to 2 of 2
  1. #1
    reldridge is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2012
    Posts
    1

    Grouping by certain qty.

    So i have this project that has been being done manually that I am wondering ways we could automate this.
    We have locations that we need to box a certain a qty of packages and ship. Based on the location we can put up to 4000 units to a box. I need to create a report that will show what is in each box up to the qty4000.



    Looking at the data below their would be 4 boxes, but i need to show what is in each box on the lable. Basically it would just say box 1 of 4, and then list out each line item in the box...

    Raw data for the project looks as below:

    IN_CARE_OF QUANTITY LOCATION CARD
    AIRPORT STATION 200 RACK AIRPORT STATION 1
    AIRPORT STATION 200 RACK AIRPORT STATION 4
    AIRPORT STATION 2000 RACK AIRPORT STATION 005/10
    AIRPORT STATION 200 RACK AIRPORT STATION 7
    AIRPORT STATION 1000 RACK AIRPORT STATION 8
    AIRPORT STATION 800 RACK AIRPORT STATION 9
    AIRPORT STATION 200 RACK AIRPORT STATION 11
    AIRPORT STATION 6000 RACK AIRPORT STATION 14

    I think the first step is to alter the records so no line item is over 4000 to be able to figure a way to group these up too 4000 in qty.
    If [QTY] > 4000 I need to duplicate the line item and adjust the quatity. So looking at the last item would change to:

    AIRPORT STATION 4000 RACK AIRPORT STATION 14
    AIRPORT STATION 2000 RACK AIRPORT STATION 14

    Can this be done with a macro in Access or maybe even Excel?

    Then I have been running test trying to figure out how to also group these by 4000, maybe using a percentage colume (Qty / 4000) and then a sum of all percentages divided by 4000 to get the # of boxes?

    Thanks
    Ryan.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    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. Help with grouping
    By RachelBedi in forum Queries
    Replies: 1
    Last Post: 11-05-2012, 12:55 PM
  2. Grouping
    By greg2725d in forum Reports
    Replies: 7
    Last Post: 09-29-2011, 10:00 AM
  3. Grouping
    By EricF in forum Reports
    Replies: 5
    Last Post: 07-18-2011, 03:58 PM
  4. Grouping By Age
    By xnixiel in forum Queries
    Replies: 1
    Last Post: 07-01-2010, 09:14 AM
  5. Grouping
    By dref in forum Reports
    Replies: 1
    Last Post: 01-16-2010, 08:30 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