Truck net weight and bushels of grain calculations |
Top Previous Next |
This example demonstrates: •Interdependent formulas; for example, column D depends on the result calculated in column C, which depends on values from columns A and B. (Like any spreadsheet, FormCalc SST handles formula dependencies automatically.) •Using "dummy Items" for entering data on the invoice without recording income •Calculating Item quantities from other data entered on the same row •Protecting formulas from divide-by-zero errors •Totaling a column Calculate Net Weight and Bushels of Grain from Truck Loaded and Empty WeightsOverviewSchaaf Farms and Trucking, LLC is a multi-generation family business producing feeder cattle and grains—mostly corn, soybeans, and wheat—plus operating a trucking business. Over the past few years they have edged into producing specialty grains: organic soybeans and high-anti-oxidant grain sorghum for the health food market. Sales of the organic soybeans and grain sorghum are handled a lot differently than for generic, commodity grains. These specialty grains are delivered on contract to two small, regional food processing companies. Neither company's mill has a truck scale, so Schaaf's drivers have to weigh loads at a nearby public scale, drive to the mill to dump their grain, then drive back to the public scale to get a truck empty weight. Also, neither food company pays directly for the delivered grain; rather, Schaaf Farms has to invoice them for it. Along with each invoice they include copies of the scale tickets showing truck loaded and empty weights, plus calculations of the net weight and number of bushels on each load and the per-bushel contract price. Mary Schaaf does most of the operation's bookkeeping and follows these steps to do the (usually weekly) invoicing: 1.As she gets time during the day she calculates a net weight for each unrecorded scale ticket, using a calculator, and hand-writes the net weight on the ticket. 2.When it's time to send an invoice she gathers the scale tickets for the week (typically for one to three loads of grain) and uses a paper-tape adding machine to total the loads' net weights, then divides by the number of pounds per bushel to calculate the total number of bushels delivered. 3.She verifies the paper tape's numbers against the net weights written on the tickets, then staples the tape to copies of the scale tickets for sending along with the invoice. 4.She enters an invoice in QuickBooks for the total number of bushels at the contract price, and prints it out. 5.She mails the invoice to the food company along with the stapled-together scale tickets and paper tape. Someone told Mary she should be using an Excel spreadsheet for adding up the tickets and calculating bushels. But she doesn't feel comfortable with Excel and knows it would require printing out a separate, full-sized sheet of paper to send out with the invoices and scale tickets, so she has continued using the paper-tape adding machine. You tell her she could accomplish everything she does now by entering truck loaded and empty weights directly into QuickBooks as she prepares each invoice and let FormCalc SST do all the calculations. That would eliminate using the calculator and paper-tape adding machine and would have the added benefit of documenting each truckload of grain (loaded, empty, and net weights) directly on the invoice, making that information available to anyone who reviews the invoice. Mary gives you the go ahead to set this up for her. QuickBooks SetupMary already has QuickBooks Items set up to record income from grain sales: OrgSoybns These will also work as trigger Items for FormCalc SST's calculation of total net weight and total bushels. However, you need to set up a couple "dummy Items" (ones which don't record income) to use on the invoice lines where truck weights are entered—one dummy Item for each grain. Why two dummy Items? Because to calculate net bushels FormCalc SST will need the per-bushel weight of the grain being sold. When one of these dummy items is selected on an invoice you'd like that grain's per-bushel weight to appear on the same invoice line, to make it accessible to FormCalc SST. The easy way to have that happen is to add a custom field to the Items list—let's call it BuWt—then enter the appropriate per-bushel weight in that custom field for each dummy Item. Of course, you will also need to customize the invoice template to include the custom field. You will need several extra invoice columns for holding things like truck loaded and empty weights. You can use the two spare columns Other 1 and Other 2 for this purpose, but they won't be enough. To make another column available you will need to add yet another custom field, NetWt, for the net weight calculated for each truckload.
1.Add the two dummy Items to the Items list. 2.Define custom fields in the Item list, named BuWt and NetWt: 3.For each dummy Item, enter a per-bushel weight in the BuWt custom field.
4.Create a new Invoice template by copying the existing one and renaming it.
5.Customize the new Invoice template to include the necessary columns.
•Checkmark the BuWt and NetWT custom fields—the ones added to the Item list earlier. •Checkmark the Other 1 and Other 2 fields, renaming them LoadedWt and EmptyWt. •Rename the Quantity field to Bushels. (This template will only be used for specialty grain invoices, so that's OK.) •Renumber the Order as desired, to arrange columns as you want them on the invoice form. 6.Fill out the form as Mary normally would for one of the grains.
FormCalc SST Setup1.Select File > New from the main menu to start a new FormCalc SST file.
2.Take a snapshot of the QuickBooks form.
3.Assign column types on the Column types row, to identify the spreadsheet columns with their corresponding QuickBooks columns.
4.Format the NetWt cell to have no decimals, because truck weights are only recorded in whole pounds.
5.Likewise, format the Bushels (Quantity) cell to also have two decimals: 6.Enter a formula to calculate the NetWt: =G20-H20
7.Enter a formula to calculate Bushels: =IF(F20>0,I20/F20,0)
8.Type "OrgSoybns" in the Item column on the Item-triggered formulas 1 row.
9.Enter this formula In the NetWt column on the same row: =SUM(I1:I1)
=SUM(I26:I28)
10.Enter a similar formula in the Bushels column: =SUM(J1:J1)
=SUM(J26:J28)
11.Format the Bushels cell on the Item-triggered formulas 1 row, to have two decimals: 12.Enter similar formulas and formatting for the HASorghum Item, on the Item-triggered formulas 2 row.
13.Save the FormCalc SST file to prevent accidentally losing your changes. Processing a QuickBooks InvoiceTo verify that your FormCalc SST setup is working as desired, try processing the QuickBooks invoice you filled out earlier: To invoke form processing from FormCalc SST1.Press the Action button in FormCalc SST's main toolbar.
2.Click on the Process this QuickBooks form button to process the form. (See example results below.) To invoke form processing from from QuickBooks1.Press the FormCalc SST hotkey, which is F11 unless you have changed it in Preferences. The same Choose an action dialog as shown above will appear. 2.Process the form by either pressing the hotkey a second time (quickest for most users), or clicking on the Process the QuickBooks form button. ResultsThe invoice should look something like the following after processing, with the weights and bushels calculated as shown here. |