If you work with numbers in Excel, there's one function you must master: SUMIF. It’s simple, powerful, and one of the most searched formulas globally. Whether you’re managing sales data, budgets, or reports, SUMIF helps you add values based on conditions — no filters needed. WHAT IS THE SUMIF FUNCTION? The SUMIF function adds numbers in a range only if they meet a given condition. Syntax: =SUMIF(range, criteria, [sum_range]) - range – The cells to test against your condition- criteria – The condition to match - sum_range (optional) – The cells to actually sum (if different from range) Example 1: Add Sales Greater Than 100 Example Data: Product Sales A 120 B 80 C 150 If you need the sum of product whose sales more than 100 then the formula will be: =SUMIF(A2:B4,">100") Result: 270 (120 + 150) Example 2: Sum Based on Text Match Example Data: Product Sales ...
The Excel IF formula is one of the most frequently used functions in spreadsheet operations. Its power lies in its ability to create logical comparisons between a value and what you expect. The function allows Excel users to automate tasks, analyse data more efficiently, and manage large datasets without manually reviewing every entry. In this detailed guide, you’ll learn how to harness the full potential of the IF formula, and we’ll dive deep into its variations and best practices. What is the IF Formula? At its core, the Excel IF formula performs a logical test, and based on the outcome of that test, it returns one of two results. It’s a basic yet versatile function that can handle a wide range of applications in financial modelling, data analysis, inventory management, and even project planning. Here’s the syntax for the IF formula: =IF(logical_test, value_if_true, value_if_false) In this syntax: 1. logical_test : This is the condition or criteria that you want to ...