Results 1 to 5 of 5
  1. #1
    BoatsinAccess is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    3

    Weight Estimating for Ships - Suggestions on how to create a Weight Distribution

    Hello,




    I design ships and as a part of that create weight estimates during the design phase. Currently, the weight estimates are completed in Excel but i am wondering if Access can be used instead.


    The input that we enter into the estimate includes:
    the name of the item
    the type
    the weight
    the longitudinal center of gravity (fore and aft)
    the transverse center of gravity (side to side)
    the vertical center (up and down)
    the aft extent of the weight
    the forward extent of the weight


    This information can all be added stored and reported on in Access easily enough.


    My question relates to something called a longitudinal weight distribution which is essentially a calculation of the weight of the vessel at a given location along its length. In excel this is done in a large table that has a column for every frame of the ship and a row for each weight item. A calculation is done to determine the weight per frame (Weight / (Forward Extent - Aft Extent)) and then using if statements, the weight per frame, for a given item, is applied in a given column (frame), if that frame is between the forward and aft extent of the weight. All the weights in each column are then summed to give a weight/frame for all the weight items in the estimate. The resultant is a table that has only the total weight per frame for each frame.


    My question is how could this sort of thing be best accomplished in Access. Essentially, i want a seperate table in access to be the longitudinal distribution table and it should only have a column titled "Frame" and a column titled "FrameWeight". I am just not sure if it is possible / how best to do the calculation to get from data table to this distribution table? Any help would be really appreciated.

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    Could you upload a sample Excel file so we could get a better idea? From what you're saying you don't need a "distribution" table as it is calculated from the "data" table, that should be done in a query (or series of queries) and presented in a report.

    Cheers,
    Vlad

  3. #3
    BoatsinAccess is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    3
    Thanks for your response, Vlad. Attached is a simple mock up in excel. The grey is the inputs. The blue w/conditional formatting is where the weights are assigned to frames (formulas should be easy to follow) and then the green bit sums the table above and is what I want to figure out how to calculate in Access.

    Sample Long. Distribution.zip

  4. #4
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    Here it is, have a look and see if that was what you wanted. Once the crosstab is open click on the Totals in the Home ribbon and you should get your data summary similar to your Excel.

    Cheers,
    Vlad
    Attached Files Attached Files

  5. #5
    BoatsinAccess is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    3
    Thanks Vlad! That is great. Certainly shows me a good way to accomplish the task.

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

Similar Threads

  1. Help creating weight calculator
    By mindbender in forum Forms
    Replies: 11
    Last Post: 09-21-2018, 10:34 AM
  2. Calculating Average Weight - Broken SUM
    By redekopp in forum Access
    Replies: 13
    Last Post: 04-12-2017, 09:04 AM
  3. Replies: 5
    Last Post: 01-21-2016, 02:52 PM
  4. calculate total weight from subform
    By msasan1367 in forum Access
    Replies: 1
    Last Post: 08-05-2013, 12:06 AM
  5. Setup a field to Total Weight in My Report
    By Triland in forum Access
    Replies: 2
    Last Post: 01-25-2013, 02:11 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