VOOZH about

URL: https://www.analyticsvidhya.com/blog/2020/04/excel-tips-tricks-data-analysis/

โ‡ฑ Excel Tips & Tricks | Excel Tips For Data Analysis


India's Most Futuristic AI Conference Is Back โ€“ Bigger, Sharper, Bolder

  • d
  • :
  • h
  • :
  • m
  • :
  • s

10+ Simple Yet Powerful Excel Tricks for Data Analysis

Sunil Ray Last Updated : 28 Apr, 2020
7 min read

Overview

  • Microsoft Excel is one of the most widely used tools for data analysis
  • Learn the essential Excel functions used to analyze data for business analytics
  • Data Analysis with Excel serves as a precursor to Data Science with R or Python

*This article was originally published in 2015 and updated in April 2020.

Introduction

Iโ€™ve always admired the immense power of Excel. This software is not only capable of doing basic data computations, but you can also perform data analysis using it. It is widely used for many purposes including the likes of financial modeling and business planning. It can become a good stepping stone for people who are new to the world of business analytics.

Even before learning R or Python, it is advisable to have knowledge of Excel. It does no harm to add Excel to your skillset. Excel, with its wide range of functions, visualizations, and arrays empowers you to quickly generate insights from data which would be hard to see otherwise. And this is a crucial aspect of any business analytics project.

In fact, we have designed an entire comprehensive program on Business Analytics for you, with Excel as a key component! Make sure you check it out and give yourself the gift of a business analytics career.

I feel fortunate that my journey started with Excel. Over the years, Iโ€™ve learned many tricks to work to deal with data faster than ever. Excel has numerous functions. It becomes confusing at times to choose the best one.

In this article, Iโ€™ll provide you some tips and tricks to work on Excel and save you time. This article is best suited to people keen to upgrade their data analysis skills.

๐Ÿ‘ excel, data analysis

Commonly used functions

1. Vlookup(): It helps to search a value in a table and returns a corresponding value. Letโ€™s look at the table below (Policy and Customer). In Policy table, we want to map city name from the customer tables based on common key โ€œCustomer idโ€. Here, function vlookup() would help to perform this task.๐Ÿ‘ excel, data analysis, lookup

Syntax: =VLOOKUP(Key to lookup, Source_table, column of source table, are you ok with relative match?)

For the above problem, we can write the formula in cell โ€œF4โ€ as =VLOOKUP(B4, $H$4:$L$15, 5, 0) and this will return the city name for all the Customer id 1 and post that copy this formula for all Customer ids.

Tip: Do not forget to lock the range of the second table using a โ€œ$โ€ sign โ€“ a common error when copying this formula down. This is known as relative referencing.

2. CONCATENATE():  It is very useful to combine text from two or more cells into one cell. For example, we want to create a URL based on the input of hostname and request path.๐Ÿ‘ excel, data analysis, concatenate

Syntax: =Concatenate(Text1, Text2,.....Textn)

Above problem can be solved using formula, =concatenate(B3, C3) and copy it.

Tip: I prefer using the โ€œ&โ€ symbol, because it is shorter than typing a full โ€œconcatenateโ€ formula, and does the exact same thing. The formula can be written as  โ€œ= B3&C3โ€.

3. LEN() โ€“ This function tells you about the length of a cell i.e. number of characters including spaces and special characters.

Syntax: =Len(Text)

Example: =Len(B3) = 23

4. LOWER(), UPPER() and PROPER() โ€“These three functions help to change the text to lower, upper, and sentence case respectively (First letter of each word capital).

Syntax: =Upper(Text)/ Lower(Text) / Proper(Text)

In a data analysis project, these are helpful in converting classes of a different case to a single case else these are considered as different classes of the given feature. Look at the below snapshot, column A has five classes (labels) whereas Column B has only two because we have converted the content to lower case.
๐Ÿ‘ excel, data analysis

5. TRIM(): This is a handy function used to clean text that has leading and trailing white space. Often when you get a dump of data from a database the text youโ€™re dealing with is padded with blanks. And if you donโ€™t deal with them, they are also treated as unique entries in a list, which is certainly not helpful.

Syntax: =Trim(Text)

6. IF(): I find it one of the most useful functions in excel. It lets you use conditional formulas that calculate one way when a certain thing is true and another way when false. For example, you want to mark each sales as โ€œHighโ€ and โ€œLowโ€. If sales are greater than or equals to $5000 then โ€œHighโ€ else โ€œLowโ€.

Syntax: =IF(condition, True Statement, False Statement)
๐Ÿ‘ excel, data analysis, conditional

Generating inference from Data

1. Pivot Table: Whenever you are working with company data, you seek answers for questions like โ€œHow much revenue is contributed by branches of North region?โ€ or โ€œWhat was the average number of customers for product A?โ€ and many others.

Excelโ€™s PivotTable helps you to answer these questions effortlessly. A pivot table is a summary table that lets you count, average, sum, and perform other calculations according to the reference feature you have selected i.e.  It converts a data table to an inference table which helps us to make decisions. Look at the below snapshot:
๐Ÿ‘ excel, data analysis, Pivot
Above, you can see that table on the left has sales detail against each customer with the region and product mapping. In the table to the right, we have summarized the information at region level which now helps us to generate an inference that the South region has the highest sales.

