Download
Description | Size | Download |
---|---|---|
The template works with both the Microsoft Store edition and the desktop edition of the app. Make sure you have installed one of them. How to use:
| 420 KB | Download |
License: Private Use (not for distribution or resale). See our Terms of Use.
Detail
This form adds a custom field to calculate and store the total quantity on an invoice, and then add this information to the sales report.
- First, make sure you have created a backup copy of the template.
- Open the template.
- Click "Invoices" on the ribbon tab.
- Click "Custom Fields" on the toolbar to open the "Custom Field Manager" dialog box.
- Make sure "Database Table" is showing "Invoice Header".
- Click "Add Field" to open the "Add New Custom Field" dialog box.
- Define a new field as the following:
- Field Name: TotalQuantity
- Type: Decimal
- Precision: 10
- Scale: 2
- Click "OK" to create the new field.
- Close all dialog boxes and return to the Excel sheet.
- Switch to design mode by clicking the "Design Mode" button on the ribbon.
- Click the cell where you want to place the total quantity. In this example, we choose $I$34, i.e., the cell below the "Quantity" column.
- Enter the formula to calculate the sum of the quantities:
=sum(oknQuantity_1:oknQuantity_12)
- On the formula bar, click to activate the name box located at the left end and enter the cell name "oknTotalQuantity".
Next, we add this field to the sales report.
- First, click and activate the "Sales Report" worksheet.
- Click the cell with the text "Balance Due".
- Click "Format Painter" in Excel's "Home" ribbon tab.
- Click the cell next to "Balance Due", i.e., $R$11. This copies the format of the "Balance Due" cell to $R$11 to make it look like a report heading.
- In the name box of the formula bar, enter the cell name "oknRsTotalQuantity".
- Enter the label of this column, "Total Quantity".
- Click and activate the "Invoice" worksheet.
- Click "Design Mode" on the ribbon to exit design mode.
- Save the template.
Now the form calculates the total quantity for each invoice, and when you create a new sales report, the total quantity of each invoice is retrieved and shown.
Format and Specification
Template# | c4103 |
Belongs to | |
Format (XLS or XLSX) | .xlsx |
Columns | 4 |
Lines | 12 |
Line Height (Points) | 18.00 |
Print Area | $D$2:$K$46 |
Papaer Orientation | Portrait |
Default Margins (Points) | |
Left | 22.68 |
Right | 22.68 |
Top | 45.35 |
Bottom | 45.35 |
Price | Free |