Introduction

This is for all you excel lovers. I am starting this blog to help thousands of people who wish to know excel indepth. I always faced this challenge when I started excel reporting 7 years back. Today I head the MIS Reporting Team for a Multinational company. All this in 7 yrs. Imagine I did not know anything of excel 7 yrs back .....Its been a long journey....I want to share my learnings with everyone.Also I want to help others to learn excel and help them excel in life.This blog is aplatform for us to meet and help each other

Saturday, January 31, 2009

Dual Conditional Formula

These formula are simpler than the "IF" formula

1. COUNTIF: Syntax =countif(range,criteria)

This formula can be used in case you want to count number of specific items in a range For example you have a list of fruits and you want to count of them how many are apples. This formula makes it simple. The formula is countif(Range,"Apples")

In place of Apples one can also specify a cell values. So if you want to know how many ones are there in the range of numbers this formula is easy. Also you can find the count of a specific value in the list to know whether it is distinct or no in the list

2. SUMIF:

Syntax: =sumif(range,criteria,sumrange)

The sum if formula is very useful if you have to add specific values corresponding a particular range. So you have two lists ---in one column you have list of managers(list1) and another number of sales done(list2). Now you have master list of managers and you want to find from the list how many sales did each manager did. The formula and method is easy. =sumif(list1,"manager1",list2)

Try these formula they are simple to use

Thursday, January 8, 2009

CONDITIONAL Formula

Here comes the complex formula
The conditional formula means a formula which can work on conditions specified by the user. In case the condition does not match it will give the result of the second condition
The conditional formula is "IF"
Syntax =if(logical test,[valueif true],[valueiffalse]
Explanation: Logical test is the condition
Value if True means if the condition is satisfied this formula will give the result specified in the formula as true else value if false
Eg: I want to put a formula that if the value of two cells is same then I must get result as "YES" else "NO"...The formula is =IF(C2=B2,"YES","NO")
This If formula is very complex as it can be merged with any excel formula
The three components of this formula can be replaced by any formula
Eg: =IF(COUNT(C2:C10)=4,"YES","NO")
This formula means it first counts the numbers in range C2-C10 and if the result is 4 it gives YES else a NO
Eg: =IF(SUM(C2:C10)=4,"YES","NO")
This formula means it first adds the numbers in range C2-C10 and if the result is 4 it gives YES else a NO
We will learn more on this

COUNT Formula

The count formula is very simple and syntax is =COUNT(C2:C10) where C2 and C10 are the range of the cells . However this formula will only calculate the numbers in the range and will not consider the alphabetic characters