How to Create a Sales Report in Excel (6 Easy Steps)

Let’s create a sales report for a mobile shop by using three different datasets as shown below:

Make Sales Report in Excel


Step 1: Retrieve Product Name from the Product List

  • Start by working with a dataset that contains a list of products along with their Product Codes, Names, and Unit Prices.
  • The goal is to calculate daily sales based on this data.

  • Additionally, there’s another data table for calculating total sales over the entire month.

  • Collect data from the daily sales transaction table to determine the total monthly sales.

  • To find the product name for a specific day:
    • Select cell E7 where you want to apply the formula.
    • Enter the following formula:
=VLOOKUP(D7,$B$20:$D$24,2,FALSE)
    • The VLOOKUP function searches for the product code in a column and returns the corresponding product name.

Get Product Name from Product List

  • Press Enter to calculate the product name for that day.
  • Drag down the Fill handle to populate the results in all the cells.

Get Product Name from Product List

This way, you can retrieve the names of all products sold on a particular day using the VLOOKUP formula.


Step 2: Determine Unit Prices in the Sales Report

  • To calculate the unit price for each product:
    • Select cell G7.
    • Apply the following formula:

=VLOOKUP(D7,$B$20:$D$24,3,FALSE)

    • This formula retrieves the unit price associated with the product code.

Find Out Unit Price in Sales Report

  • Press Enter to complete the calculation.
  • Drag down the Fill handle to copy the formula and get the unit prices for all products.

Find Out Unit Price in Sales Report

Now you have the unit prices for each product sold every day.


Step 3: Calculate Total Sales for the Day

  • To find the total sales for a single day:
    • Select cell H7.
    • Use the formula:
=G7*F7
    • Multiply the unit price (G7) by the quantity sold (F7).

Calculate Total Sales of the Day

  • Press Enter to get the total sales for that day.
  • Drag down the Fill handle to extend the calculation for other dates.

Calculate Total Sales of the Day

As a result, you’ll have the total sales for each day, which can be useful for daily reporting.

Read More: Create a Report That Displays Quarterly Sales in Excel


Step 4: Compute Monthly Sales for a Single Product in Excel

  • To get an overview of the sales report, follow these steps:
    • Select cell G21 (where you want to display the product names for the month).
    • Enter the formula:

=VLOOKUP(F21,$B$20:$D$24,2,FALSE)

    • This formula retrieves the product name based on the product code in cell F21.

Calculate Monthly Sales of a Single Product in Excel

  • Press Enter to display the product name.
  • Drag down the Fill handle to populate the product names for the entire month.

Calculate Monthly Sales of a Single Product in Excel

And there you have it! You’ve calculated the monthly sales for a single product in Excel.


Step 5: Calculate the Total Quantity of Products Sold

  • To determine the total quantity of products sold in the month, follow these steps:
    • Select cell H21 (where you want to display the total quantity).
    • Enter the following formula:
=SUMIF($D$7:$D$16,F21,F7:F16)
    • The SUMIF function adds up the values in the range F7:F16 that correspond to the product code in cell F21.

Get Total Quantity of Products Sold

  • Press Enter to calculate the total quantity sold for that product.
  • Drag down the Fill Handle to extend the calculation for other products.

Get Total Quantity of Products Sold

Now you have the total quantity sold for each product in the month.

Read More: Create a Report that Displays the Quarterly Sales by Territory


Step 6: Calculate Total Sales to Complete the Sales Report

  • Let’s finish up by calculating the total sales amount for the entire month:
    • Select cell I21 (where you want to display the total sales).
    • Apply the following formula:
=SUMIF($D$7:$D$16,F21,H7:H16)
    • This formula sums up the sales amounts (in column H) for the product code in cell F21.

Calculate Total Sales to Complete the Sales Report

  • Press Enter to get the total sales amount.
  • Drag down the Fill handle to populate the total sales for other products.

Calculate Total Sales to Complete the Sales Report

And there you have it! You’ve successfully completed your sales report, including both the total quantity sold and the total sales amount for the month.

Read More: How to Make MIS Report in Excel for Sales

 

Things to Remember

  • Handling #N/A Errors:
    • Occasionally, you might encounter an #N/A error when using the VLOOKUP formula. This error occurs when the formula cannot find the value it has been asked to look up.
    • Double-check your data and ensure that the lookup value exists in the specified range. If not, the formula will return #N/A.
  • Lookup Direction:
    • The VLOOKUP function always searches for values from left to right. Keep this in mind when organizing your dataset.
    • Place the lookup value (the value you want to find) in the leftmost column of your data range. This ensures accurate lookups.
  • Using Absolute References ($) for Cell Ranges:
    • When defining cell ranges in your formulas, use absolute references (indicated by the $ symbol) to keep the range fixed.
    • Absolute references prevent the range from changing when you copy the formula to other cells.

 

Download Practice Workbook

You can download the practice workbook from here:

 

Related Articles

 

<< Go Back to Report in ExcelLearn Excel

Get FREE Advanced Excel Exercises with Solutions!
Wasim Akram
Wasim Akram

Wasim Akram holds a BSc degree in Industrial and Production Engineering from Ahsanullah University of Science and Technology. Over the past 2 years, he has been actively contributing to the ExcelDemy project, where he has authored more than 150 articles. Now, he is working as an Excel VBA and Content Developer. He likes learning new things about Microsoft Office, especially Excel VBA, Power Query, Data Analysis, and Excel Statistics. He is also very interested in machine learning and... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo