Make Your Data Analysis Easy By Using Excel

Simple Yet Powerful Excel Functions Included

Ektamanvar
Analytics Vidhya
5 min readJul 14, 2021

--

Photo by Mika Baumeister on Unsplash

Dataset I am using is a dummy dataset. Here and there I included tips so make sure you keep eye on them. Refer to images for examples to get an idea of how exactly formulas can be used.

1. CONCAT()

Joins the text from multiple ranges or strings. Can specify any kind of delimiters while joining the text.

Image By Author: CONCAT() in Excel

Tip: Common delimiters are space, comma(,), semicolon(;), pipes(|), slashes ( / \ ), Hyphen(-). It all depends on the requirment what kind of delimiter want to use.

2. TRIM()

Removes leading and trailing spaces from the text except for single spaces between words. Often happens when you get data from other sources it has lots of white space and you have to remove those spaces otherwise it will considered as unique entry.

Image By Author: TRIM() in Excel

3. VALUE()

Converts numbers stored as text into numbers.

Image By Author: VALUE() in Excel

Tip: By default number is always right side of the cell but when number stored as text it is on left side.

4. LOWER(), UPPER(), PROPER()

These three functions converts text to lower, upper and sentence case respectively (First letter of each word capital). It will be helpful in converting different cases into single case while doing data analysis project.

Image by Author: UPPER(),LOWER(),PROPER() in Excel

5. LEN(), LEFT(), RIGHT(), MID(), FIND()

LEN() function returns the length of the string.

LEFT(), RIGHT(), MID() function returns the specified number of characters from the string.

FIND() function returns the position of the string. It can be used with len, left, right and mid function to get desired output

FIND(what you want to find, where you want to find, From where to start)

Image By Author: LEN(), LEFT(), RIGHT(), MID(), FIND() in Excel

6. COUNTIFS(), SUMIFS()

COUNTIFS() function counts the number of items that meet criteria and can specify any criteria.

SUMIFS() function adds all the values that meet criteria, can specify any number of criteria.

Tip: Criteria can be

1) Wildcards (*, ?)

2) Expression ( “>20”, “<5”, “=15", “<>RED")

3) Numeric Value (10, 1/10, 23.2)

4) Text String (“string”)

5) Boolean Value (TRUE or FALSE)

Image by Author: COUNTIFS(), SUMIFS() IN Excel

Let me explain one of the example in detail

Tip: Select entire column-Ctrl+Shift+↓

To select entire column first select cell the from where you want to start the selection, then press Ctrl+Shift and down arrow.

7. IF(), NestedIFS, IFERROR()

IF() checks whether a condition is met, and returns one value if TRUE, another value if FALSE. Nested IFS is also possible.

IFERROR() checks the formula if it evaluates error then it returns another value you specified.

Image by Author: IF(), IFERROR() IN Excel

Now let us dig into an example

8. VLOOKUP(), MATCH(), INDEX()

VLOOKUP() looks for a specified value in a specified table array and returns the value that you are looking for. It is one of the most popular, widely used function in excel.

VLOOKUP(what you want to look up, where you want to lookup, column number in the range containing the value to return, approximate -TRUE/exact match — FALSE)

MATCH() returns the position of the value in a given range.

MATCH(what you want to look up, where you want to look up, 0 exact match/ 1 less than/ -1 greater than)

Image by Author: VLOOKUP(), MATCH() in Excel

Tips:

1. Vlookup works vertically (See image for reference)

2. Always makesure lookup_value is always on left side of the table and value you want to return is always on right side of the table, otherwise excel throughs error.

In the example, lookup_value(First_Name) is on the left side and the value to return (Sales) is on the right side. Position of the column returned dynamically by using MATCH() see above picture for reference.

Now its time to go into a detailed explanation

INDEX() returns the specific value in the two-dimensional range. Works with both row and column.

Image by Author: INDEX(), MATCH() in Excel

Example detail explanation

Wrapping up,

Data that you get is not always the way you want, need to clean your data to get accurate insights by using functions covered in the post. If your master COUNTIFS(), VLOOKUP(), MATCH(), NestedIFS and text functions will surely make your data analysis process faster.

Thank you for reading :)

--

--