Build a Self-Updating Excel Invoice & Tracker (Free Template)
MyOnlineTrainingHubMay 6, 202526 min104,561 views
25 connectionsΒ·39 entities in this videoβSetting Up the Invoice Template
- πΎ Save the file as an Excel Macro Enabled Workbook (.XLSM) to enable automation.
- π¨ Format the invoice area with a pale gray shade and add a bold, right-aligned heading.
- π’ Input company details and essential invoice information, including invoice number, date (using TODAY function), and due date.
- π¦ Create an invoice items table with columns for Product Code, Description, Quantity, Unit Price, Discount, and Price, formatted using Ctrl+T.
- π° Calculate the price using a formula:
Quantity * Unit Price * (1 - Discount), rounded to two decimal places. - π« Apply custom number formatting to hide zero values in the price column for a cleaner look.
- π Add subtotal, tax, and total fields, ensuring the total amount is correctly referenced and formatted as currency.
Automating Invoice Tracking
- π Rename the invoice sheet to 'Invoice' and create a new sheet named 'Tracker'.
- π Set up tracker columns for Invoice, Date, Due, Amount, Customer, and Paid Status, formatted as a table.
- β Insert checkboxes in the 'Paid Status' column for easy tracking (or use data validation).
- βοΈ Enable the Developer tab in Excel by right-clicking the ribbon and selecting 'Customize Ribbon'.
VBA Macros for Automation
- π» Open the Visual Basic editor from the Developer tab to write macros.
- π Create a
Record Invoicemacro to copy invoice details to the tracker table. - β‘οΈ Declare variables for invoice number, dates, amount, customer, sheets, and the table object.
- π Set worksheet and table objects using their VBA object names (e.g., Sheet1, Sheet2, 'Invoice Tracker').
- βοΈ Read values from the invoice sheet (e.g., G9 for invoice number, G10 for date) and assign them to variables.
- π Determine the target row in the tracker table to write the data, handling cases where the table is empty or has existing rows.
- π€ Write the captured invoice data to the appropriate cells in the tracker table.
- βοΈ Display a confirmation message like 'Invoice recorded' upon successful data transfer.
- π Create a
Reset Invoicemacro to clear the invoice form and prepare for a new entry. - π’ Increment the invoice number in cell G9 by one.
- π§Ή Clear contents of the invoice items table (Product Code to Discount) and the 'Bill To' section (G14 to G18).
- βΆοΈ Assign macros to buttons (shapes) on the invoice sheet for easy execution of 'Record Invoice' and 'Reset Invoice' functions.
Enhancing the Tracker
- π¨ Apply conditional formatting to the tracker table to highlight overdue invoices.
- β οΈ Set a rule using the
ANDfunction: if 'Paid Status' is not 'True' AND 'Due Date' is less than today's date, format the row in a shade of pink. - π Utilize filter buttons on the tracker table to sort and analyze data by customer, date, or payment status.
- π Download the free template from the video description or explore advanced Excel automation techniques in related videos.
Knowledge graph39 entities Β· 25 connections
How they connect
An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.
Hover Β· drag to explore
39 entities
Chapters11 moments
Key Moments
Transcript97 segments
Full Transcript
Topics14 themes
Whatβs Discussed
ExcelInvoice TemplateInvoice AutomationExcel TutorialMacro Enabled WorkbookVBAExcel MacrosInvoice TrackerConditional FormattingData ValidationFormulasTablesPrint AreaPage Setup
Smart Objects39 Β· 25 links
ConceptsΒ· 26
MediasΒ· 5
ProductsΒ· 7
LocationΒ· 1