Methods to create Pivot table:
Step-1: Click somewhere in the list of data. Choose the Insert tab, and click PivotTable. Excel will automatically select the area containing data, including the headings. If it does not select the area correctly, drag over the area to select it manually. Placing the PivotTable on a new sheet is best, so click New Worksheet for the location and then click OK๐Ÿ‘ excel pivot
Step-2: Now, you can see the PivotTable Field List panel, which contains the fields from your list; all you need to do is to arrange them in the boxes at the foot of the panel. Once you have done that, the diagram on the left becomes your PivotTable.
๐Ÿ‘ excel pivot
Above, you can see that we have arranged โ€œRegionโ€ in row, โ€œProduct idโ€ in column and sum of โ€œPremiumโ€ is taken as value. Now you are ready with pivot table which shows Region and Product wise sum of premium. You can also use count, average, min, max and other summary metrics.

2. Creating Charts: Building a chart/ graph in excel requires nothing more than selecting the range of data you wish to chart and press F11. This will create an Excel chart in default chart style but you can change it by selecting different chart style. If you prefer the chart to be on the same worksheet as the data, instead of pressing F11, press ALT + F1.

Of course, in either case, once you have created the chart, you can customize to your particular needs to communicate your desired message.๐Ÿ‘ excel charts

Data Cleaning

1. Remove duplicate values: Excel has inbuilt feature to remove duplicate values from a table. It removes the duplicate values from given table based on selected columns i.e. if you have selected two columns then it searches for duplicate value having same combination of both columns data.
๐Ÿ‘ excel, remove duplicates

Above, you can see that A001 and A002 have duplicate value but if we select both columns โ€œIDโ€ and โ€œNameโ€ then we have only one duplicate value (A002, 2).
Follow the these steps to remove duplicate values: Select data โ€“> Go to Data ribbon โ€“> Remove Duplicates๐Ÿ‘ remove duplicates

2. Text to Columns: Letโ€™s say you have data stored in the column as shown in below snapshot.
๐Ÿ‘ data formatting, text to columns
Above, you can see that values are separated by semicolon โ€œ;โ€. Now to split these values in a different column, I will recommend to use the โ€œText to Columnsโ€ feature in excel. Follow the below steps to convert it to different columns:

  1. Select the range A1:A6
  2. Go to โ€œDataโ€ ribbon โ€“> โ€œText to Columnsโ€
    ๐Ÿ‘ data formatting, text to columns
    Above, we have two options โ€œDelimitedโ€ and โ€œFixed widthโ€. I have selected delimited because the values are separated by a delimiter(;). If we would be interested to split data based on the width such as the first four character to the first column, 5 to 10th character to the second column, then we would choose Fixed width.
  3. Click on Next โ€“>Mark checkbox on for โ€œSemicolonโ€ then Next and finish.
    ๐Ÿ‘ data formatting, text to columns

Essential keyboard shortcuts

Keyboard shortcuts are the best way to navigate cells or enter formulas more quickly. Weโ€™ve listed our favorites below.

  1. Ctrl +[Down|Up Arrow]: Moves to the top or bottom cell of the current column and combination of Ctrl with Left|Right Arrow key, moves to the cell furthest left or right in the current row
  2. Ctrl + Shift + Down/Up Arrow: Selects all the cells above or below the current cell
  3. Ctrl+ Home: Navigates to cell A1
  4. Ctrl+End: Navigates to the last cell that contains data
  5. Alt+F1: Creates a chart based on selected data set.
  6. Ctrl+Shift+L: Activate auto filter to data table
  7. Alt+Down Arrow: To open the drop-down menu of auto filter
  8. Alt+D+S: To sort the data set
  9. Ctrl+O: Open a new workbook
  10. Ctrl+N: Create a new workbook
  11. F4: Select the range and press F4 key, it will change the reference to absolute, mixed and relative.

Note: This isnโ€™t an exhaustive list. Feel free to share your favorite keyboard shortcuts in Excel in the comments section below. Literally, I do 80% of excel tasks using shortcuts.

End Notes

Excel is arguably one of the best tools ever made, and it has remained the gold standard for nearly all businesses worldwide. But whether youโ€™re a newbie or a power user, thereโ€™s always something left to learn. Or do you think youโ€™ve seen it all and done it all? Let us know what weโ€™ve missed in the comments.

Looking to get started in the data field? We have curated the perfect multi-course program for you! Check out the Certified Business Analytics Program and launch your career!

Sunil Ray is Chief Content Officer at Analytics Vidhya, India's largest Analytics community. I am deeply passionate about understanding and explaining concepts from first principles. In my current role, I am responsible for creating top notch content for Analytics Vidhya including its courses, conferences, blogs and Competitions.

I thrive in fast paced environment and love building and scaling products which unleash huge value for customers using data and technology. Over the last 6 years, I have built the content team and created multiple data products at Analytics Vidhya.

