Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to create running total in an Excel Table
  • Get column index in Excel Table
  • How to count table columns in Excel
  • Excel Pie Chart
  • Example of COUNTIFS with variable table column in Excel

References

  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Two-column Lookup in Excel
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel VLOOKUP Function
  • Find closest match in Excel

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation no punctuation
  • Excel Data validation allow weekday only
  • Excel Data validation must contain specific text
  • Excel Data validation must not contain

How to generate Automated Invoices in Excel

by

This article describes how to automate the generation of invoices in Excel.

This is what the spreadsheet looks like. If you select a Client nr from the drop-down list in cell E6, Excel automatically fills in the client information. If you select a Product nr from one of the drop-down lists in cells A13 through A31, Excel automatically fills in the product information.

Below we’ll explain how we automated the entry of the product information. The same tricks have been used for the client information.

1. On the Products sheet, type the product information.

2. On the Invoice sheet, select cells A13 through A31.

3. On the Data tab, in the Data Tools group, click Data Validation.

4. In the Allow box, click List.

5. Click in the Source box and select the range A2:A5 on the Products sheet.

6. Manually change the 5 to 1048576 (or any other large number) to include more cells. Now you can add as many new products as you want.

7. Click OK.

8. Select cell B13 and enter the formula shown below.

Explanation: If cell A13 is empty, the formula returns an empty string. If not, the VLOOKUP function looks for the Product nr (1001) in the leftmost column of the range $A:$C (columns A to C) on the Products sheet, and returns the value in the same row from the second column (col_index_num is set to 2).

9. Select cell C13 and enter the formula shown below.

Explanation: This formula is almost the same as the previous formula. This time it returns the value in the same row from the third column (col_index_num is set to 3).

10. Select cell E13 and enter the formula shown below.

Explanation: If cell A13 is empty, the formula returns an empty string. If not, it returns the product of Price and Quantity.

11. To copy the formulas to the other cells, select the range B13:E13 and drag it down to row 31. Use the Format Painter to restore the formatting.

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Excel If, Nested If, And/Or Criteria Examples
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function example in Excel

Date Time

  • Generate series of dates by weekends in Excel
  • How to get same date next month or previous month in Excel
  • DAYS function: Description, Usage, Syntax, Examples and Explanation
  • Get days, months, and years between dates in Excel
  • Calculate number of hours between two times in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group arbitrary text values in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign people to groups in Excel
  • Categorize text with keywords in Excel

General

  • Share Excel data with Word documents
  • Zoom Worksheet in Excel
  • Create dynamic workbook reference to another workbook in Excel
  • Using Existing Templates in Excel
  • With vs Without Array Formula in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning