Open In App

How to Normalize Data in Excel?

Last Updated: 06 Jun, 2024

S

Summarize
Comments
Improve
Suggest changes
Like Article
Like
Share
Report
News Follow

The term “normalization” is a popular buzzword among professionals in fields like Machine Learning, Data Science, and Statistics. It refers to the process of scaling down values to fit within a specific range. The term is often misunderstood and is sometimes used interchangeably with “standardization,” which is another statistical concept.

Here, we are going to demystify both of these terms and later we will read how we can implement these techniques on a sample dataset in Excel.

How-to-Normalize-Data-in-Excel

How to Normalize Data in Excel?

Normalization (Or Min-Max scaling) of data in Excel

It is the process of scaling data in such a way that all data points lie in a range of 0 to 1. Thus, this technique, makes it possible to bring all data points to a common scale. The mathematical formula for normalization is given as:

X^{'} = \frac{X - X_{min}}{X_{max}-X_{min}}

where,

  • X is the data point,
  • Xmax and Xmin are the maximum and minimum values in the group of records respectively.

The process of normalization is generally used when the distribution of data does not follow the Gaussian distribution.

Example:

Let’s have a look at one example to see how can we perform normalization on a sample dataset. Suppose, we have a record of the height of 10 students inside a class as shown below:

Height (in cm)
152
155
168
175
153
162
173
166
158
156

Step 1: Calculate the minimum value in the distribution. It can be calculated using the MIN() function. The minimum value comes out to be 152 which is stored in the B14 cell.

Calculating minimum

Calculating the minimum value using the MIN() function

Step 2: Calculate the maximum value in the distribution. It can be calculated using the MAX() function. The maximum value comes out to be 175 which is stored in the B15 cell.

Calculating maximum

Calculating the maximum value using the MAX() function

Step 3: Find the difference between the maximum and minimum values. Their difference comes out to be 175 – 152 = 23 which is stored in the B16 cell.

Calculating difference

Calculating the difference (Max-Min)

Step 4: For the first data stored in the A2 cell, we will calculate the normalized value as shown in the below video.

Calculating normalized value

Calculating the normalized value for the first element

Step 5: We can manually calculate all values one by one for each data record or we can directly get values for all the other cells using the auto-fill feature of Excel. For this, go to the right corner of the B2 cell until a (+) symbol appears, and then drag the cursor to the bottom to auto-populate values inside all the cells.

All normalized values obtained

Calculating the normalized value for the entire range

Note: While calculating the first normalized value in the B2 cell, it should be made sure that the reference address for the B14 and B16 cells should be locked using Fn + F4 button otherwise an error will be thrown.

If we have a close look at the results, we can notice all the values lies in the range 0 to 1.

Standardization (Or Z-score normalization) 

Standardization is a process in which we want to scale our data in such a way that the distribution of our data has its mean as 0 and standard deviation as 1. The mathematical formula for standardization is given as:

X^{'} = \frac{X - X_{mean}}{\sigma_{_{x}}}

where,

  • X is the data point, 
  • Xmean is the mean of the distribution
  • σx is the standard deviation of the distribution.

The process of standardization is generally used when we know the distribution of data follows the gaussian distribution.

Method 1: Calculating z-score normalization manually 

Step 1: Calculate the mean/average of the distribution. It can be done using the AVERAGE() function. The mean value comes out to be 161.8 and is stored in the B14 cell.

Calculating average

Calculating the mean value using the AVERAGE() function

Step 2: Calculate the standard deviation of the distribution which can be done using the STDEV() function. The standard deviation comes out to be 8.323994767 which is stored in the B15 cell.

Calculating standard deviation

Calculating the standard deviation using the STDEV() function

Step 3:  For the first data stored in the A2 cell, we will calculate the standardized value as shown in the image given below.

Calculating standardized value

Calculating the standardized value for the first element

Step 4: After manually calculating the first value, we can simply use the auto-fill feature of Excel to populate the standardized values for all other records.

All standardized values obtained

Calculating the standardized value for the entire range using auto-fill

Note: While calculating the first standardized value in the B2 cell, it should be made sure that the reference address for the B14 and B15 cells should be locked using  Fn+F4 button otherwise an error will be thrown.

Method 2: Calculating Z-score normalization using the STANDARDIZE() function

We can even use the built-in STANDARDIZE() function to find the standardized value of an element. The syntax for STANDARDIZE() function is given as:

=STANDARDIZE(x,mean,std_dev)

Where,

  • x is the specific element/range of cells,
  • mean is the average/arithmetic mean of all the elements in the record,
  • std_dev is the standard deviation of all the elements in the record

Step 1: Calculate the mean/average of the distribution. It can be done using the AVERAGE() function. The mean value comes out to be 161.8 and is stored in the B14 cell.

Calculating average

Calculating the mean value using the AVERAGE() function

Step 2: Calculate the standard deviation of the distribution which can be done using the STDEV() function. The standard deviation comes out to be 8.323994767 which is stored in the B15 cell.

Calculating standard deviation

Calculating the standard deviation using the STDEV() function

Step 3: For the first data stored in the A2 cell, we will calculate the standardized value as shown in the below image.

Calculating standardized value

Calculating the standardized value for the first element using the STANDARDIZE() function

Step 4: After manually calculating the first value, we can simply use the auto-fill feature of Excel to populate the standardized values for all other records.

All standardized values obtained

Calculating the standardized value for the entire range using auto-fill

Conclusion

In conclusion, normalizing data in Excel is an essential skill for anyone working with large datasets, ensuring that your data analysis is accurate and meaningful. From using the Standardize function to applying the Min-Max normalization method, Excel offers a range of powerful tools to help you achieve accurate and normalized data. Remember, effective data normalization in Excel not only saves time but also enhances the overall quality of your data analysis.

How to Normalize Data in Excel – FAQs

How do you normalize data?

To normalize data in Excel, follow these steps:

  1. Select the Data: Highlight the range of data you want to normalize.
  2. Apply the Formula either using Min-Max Normalization or Z-Score Normalization
  3. Copy the Formula: Drag the fill handle to apply the formula to the entire column.

How do I normalize text in Excel?

To normalize text in Excel:

  1. Select the Data: Highlight the range of text data you want to normalize.
  2. Apply the Formula:
    • TRIM: Removes extra spaces. Use =TRIM(A1).
    • UPPER/LOWER/PROPER: Changes text case. Use =UPPER(A1), =LOWER(A1), or =PROPER(A1).
  3. Copy the Formula: Drag the fill handle to apply the formula to the entire column.

What is the best way to normalize data from a wide Excel file?

Use the MIN-MAX normalization method. It scales data to a range between 0 and 1, making it easier to compare and analyze.

How to use the MIN-MAX Normalization method in MS Excel?

Here are the Steps to Use MIN-MAX Methods in Normalization in MS Excel

  1. Find Min and Max: Identify the minimum and maximum values in your data range.
  2. Apply Formula: Use the formula =(A1 - MIN(range)) / (MAX(range) - MIN(range)) to normalize each value in the range.
  3. Copy Formula: Drag the formula across your data range to normalize all values


S

News
Improve
Discuss
Do you want to advertise with us?Click here to know more

Editing Excel Macros in Excel

article_img
Excel Macro is a set of actions that can be recorded, saved, used multiple times. This feature saves us a lot of time when dealing with repetitive tasks and huge data sets. We can always make changes to an existing Macro in Excel. There are two ways to record and run macros: Excel Commands Excel Visual Basic for Applications(VBA).1. Copying a Macro Code We can reuse the existing macro code while creating new Macros. For example, if you have existing macros created using the record function, we can reuse the code to write new macros. To open the code follow the below steps: Select Tools --> Macros --> Visual Basic Editor. Copy code from the existing macros(use Command + C) and paste(use Command + V) in the new macro2. Renaming a Macro Follow the below steps to rename a Macro in Excel: Select Tools --> Macros --> Visual Basic Editor. Select name on the left plane.Edit the name.3. Deleting a Macro Follow the below steps to delete a macro in Excel: Select Tools --> Macros --> Macros... Select the macro to be deleted. Click on the minus(-) symbol at the bottom.Select yes to delete the macro.
Read More

Best Microsoft Excel High-Paying Jobs with Excel Skills in 2024

article_img
Are you ready to unlock a world of opportunities with Microsoft Excel? In today’s data-driven job market, mastering Excel is essential for launching a successful career, whether you're a fresher or an experienced professional. In this article, we will cover the high-paying Excel jobs available in 2024, including crucial roles like data analyst, business analyst, and many more. We'll explore the qualifications needed for these positions, along with salary estimations to help you understand your earning potential. Whether you’re looking for Excel jobs for freshers or seasoned professionals, we’ll also dive into options for Excel freelancing jobs and work-from-home jobs in Excel. Equip yourself with the knowledge to excel in your career and take the first step toward a lucrative future!Best Microsoft Excel High-Paying Jobs with Excel Skills in 2024Table of ContentWhy choose a career in ExcelWhy Excel Skills Are Essential for Your CareerEssential Excel Skills Required to Boost Your Resume Best Microsoft Excel High-Paying JobsFinancial AnalystsData AnalystAdministrative Assistant Accountants Project ManagersManagement ConsultantRetail Store ManagersBusiness Analyst Market Research A
Read More

Excel VLOOKUP Function - Excel Guide for Beginners

article_img
How to do Vlookup in Excel - Quick StepsPrepare Your DataEnter the VLOOKUP Formula >>Press EnterUse a Cell Reference for Flexibility Copy the Formula for Multiple RowsThe VLOOKUP function is one of the most widely used tools in Excel for looking up and retrieving data from a table. Whether you’re working with a single sheet or multiple workbooks, VLOOKUP allows you to search for a value in one column and return a related value from another. If you're new to Excel or still getting the hang of formulas, this guide is for you. We will cover everything from the basics of how VLOOKUP works to practical examples that show how to search data across sheets, troubleshoot common issues, and master the VLOOKUP formula for any task.Excel VLOOKUP FunctionWhat is the VLOOKUP Function in ExcelThe term VLOOKUP stands for Vertical Lookup. It is designed to search for a specific value in the first column of a table (lookup column) and retrieve corresponding data from a different column in the same row.Syntax of VLOOKUP FormulaVLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])Arguments:1. lookup_value: The value you want to search for (e.g., a specific ID, name, or product code).
Read More

AI in Excel: Top 20 Excel AI Tools in 2025 (Free/Paid)

article_img
The integration of AI in Excel is transforming the way professionals manage, analyze, and visualize data. Whether you're handling large datasets, performing financial analysis, or automating repetitive tasks, AI-powered tools can significantly improve efficiency and accuracy. In 2025, advanced Excel AI tools are making complex tasks easier by offering features like data cleaning, predictive analytics, smart automation, and AI-driven insights.In this guide, we’ve gathered a list of the top 20 Excel AI tools for 2025 that are reshaping how users interact with Excel.Table of ContentBest AI Tool in Excel: Top Picks for 2025Top 10 Free Excel AI Tools in 2025Top 10 Excel AI ToolsAI in Excel: OverviewIn Excel, an AI tool (Artificial Intelligence tool) refers to an add-in or extension that leverages artificial intelligence to enhance your spreadsheet experience. These tools can automate tasks, improve data analysis, and generally make you more productive.Excel has always been a powerful tool for data analysis, but with the integration of AI tools, it has transformed into a smarter, more intuitive platform.Best AI Tool in Excel: Top Picks for 2025Explore the below AI tools designed for auto
Read More

How to Create a Pie of Pie Chart in Excel: Visualize Data with Two Data Sets

article_img
A Pie Chart is one of the most popular data visualization tools used in Excel to display data in a circular form. However, when you have a lot of small values, they can be hard to differentiate in a standard pie chart. This is where the pie of pie chart with two data sets in Excel comes into play. It breaks down the smallest portions of your data into a secondary pie chart, giving more clarity to the data that would otherwise be hard to see. In this article, we will show you how to create a Pie of Pie chart in Excel, customize it, and use it for better data visualization in your spreadsheets.How to Create Pie of Pie Chart in ExcelTable of ContentWhat is a Pie Chart in ExcelTypes of Pie Charts in ExcelHow to Create a Pie of Pie Chart in ExcelDesign the Pie of Pie Chart in ExcelHow to Change the Data in the Secondary PieWhy Use Pie of Pie Charts in ExcelHow to Customize the Secondary Pie ChartAdditional Customization Options for Pie of Pie ChartsHow to Use Pie of Pie Charts for Data AnalysisWhat is a Pie Chart in ExcelA Pie Chart is a type of circular statistical graphic that is used to represent data visually. It is divided into slices to illustrate numerical proportions, where each
Read More

Data Formatting in Excel

article_img
In Excel, the whole entered data in the sheet uses the same formatting by default which can make the data look monotonous, dull, and difficult to read. Excel provides a pool of tools called formatting tools which customize the data in such a way that it only affects the appearance of the data and not the content. How to apply formatting in Excel? Following are the steps to apply the formatting: Select the range of cells on which formatting needs to be done.Select the suitable formatting tool from the toolbox(ribbon).Formatting can be observed on the sheet. Formatting tools that work on the text and cell appearance can be found in Home Tab [ Font Group ] in the ribbon. Let's discuss some formatting tools in this article. Font: It changes the writing style of the data. Font Size: It changes the size of the data, can make it appear big or short. Increase/Decrease Font Size: It does the same work as by Font Size i.e adjusts the size of the font accordingly. However, it gets handy as in only one click, the size is getting changed. Bold and Italic: Bold thickens the letter and makes it appear darker than before while Italic, italicize the letters. Both are useful when some data needs t
Read More

Plot Multiple Data Sets on the Same Chart in Excel

article_img
Sometimes while dealing with hierarchical data we need to combine two or more various chart types into a single chart for better visualization and analysis. This type of chart having multiple data sets is known as "Combination charts". In this article, we are going to see how to make combination charts from a set of two different charts in Excel using the example shown below. Example: Consider a famous coaching institute that deals with both free content in their YouTube channel and also have their own paid online courses. There are broadly two categories of students in this institute : The students who enrolled in the coaching but are learning from YouTube free video content.The students who enrolled as well as bought paid online courses. So, the institute asked their Sales Department to make a statistical chart about how many paid courses from a pool of courses which the institute deals with were sold from the year 2014 to the last year 2020 and also show the percentage of students who have enrolled in these paid courses. Table : Here, the first data is "Number of Paid courses sold" and the second one is "Percentage of Students enrolled". Now our aim is to plot these two data in
Read More

Variables and Data Types in VBA Excel

article_img
In a computer system, variables and data types are almost used in every program to store and represent data. Similarly, Excel VBA also has variables and data types to store and represent data and its type. In this article, we will learn about VBA variables, their scope, data types, and much more. VBA Variables VBA(Visual Basic for Application) variables are similar to other programming languages variables, they act as a container that is used to store data(integer, string, floats, etc). We can use the variables in the code at multiple places and executer the programs. Defining Variables In VBA VBA gives permission to define variables in two ways: Implicitly - In VBA, we can implicitly declare variables using the assignment(=) operator. All the variables that are implicitly declared in VBA are of type "Variant". The variant type variables required more memory space than usual variables. Example: label="gfg"Explicitly - Explicitly we can declare variables using "Dim" keyword. Explicit variable also reduces the naming conflicts and spelling mistakes. Example: Num as password Syntax For VBA Variables // macro definition Sub VBA_Variable_Example () Dim <name> End Sub VBA V
Read More

How to Flatten Data in Excel Pivot Table?

article_img
Flattening a pivot table in Excel can make data analysis and extraction much easier. In order to make the format more usable, it's possible to "flatten" the pivot table in Excel. To do this, click anyplace on the turn table to actuate the PivotTable Tools menu. Click Design, then Report Layout, and then, at that point, Show in Tabular Form. This will isolate the line names and make it simpler to investigate information.What Does Flattening Mean in Excel?Flattening a pivot table in Excel refers to transforming the data from a pivot table format, which can be complex and hierarchical, into a simple tabular format. This process separates row labels and creates a structure that is easier to work with for further analysis or export to data warehouses.Flatten is a table function that takes a VARIANT, OBJECT, or ARRAY column and produces a lateral view (for example an inline view that contains a relationship alluding to different tables that go before it in the FROM clause). FLATTEN can convert semi-structured data to a relational representation.Benefits of Flattening Data in ExcelImproved Data Analysis: Flattened data is easier to analyze, as all relevant information is available in a ta
Read More

How to Winsorize Data in Excel?

article_img
To winsorize information means to set outrageous exceptions equivalent to a predefined percentile of the information. For instance, a 90% winsorization sets all perceptions more noteworthy than the 95th percentile equivalent to the worth at the 95th percentile and all perceptions, not exactly the fifth percentile equivalent to the worth at the fifth percentile. This instructional exercise gives a bit-by-bit illustration of how to winsorize a dataset in Excel. Winsorize Data in ExcelStep 1: Create the Data To begin with, we'll make the accompanying dataset: Stage 2: Calculate the Upper and Lower Percentiles For this model, we'll play out a 90% winsorization. This implies we'll set all values more prominent than the 95th percentile equivalent to the 95th percentile and all values less than the 4th percentile equal to the 4th percentile. The accompanying recipes tell the best way to track down the fourth and 95th percentiles: We will get the below results, The fourth percentile ends up being 14.36, and the 95th percentile ends up being 80. Step 3: Winsorize the Data Ultimately, we'll utilize the accompanying recipe to winsorize the information: Note that we simply duplicate and
Read More
three90RightbarBannerImg