Unlocking Excel’s Power:

Most common Formulas for Data Analysis

Rohan das
5 min readMay 21, 2023

Introduction:

Excel, the ubiquitous spreadsheet software, is a powerhouse when it comes to data analysis and manipulation. With its vast array of functions and formulas, Excel empowers users to extract meaningful insights from raw data. In this blog post, we’ll explore some essential formulas that every Data analyst should know: IFs, SUMIFs, COUNTIFs, VLOOKUP, and FILTER. These formulas can dramatically enhance your data analysis capabilities and help you make informed decisions based on your findings.

IFs: The Conditional Workhorse

The IF function is a fundamental building block in Excel formulas, allowing you to perform logical tests and return different values based on the results. However, the IFs function takes this capability to the next level. IFs enables you to evaluate multiple conditions at once and specify different outcomes for each condition. Here’s how to use it:

  • Step 1: Select the cell where you want the result to appear.
  • Step 2: Type “=IF(“ and specify the first condition using cell references or values.
  • Step 3: Enter a comma and provide the value or expression to return if the condition is met.
  • Step 4: Repeat steps 2 and 3 for additional conditions, separating them with commas.
  • Step 5: Close the formula with a closing parenthesis and press Enter to calculate the result.

the conditions can be logical like this-

  • If a number is greater than another number >
  • If a number is smaller than another number <
  • If a number or text is equal to something =

example:

Result:

Note: This example is taken from W3School

SUMIFs: Adding with Conditions

The SUMIFs function is a powerful tool for summing values in a range that meet specific criteria. It allows you to specify multiple conditions, enabling you to extract only the relevant data for analysis. Here’s how to use it:

  • Step 1: Select the cell where you want the sum to appear.
  • Step 2: Type “=SUMIFS(“ and specify the range of cells to evaluate.
  • Step 3: Enter a comma and define the first condition using cell references or values.
  • Step 4: Repeat steps 3 for additional conditions, separating them with commas.
  • Step 5: Enter a comma and specify the range of values to sum if the conditions are met.
  • Step 6: Close the formula with a closing parenthesis and press Enter to calculate the sum.

Example:

Result:

Note: This example is taken from W3School

COUNTIFs: Counting with Precision

Similar to SUMIFs, the COUNTIFs function allows you to count the number of cells in a range that meet certain criteria. This formula is invaluable when you need to determine the frequency of occurrences or track the number of specific items in a dataset. Here’s how to use it:

  • Step 1: Select the cell where you want the count to appear.
  • Step 2: Type “=COUNTIFS(“ and specify the range of cells to evaluate.
  • Step 3: Enter a comma and define the first condition using cell references or values.
  • Step 4: Repeat steps 3 for additional conditions, separating them with commas.
  • Step 5: Close the formula with a closing parenthesis and press Enter to calculate the count.

Example:

Result:

Note: This example is taken from W3School

VLOOKUP: Finding Data Matches

VLOOKUP is one of the most widely used Excel functions for data retrieval. This formula enables you to search for a value in a table and return a corresponding value from a specified column. Here’s how to use it:

  • Step 1: Select the cell where you want the result to appear.
  • Step 2: Type “=VLOOKUP(“ and specify the value you want to search for.
  • Step 3: Enter a comma and specify the range of cells or table to search within.
  • Step 4: Enter a comma and indicate the column number from which to retrieve the corresponding value.
  • Step 5: Define whether an exact or approximate match is required by entering “TRUE” or “FALSE” respectively.
  • Step 6: Close the formula with a closing parenthesis and press Enter to retrieve the value.

Example:

Result:

Note: This example is taken from W3School

FILTER: Dynamic Data Extraction

The FILTER function, introduced in recent versions of Excel, is a game-changer for data analysis. It allows you to extract data from a range based on specific conditions and create dynamic, filtered views of your dataset. Here’s how to use it:

  • Step 1: Select the range of cells you want to filter.
  • Step 2: Go to the “Data” tab and click on the “Filter” button.
  • Step 3: In the column headers, click on the drop-down arrow for the column you want to filter.
  • Step 4: Specify the conditions that the data must meet to be included in the filter.
  • Step 5: Excel will dynamically filter the data based on your conditions, showing only the matching rows.

Example:

Note: This example is taken from Ablebits.com

Conclusion:

Excel’s formula arsenal, including IFs, SUMIFs, COUNTIFs, VLOOKUP, and FILTER, empowers users to unleash the full potential of their data. By following the step-by-step instructions provided, you can confidently utilize these formulas to elevate your data analysis skills. With practice and experimentation, you’ll gain proficiency in leveraging these tools effectively and efficiently.

--

--

Rohan das
Rohan das

Written by Rohan das

Rohan Das on a data science journey. Through insightful blogs, he shares his experiences & knowledge. Join Rohan as he inspires fellow data science enthusiasts.

No responses yet