Prior to Analytics Vidhya, I have 7+ years of experience working with several insurance companies like Max Life, Max Bupa, Birla Sun Life & Aviva Life Insurance in different data roles.

Industry exposure: Insurance, and EdTech

Major capabilities: Content Development, Product Management, Analytics, Growth Strategy.

Login to continue reading and enjoy expert-curated content.

Free Courses

Introduction to CrewAI: Building a Researcher Assistant Agent

Build smart AI agents with CrewAI to automate tasks and solve problems.

Understanding the working of Neural Networks

Learn the neural network basics, concepts, layers, and activation functions.

No Code Predictive Analytics with Orange

No-code AI course for business pros with real-world ML use cases.

GenAI Landscape: Foundations & Hands On

Learn Generative AI basics: prompting, RAG, fine-tuning & agents.

Getting Started with Tableau

Free Tableau certification course covering data visualization essentials.

Responses From Readers

The article is very good, maybe you can add SUMIF, SUMIFS and MATCH which I use a lot.

123 1

This article is written in a very self-explanatory way !!! Anyone can easily understand and apply...

123 456
Anupam Basu

I really admire the topics related to analytics spoken in such forums. And no one does it better than Analytics Vidhya. I have been involved in interviews over the last 5 months or so (all Data Science/Analytics positions, both operational & leadership). I was amazed at the number of times anything to do with Excel was mentioned or asked. Literally 0 (I'm not joking). Excel is a very powerful tool according to me too. Whenever I start doing any analytics I first start off with Excel. It is amazing how just by playing around with a pivot & a chart it's thought provoking. Great job people. Keep up the good work!

Also Can you plz tell us the Analytics tools plugin in excel and some of its features

Flagship Programs

GenAI Pinnacle Program| GenAI Pinnacle Plus Program| AI/ML BlackBelt Program| Agentic AI Pioneer Program

Free Courses

Generative AI| DeepSeek| OpenAI Agent SDK| LLM Applications using Prompt Engineering| DeepSeek from Scratch| Stability.AI| SSM & MAMBA| RAG Systems using LlamaIndex| Building LLMs for Code| Python| Microsoft Excel| Machine Learning| Deep Learning| Mastering Multimodal RAG| Introduction to Transformer Model| Bagging & Boosting| Loan Prediction| Time Series Forecasting| Tableau| Business Analytics| Vibe Coding in Windsurf| Model Deployment using FastAPI| Building Data Analyst AI Agent| Getting started with OpenAI o3-mini| Introduction to Transformers and Attention Mechanisms

Popular Categories

AI Agents| Generative AI| Prompt Engineering| Generative AI Application| News| Technical Guides| AI Tools| Interview Preparation| Research Papers| Success Stories| Quiz| Use Cases| Listicles

Generative AI Tools and Techniques

GANs| VAEs| Transformers| StyleGAN| Pix2Pix| Autoencoders| GPT| BERT| Word2Vec| LSTM| Attention Mechanisms| Diffusion Models| LLMs| SLMs| Encoder Decoder Models| Prompt Engineering| LangChain| LlamaIndex| RAG| Fine-tuning| LangChain AI Agent| Multimodal Models| RNNs| DCGAN| ProGAN| Text-to-Image Models| DDPM| Document Question Answering| Imagen| T5 (Text-to-Text Transfer Transformer)| Seq2seq Models| WaveNet| Attention Is All You Need (Transformer Architecture) | WindSurf| Cursor

Popular GenAI Models

Llama 4| Llama 3.1| GPT 4.5| GPT 4.1| GPT 4o| o3-mini| Sora| DeepSeek R1| DeepSeek V3| Janus Pro| Veo 2| Gemini 2.5 Pro| Gemini 2.0| Gemma 3| Claude Sonnet 3.7| Claude 3.5 Sonnet| Phi 4| Phi 3.5| Mistral Small 3.1| Mistral NeMo| Mistral-7b| Bedrock| Vertex AI| Qwen QwQ 32B| Qwen 2| Qwen 2.5 VL| Qwen Chat| Grok 3

AI Development Frameworks

n8n| LangChain| Agent SDK| A2A by Google| SmolAgents| LangGraph| CrewAI| Agno| LangFlow| AutoGen| LlamaIndex| Swarm| AutoGPT

Data Science Tools and Techniques

Python| R| SQL| Jupyter Notebooks| TensorFlow| Scikit-learn| PyTorch| Tableau| Apache Spark| Matplotlib| Seaborn| Pandas| Hadoop| Docker| Git| Keras| Apache Kafka| AWS| NLP| Random Forest| Computer Vision| Data Visualization| Data Exploration| Big Data| Common Machine Learning Algorithms| Machine Learning| Google Data Science Agent
๐Ÿ‘ Av Logo White

Continue your learning for FREE

Forgot your password?
๐Ÿ‘ Av Logo White

Enter OTP sent to

Edit

Wrong OTP.

Enter the OTP

Resend OTP

Resend OTP in 45s

๐Ÿ‘ Popup Banner
๐Ÿ‘ AI Popup Banner