SE in Excel: How to Use the SE Function
In this article
Yes, Excel does not have a native function named "SE." The function you are likely looking for is SUMIFS, which calculates the sum of values in a range based on multiple criteria. To use it, type =SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...) into a cell, replacing the placeholders with your actual data ranges and conditions. This function is the standard way to perform conditional sums in modern Excel versions.
What You'll Need
- A computer running Microsoft Excel (2016, 2019, 2021, or Microsoft 365 are recommended for the best experience).
- A dataset containing at least two columns: one for the values you want to sum and one for the criteria you want to filter by.
- A basic understanding of spreadsheet cells and ranges (e.g., knowing that "A1:A10" refers to the first ten cells in column A).
Step-by-Step
- Identify Your Data. Open your Excel workbook and navigate to the sheet containing the data you wish to analyze. Ensure your data is organized in a tabular format with headers in the first row. For example, you might have a sales log where Column A lists the product name, Column B lists the date, and Column C lists the sales amount.
- Determine the Criteria. Clearly define the condition or conditions you want to apply to your sum. This could be a single value (e.g., "Apple") or a more complex logical test (e.g., ">1000"). If you are using the SE method (which is a common localized name for SUMIFS in some regions), make sure you know the specific criteria you are filtering for.
- Locate an Empty Cell. Click on any empty cell where you want the result of the calculation to appear. It is best practice to place this cell near your data so you can easily reference the source range.
- Start the Formula. Begin typing the equals sign (
=). Excel will automatically suggest functions as you type. Start typing "SUMIFS" and select it from the list. Alternatively, you can type the full name if you prefer. - Enter the Sum Range. The first argument for SUMIFS is the range of cells containing the numbers you want to add up. Click and drag to select the cells in the column with the values (e.g., Column C, cells C2 to C100). After selecting, type a comma to move to the next argument.
- Enter the Criteria Range. The second argument is the range of cells that contains the criteria you want to match against. Click and drag to select the cells that correspond to the data you filtered by (e.g., Column A, cells A2 to A100). Type a comma after you have selected this range.
- Enter the Criteria. The third argument is the specific value or condition you are looking for. Type the criteria in quotes if it is text (e.g.,
"Apple") or include the logical operators if it is a number (e.g.,">500"). If you are looking for the localized function SE, this step is where you input the value that matches the "SE" header in your data. - Repeat for Additional Criteria (Optional). If you need to filter by more than one condition, repeat steps 5 and 6. You will add another criteria range and its corresponding criteria. For example, you might want to sum sales for "Apples" that occurred in the year 2023.
- Close the Parentheses. Once you have entered all the necessary criteria, type the closing parenthesis
)to complete the formula structure. - Press Enter. Press the Enter key on your keyboard to execute the formula. Excel will calculate the sum and display the result in the cell.
- Verify the Result. Double-check the result by manually adding a few of the numbers that should be included in the sum. If the result looks incorrect, review the ranges you selected in steps 5 and 6 to ensure they align perfectly with your data.
Common Mistakes
- Incorrect Range Order. A frequent error is swapping the order of the sum range and the criteria range. Remember that SE (SUMIFS) always requires the sum range to be the first argument. If you put the criteria range first, Excel will return a #VALUE! error.
- Missing Quotes. When entering text criteria, forgetting to enclose the text in quotation marks is a common mistake. Excel will interpret the text as a reference to another cell or a named range, leading to unexpected results or #REF! errors.
- Mistaking SUMIFS for SUMIF. The SE function is the plural version of SUMIF. If you only need to filter by a single condition, SUMIF is more concise. However, SUMIFS is safer because it allows you to add more criteria later without rewriting the formula. Using SUMIFS for a single condition is perfectly valid and recommended for consistency.
- Non-Contiguous Ranges. SUMIFS requires contiguous ranges for the sum and criteria. You cannot select non-adjacent cells (e.g., A1, A3, A5) for the range. You must select the entire column or a single continuous block of cells.
- Hardcoding Values. It is best to reference cell values for your criteria rather than typing the value directly into the formula. This makes the formula easier to update later. If you type
"Apple"directly into the formula, you will have to edit the formula if you want to change the criteria to "Banana".
Tips
- Use Named Ranges. For complex spreadsheets, consider naming your ranges (e.g., "SalesAmount" for column C and "ProductType" for column A). This makes your formulas much easier to read and understand. The formula would then look like
=SUMIFS(SalesAmount, ProductType, "Apple"). - Check for Hidden Characters. Sometimes data copied from the web or imported from a database may contain invisible characters that prevent a match. If your formula returns zero when you expect a result, use the VALUE function or clean the data with the TRIM function to ensure the text is clean.
- Utilize Wildcards. SUMIFS supports wildcard characters to perform partial matches. Use the asterisk (
*) to match any sequence of characters (e.g.,"*Phone"matches "iPhone" and "Samsung Phone") and the question mark (?) to match a single character (e.g.,"A?e"matches "Apple" and "Ape"). - Format as Currency. After entering the formula, format the result cell as Currency or Accounting to make the numbers more readable and to prevent Excel from displaying them as long decimal strings.
- Dynamic Arrays (Excel 365). If you are using Excel 365, you can use the dynamic array function FILTER combined with SUM to achieve similar results in a single step. This is useful if you want to see the filtered list of numbers as well as the total.
Troubleshooting
- The result is 0 or #VALUE!. If you get a #VALUE! error, the most common cause is that the ranges you selected are not the same size. Excel cannot match a single cell in one range to multiple cells in another. Ensure you click and drag the exact same number of cells for your sum range and all criteria ranges.
- The result is incorrect (too high or too low). If the sum is incorrect, check that you are not including headers or blank cells in your selected ranges. It is also possible that your criteria are case-sensitive. By default, Excel is case-insensitive, so
"apple"and"Apple"are treated the same. However, if you are comparing against a range that contains TRUE/FALSE or dates, ensure the format of your criteria matches the format of the data. - The formula references a different language. If you are using a version of Excel in a different language, the SE function might be translated. In French Excel, it is SOMME.SI.ENS, and in German, it is SUMMEWENNS. The English name SUMIFS is the standard for most global versions.
- Formula does not update. If you change a value in your data but the result of the SE formula does not change, check if "Automatic Calculation" is turned off. Go to the Formulas tab and ensure the Calculate Now button is selected or that the calculation mode is set to Automatic.
Frequently Asked Questions
What is the difference between SE and SUMIF?
The main difference is that SE (SUMIFS) allows you to apply multiple criteria to your sum, whereas SUMIF only supports a single condition. If you need to filter by more than one category (e.g., sum sales for "Apples" that are also "in stock"), you must use the SE function.
Can I use SE to sum based on date ranges?
Yes, you can use SE to sum based on date ranges. You simply provide the date column as a criteria range and use comparison operators like > and < to define the start and end dates.
Why does my SE formula return a #SPILL! error?
A #SPILL! error occurs in Excel 365 when the formula tries to spill results into cells that are already occupied by other data. To fix this, you must clear the cells where the spilled range is trying to output.
Does SE work with text criteria?
Yes, SE works perfectly with text criteria. You can use wildcards like * and ? to match partial text strings, making it very powerful for filtering text-based data.
Can I use SE to sum cells that are not in a contiguous range?
No, the SUMIFS function requires that the sum range and all criteria ranges be contiguous blocks of cells. You cannot select non-adjacent cells (e.g., A1, A3, A5) directly within the formula.