Excel Practice & Exercises with SUMIF Function

This article contains 7 practice exercises for the Excel SUMIF function. You will need a basic understanding of accounting and Excel to solve all the problems. Additionally, you should know the following: the SUMIF function, SUMIF with multiple criteria, use SUMIF across multiple columns, use SUMIF with text, use SUMIF with date range, use SUMIF with OR logic, use the Fill Handle, ways to AutoFill the formulas, use custom cell formatting, Excel VBA, enable developer tab, and adjust background cell color features to find solutions to the problems. You can use any version of Excel to solve the problems.


Download Practice Workbook

You can download the Excel file from the following link.


Problem Overview

Each problem has a distinct dataset. The “Problem” sheet shows the exercises, and the “Solution” sheet shows the problems worked out. The following image shows the dataset of this article. Additionally, you can press Alt+F11 to bring up the Excel VBA window to use the code.

Problem Overview

  • Exercise 1 – SUMIF Greater Than Criteria: In this first exercise, your task is to find the total cost of the products sold that cost more than $1,000.

The following animated image shows the solution to the first problem. We have hidden some columns for better visualization.

  • Exercise 2 – Set Cell Value as Criteria: Repeat the first problem, this time using the cell reference as the criteria.
  • Exercise 3 – Total Selling Price per Sales Rep: Calculate the sales generated by both Ben and Jacob.
  • Exercise 4 – Implementation of Wildcard Character: Find the total selling price of the brands that start with the alphabet A.
  • Exercise 5 – OR Criteria with SUMIF Function: Calculate the total selling price of the brand from Sony or Acer.
  • Exercise 6 – Profit Earned for the Month of July: Find the total profit for the month of July.
    • Hint: Profit = Selling Price – Cost Price
  • Exercise 7 – Use of VBA SUMIF Function to Find Total Profit: Apply VBA code to find the total profit for the company.

The image below shows all the solutions for this exercise.

Excel SUMIF Practice Exercises

Get FREE Advanced Excel Exercises with Solutions!

Rafiul Haq
Rafiul Haq

Rafiul Haq worked as an Excel and VBA Content Developer in Exceldemy for over two years and published almost 200 articles for the website. He is passionate about exploring new aspects of Excel and VBA. He received his Bachelor of Science in Mechanical and Production Engineering (MPE) from the Islamic University of Technology. Rafiul furthered his education by obtaining an MBA in Finance from the Institute of Business Administration (IBA) at the University of Dhaka. Apart from creating... Read Full Bio

10 Comments
  1. very helpful exercise.sir.kindly make another exercise on another basic and advanced formulas

    • Dear Ramandeep Kaur,

      Thanks for your appreciation. Sooner we will make another exercise based on Basic and Advanced Formulas.

      Regards
      Shamima Sultana
      Project Manager | ExcelDemy

  2. Please Check Exercise 02 it is not working when I am trying in the problem section.

    • Reply Lutfor Rahman Shimanto
      Lutfor Rahman Shimanto Mar 10, 2024 at 11:28 AM

      Hello Hardik

      Thanks for visiting our blog and sharing your difficulties. To find the total cost of the products sold that cost more than $1,000 using cell value as Criteria:

      1. Select cell L9.
      2. Insert the following formula: =SUMIF(G6:G92, K9, G6:G92)
      3. Hit Enter to see the following output.

      Hopefully, the formula will overcome the situation; good luck.

      Regards

      Lutfor Rahman Shimanto

      ExcelDemy

      • Please Check Exercise 02 it is not working when I am trying in the problem section. I typed in =SUMIF(G6:G93,K9,G6:G93) and it still returned 0.00

        • Avatar photo
          Shamima Sultana Sep 4, 2024 at 9:05 PM

          Hello Nguyen,

          We checked the Exercise 02 it’s working perfectly in the problem sheet.

          Attached the Excel File:
          Practice Exercises for SUMIF.xlsm

          Please verify that the values in G6:G93 are numeric and match the criteria in K9 cell exactly, without extra spaces or formatting differences.

          Regards
          ExcelDemy

  3. Please Check Exercise 02 it is not working when I am trying in the problem section.
    I typed this : =SUMIF(G6:G93,K9,G6:G93) and still didn’t work.

    • Hello Nguyen,

      We checked the Exercise 02 it’s working perfectly in the problem sheet.

      Attached the Excel File:
      Practice Exercises for SUMIF.xlsm

      Please verify that the values in G6:G93 are numeric and match the criteria in K9 cell exactly, without extra spaces or formatting differences.

      Regards
      ExcelDemy

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo