Share in Facebook


20 November 2018

Essential Excel Skills for Data Analyst


Microsoft Excel is such application that every professional swear by whether you are working as Data Analyst, an MIS person or you are preparing for an interview.

A work profile that requires you to deal with data in large or small quantities, Microsoft Excel does a great job of simplifying it and providing it to you in the exact way you need it. An instrumental role in this process is played by the multitude of formulas or functions that Excel offers its users, making their lives infinitely easier.
In this article I bring to you 9 formulas that you must know to make your working with Excel easier.











Formula:
=VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)

Do you need to fish out data from a large table to use in a smaller spreadsheet?
In this case, it is quite impossible for you to actually look through the entire table to find out the small bit of information that you need.
The VLOOKUP function comes in extremely handy in such a situation.
Imagine you have a table of Student Names and Test Scores for 100 students in three subjects and you need the data only for 15 students and in one subject. In your new sheet, all you have got is the names of the 15 students. It is completely impractical for you to look for the test scores of these students individually and hence the VLOOKUP function can be used to get the required information on to the new spreadsheet.

2. SUM

Formula: 
=SUM(25, 25) or =SUM(A1, B1) or =SUM(A1:B5)

Sum is the easiest and the most widely used function in Excel. It can be used to find out the sum of two numbers, two cell values or even a range of cells. Like we can see in the example above, they can use cell references when separated by a comma and even when you select a range of cells and returns you the sum of the numbers in these cells.
The shortcut of SUM function is Alt++.


Formula: 
=COUNT(A1:A10)
=COUNTA(A1:A10)
The COUNT and the COUNTA function are essentially the same. They count the number of cells in a range.
But while the COUNT function returns you the value of the number of cells that have numbers in them, the function of the COUNTA function is a little different. The latter returns the value for the number of non-empty cells in a range.
So, to sum it up, the COUNT function returns the number of cells that have only numerical value whereas the COUNTA function returns the number of cells in a range that are not empty.

4. LEN












Formulae: 
=LEN(A1)

The LEN formula is useful when you want to find out the number of characters in a cell. The formula is fairly simple. But what you need to keep in mind is that this counts the space as a character as well. You, therefore, might get incorrect results if your value in the cell has spaces in between.

5. TRIM

Formula: 
=TRIM(A1)

The TRIM formula gets rid of spaces in a cell except for the single spaces between words. This formula is especially useful because sometimes there are extra spaces between words or after them. This formula seamlessly gets rid of them making your work much easier as opposed to finding space between words using the CTRL+F (Find and Replace box) shortcut and then replacing the extra spaces with single space.













Formula: 
= RIGHT(A1, number of characters)

=LEFT(A1, number of characters)

=MID(A1, start number, number of characters)

These set of formulae return you a specified range of texts from a text string or a series of numbers.
Ø         The RIGHT formula returns the specified number of characters from the right of the string.
Ø         The LEFT function comes back with a specified number of characters from the left of the string.
Ø         The MID function, however, has a little adjustment. It requires you to specify the number of characters from which you need to trim the value in the cell. It returns you the number of characters starting from the specified value till the number of values you have specified.


Formula:
=IF(logical_statement, return this if logical statement is true, return this if logical statement is false)

The IF statements are another set of the most widely used formulae in Excel. The IF statement returns a value only if the value or the range of values that you look at matches the criteria specified in the IF statement. This is especially handy when you need to take different action on different values based on whether they meet a certain criteria or not.


Formula:
=SUMIF(range, criteria, sum_range)

=COUNTIF(range, criteria)

=AVERAGEIF(range, criteria, average_range)

These formulae work the same way as the IF statements – the only difference being that they actually perform a function if they do meet a criteria.
So for any of the formulae, you need to specify the range of values they need to check and then specify the range of values or cell sequences on which they need to perform the function.
For example, if in a spreadsheet for marks in Maths, 10 out of 20 students are found to have the value “Passed” in their ‘Results’ column, the AVERAGEIF function will find the average of their scores only and not for all the 20 pupils. This is especially helpful if you need to find the sum or average or need to count the number of values which meet a particular criteria.


Formula:
 =CONCATENATE(Text1, Text 2, Text 3,….)
= Text & Text 2
The CONCATENATE formula basically brings together two or more values from different cells together in a cell. It can be used in two ways.
Firstly, we can just use the CONCATENATE formula as specified above or
we can simply separate the two values with a “&” sign to bring them together.

These 9 are just a few of the numerous formulae that Excel allows you to work with. Use these judiciously and your work with Excel becomes infinitely simpler.
Generally these most essential and useful functions are asked in the Interview if you are not hardcore Data Analyst. These functions are also very handy in our day to day life within the organization or in home, if you need.

Hope you have enjoyed ...
Keep reading & Stay blessed ...

13 November 2018

MOD Function Reminder of a Division


So far we discussed about how to get the INTEGER portion from a division.


In this article, we will discuss How to get the reminder part of a division in Excel.


Microsoft Excel provides MOD Function. MOD function is very simple and very easy to use.









Let’s discuss it.


Description

The Microsoft Excel MOD function returns the remainder after a number is divided by a divisor.

Note : The basic mathematics says that if we try to divide any number by 0 (zero), the result will be an indeterminate form.

Therefore, if the divisor is 0, then the MOD function will return the #DIV/0! error.

The MOD function is categorized as a Math/Trig Function and can be entered as part of a formula in a cell of a worksheet, i.e., as nested function.

Syntax

The syntax for the MOD function in Microsoft Excel is,

=MOD(number, divisor)

Parameters or Arguments

number
A numeric value whose remainder you wish to find.

divisor

The number used to divide into the number parameter. If the divisor is 0, then it will return the #DIV/0! error.

Returns

The MOD function returns a numeric value.

If the divisor is 0, then the MOD function will return the #DIV/0! error.

Example :









Suppose we need to get the reminder part of a division, the divisor is 5 and the dividend is 17.

The formula will be =MOD(17,5) or you can give cell reference as the below image shows.

Please look at the below image, which displays how to use MOD function.

How to use MOD Function in Excel
How to use MOD Function in Excel


Please note :

1.   QUOTIENT Function is used to get the Integer portion of a division.

2.   Whereas MOD Function is used to get the Reminder part of a division.

3.   The division result without reminder is simply use a ‘/’, without quotes in a formula.


I hope you have enjoyed this small article. Take care…
Thank you for reading…

05 November 2018

Integer portion of a division – INT Function – The Problem & Solution


In my last article, I had discussed about Quotient Function in Microsoft Excel to get the integer portion of a division.

But there is another function which can also give the same result if applied, INT function.









But there is differences between these two, therefore, please take caution before applying INT function to get the integer portion of a number which we will discuss at the end of this article.

Let us first discuss INT function.

Description

The Microsoft Excel INT function returns the integer portion of a number.

Syntax
The syntax for the INT function in Microsoft Excel is very simple

=INT(expression)

Parameters or Arguments
expression
A numeric expression whose integer portion is returned. You nay directly enter numbers with decimal or you can refer cells e.g., for division, =INT(A2/A3).

Note :

If the expression is negative, the INT function will return the first negative number that is less than or equal to the expression.

Returns

The INT function returns an integer value.

Example :

=INT(65.35)   Or    =INT(5/2)   or   =INT(any formula nested)

As the name suggest generally it is used to get the integer portion of a number, the result is same as QUOTIENT function, but there is a technical difference between INT & QUOTIENT function.
INT function rounded down the number, e.g.,
=INT(55.70) the result will be 55 and if you enter =INT(55.39) 

the result will be same as QUOTIENT function.

But what if the number is a NEGATIVE number ?

The result will be wrong. As INT function, will round down the number and rounding down for negative number will increase the Integer portion of a number.

INT Function & QUOTIENT Function
INT Function & QUOTIENT Function


Therefore, if you need to get the integer portion from result of a division, always use QUOTIENT Function.






Please note : INT will return wrong integer if the number is negative.

I hope you have enjoyed this small article. Take care…
Thank you for reading….

20 October 2018

6 Reasons why HLOOKUP not working - Solved


HLOOKUP not working !!!


Don’t need to get panic. 
I know you have tried a lot but all in vain. 
Calm down, there are very few reasons behind not working of HLOOKUP function.

Don’t hurry. 









First understand why HLOOKUP is not working, therefore, we will dig deeper to solve the problem permanently.

In this article, I will discuss with you how to trace the possible errors while implementing HLOOKUP and how to rectify these errors.

But before going I would like to review the SYNTAX of HLOOKUP once again.

It’s very like VLOOKUP, technically only one change is in the syntax and it is ROW_INDEX_NUMBER in place of COL_INDEX_NUMBER in VLOOKUP in the third parameter of HLOOKUP function.

We all know the ‘H’ signifies Horizontal in HLOOKUP, and ‘V’ for Vertical in VLOOKUP.

Lets review the syntax again. For more details, you may read this article.

SYNTAX

=HLOOKUP( lookup_value, table or array, row_index_number, [range_lookup] )

Note :- Please note our brain is trained to lookup vertically, from left to right – generally in daily life we compare or match column wise in VLOOKUP.

On the contrary, in HLOOKUP we match ROW wise, the opposite of VLOOKUP.

Therefore, the most important thing is to change our mind setup from left to right to up and down. This is how HLOOKUP works.

Below is the few major Check List to check why HLOOKUP is not working,.


1.               Not Having Lookup_Value in First Row :

If LOOKUP VALUE (which you are searching for, the first parameter) is not available in the table or array from where you are getting or matching data or source table, you will get #N/A error.

Please watch carefully the below image. Here I want to match the employee with the Sales Quantity in the small table from the large table. Here I am getting #N/A error because “Employee 14” is not present in the first table.

HLOOKUP not working
HLOOKUP not working


This is a small example, therefore, what you need to do is search manually for the Lookup Value by pressing Ctrl+F in your Keyboard.

If Value is not found, then it’s OK, use IFERROR to mask the #N/A error.

2.               Counting the Wrong Number of Rows for ‘Row_index_number’ parameter

Please recount the ROW NUMBER from where you select the rows in the first table from where you are fetching data.  Remember this count will be from TOP to BOTTOM unlike in VLOOKUP from left to right.

Note : Counting ROW Number starts from ‘1’ and  include the very first column as shown in the picture.

In this example I wrongly count the column number as 4 instead of 3.

=HLOOKUP(E11,B3:J5,4,0)

The error will be #REF error.

HLOOKUP not working
HLOOKUP not working






3.               Extra Space or Characters

Please check for Extra spaces in your formula, if you have doubt that there might be extra space, use TRIM function to remove extra spaces.


4.               Not Using ‘FALSE’ for Exact Matching [Range_Lookup]

Although, sometimes HLOOKUP works perfectly but do not forget to use [Range_Lookup], False or 0 for exact matching and True or 1 for approximate matching. It’s always better to make a good habit.

5.               Forgetting Absolute References (pressing F4 can do this) When Copying the Formula

While copy, and paste HLOOKUP formula or just dragging you must put $ sign to restrict the column not to move down or side by side. This is called Absolute reference.

There are two ways to do this, one you insert a $ sign manually or you can use F4 (Function Key) key.

HLOOKUP not working
HLOOKUP not working


6.               A new row has been inserted in the old table where HLOOKUP was working

In a previously calculated table where HLOOKUP has been used and now inserting a new row will create HLOOKUP unstable.

To resolve this either you can recheck your HLOOKUP formula or you can use an additional function MATCH to be nested with HLOOKUP. Using MATCH with HLOOKUP will make your formula very dynamic.








I hope you have enjoyed this article. Take care…
Thank you for reading….

17 October 2018

Integer portion of a division – Quotient Function


In this article, I will discuss about Quotient Function in Microsoft Excel to get the integer portion of a division.









As we all know, there are three parts in a division and in a division, the dividend (Numerator) is divided by the divisor (Denominator) to get a quotient.

Parts of a Division
Parts of a Division



Parts of a Division
Parts of a Division


Description

The Microsoft Excel QUOTIENT function returns the quotient or the integer part of a division.

Syntax

The syntax for the QUOTIENT function in Microsoft Excel is very simple

= QUOTIENT (numerator, denominator)

Parameters or Arguments

numerator

The dividend.

denominator

The divisor.

Returns

The QUOTIENT function returns the integer part of a division.

Example :

The below image will clarify Quotient function very well. This function is very easy to implement.

How to Use Quotient Function in Excel
How to Use Quotient Function in Excel 










I hope you have enjoyed this small article. Take care…
Thank you for reading….