A detailed description of what if analysis, Text To Column and Data Validation Options of Data Tab. I also linked excel file with this presentation but it doesn't support excel file,so excel file can't be uploaded.
1. GHAZIABAD BRANCH OF CIRC
OF ICAI
24-05-2015 1MS EXCEL
SUBMITTED TO
MR SANDEEP TYAGI
(ADVANCE ITT FACULTY)
SUBMITTED BY
MRIDUL BANSAL
CRO-0407449
BATCH-2
2. INDEX
WHAT IF ANALYSIS……………………………………………….
SCENARIO MANAGER………………………………………………
GOAL SEEK………………………………………………………………
DATA TABLE……………………………………………………………..
TEXT TO COLUMN………………………………………………..
DELIMITED……………....…………………………………………….
FIXED LENGTH…………………………………………………………
DATA VALIDATION………………………………………………..
WHOLE NUMBER……………………………………………………...
DECIMAL……………………………………………………………………
LIST……………………………………………………………………………
DATE……………………………………………………………….……….
TIME…………………………………………………………………………
TEXT LENGTH………………………………………………………….
CUSTOM……………………………………………………………………
3
4-7
8-11
12-13
14
15
16
17-18
19
20
21
22
23
24
25-29
24-05-2015 2MS EXCEL
3. 24-05-2015MS EXCEL 3
WHAT IF ANALYSIS
What-If Analysis in Excel allows
you to try out different values
(scenarios) for formulas.
This feature can help you
experiment and answer
questions with your data, even
when the data is incomplete.
To use What-If Analysis, From the Data Tab Ribbon in Data Tools
group, choose What-If Analysis.
There are three types of What-If Analysis as shown in above pic
a) Scenario Manager
b) Goal Seek
c) Data Table
4. 24-05-2015MS EXCEL 4
SCENARIO MANAGER
Scenarios let you substitute values for multiple cells at the
same time. You can create as many scenarios as you want and
then compare them without changing the values manually.
Example1, Assume that your worst case
budget scenario is Gross Revenue of
50,000 and Costs of Goods Sold of 15,200,
leaving 34,800 in Gross Profit, as shown in
pic.
You then use the Scenario
Manager dialog box to save
these values as a scenario,
name the scenario Worst
Case, and specify that cells
B2 and B3 are values that
change between scenarios as
shown in the pic.
1
5. 24-05-2015MS EXCEL 5
SCENARIO MANAGER
Now suppose that your best case
budget Scenario is Gross
Revenue of 150,000 and Costs of
Goods Sold of 30,000, leaving
120,000 in Gross Profit. Create
another scenario, name it Best
Case, and supply different
values for cell B2 (150,000) and
cell B3 (30,000).
Now you can compare Worst
case and Best Case Scenario by
choosing option Worst case or
Best Case and clicking show as
shown in pic for Best Case.
1
6. 24-05-2015MS EXCEL 6
SCENARIO MANAGER
Example2, Assume you own a
book store and have 100 books in
storage. You sell a certain % for
the highest price of 50 and a
certain % for the lower price of
20. If you sell 60% for the highest
price, cell D11 calculates a total
profit of 60*50 + 40*20 = 3800.
You then use the Scenario
Manager dialog box to save these
values as a scenario, name the
scenario 60% Highest, and specify
that cells C5 is value that change
between scenarios as shown in
the pic.
2
7. 24-05-2015MS EXCEL 7
SCENARIO MANAGER
Now, what if you
sell 70% for the
highest price? or
what if you sell 80%
for the highest
price? Or 90%, or
even 100%?. You can
use the Scenario
Manager to create
these scenarios.
Next, add 4 other scenarios (70%, 80%, 90% and 100%).
To see the result of a scenario, select the scenario and click on the
Show button. Excel will change the value of cell C5 accordingly for you
as shown in pic for 80%.
2
8. 24-05-2015MS EXCEL 8
GOAL SEEK
When you create a formula or function in Excel, you put various
parts together to calculate a result. Goal Seek works in the
opposite way: It lets you start with the desired result, and it
calculates the input value that will give you that result.
Example1, Let's say you're enrolled in a class.
You currently have a grade of 65, and you need at
least a 70 to pass the class. You have one final
assignment. You can use Goal Seek to find out what
grade you need on the final assignment to pass.
Suppose grades on the first four assignments
are 58, 70, 72, and 60. In this case, each
assignment is weighted equally, so all we have to
do is average all five grades by typing
=AVERAGE(B3:B7). Once we use Goal Seek,
cell B7 will show us the minimum grade we'll need
to make on the final assignment.
3
9. 24-05-2015MS EXCEL 9
GOAL SEEK
Select the cell containing the value you want to change. When
you use Goal Seek, you'll need to select a cell that already
contains a formula or function. In our example, we'll select
cell B8 because it contains the formula =AVERAGE(B3:B7).
Set Cell: Cell Contain the desired result.
In our example, its Cell B8
To Value: This is the desired result. We
enter 70 we need to earn at least that.
By Changing Cell: This is the Cell where
Goal seek is place answer. In our example,
its Cell B7.
Goal Seek calculated that we will need to
score at least a 90 on the final assignment
to earn a passing grade.
3
10. 24-05-2015MS EXCEL 10
GOAL SEEK
Example2, Assume you own a
book store and have 100 books in
storage. You sell a certain % for the
highest price of 50 and a certain %
for the lower price of 20.
If you sell 60% for the highest
price, cell D11 calculates a total
profit of 60*50 + 40*20 = $3800.
What if you want to know how many books you
need to sell for the highest price, to obtain a
total profit of exactly 5000? You can use Goal
Seek feature to find the answer.
Set Cell D11, Type 5000 in ‘To Value’ and Select
C5 in ‘By Changing Cell’.
4
11. 24-05-2015MS EXCEL 11
GOAL SEEK
Result is shown in the pic.
You need to sell 84% of the
books for the highest price
to obtain a total profit of
exactly 5000.
Now suppose if you want to
know how many books you
need to sell for the highest
price, to obtain a total
profit of exactly 5500?.
Then repeat the same
procedure, just Type 5500
instead of 5000. Result is
shown in the pic.
4
12. 24-05-2015MS EXCEL 12
DATA TABLE
Data tables allow you to take one or two variables in a formula and
replace them with as many different values as you want, then view
the results in a table. This option is especially powerful because it
shows multiple results at the same time, unlike scenarios or Goal
Seek.
Example1, In Cell A5, enter a PMT
function, =PMT(B2/12,B3,B4)
In cells A6:A11, type the number of payments
for loans terms of 1 to 6 years.
In cells B5:F5, enter the interest rates
between 2% and 6%
Select cells A5:F11
Click What-If Analysis, and then click Data
Table.
Click in the Row Input cell box, and then
click on cell B2.
Click in the Column Input cell box, and then
click on cell B3.
5
13. 24-05-2015MS EXCEL 13
DATA TABLE
It’s show result for
different interest rates for
different no. of payments.
Cell B6 indicates that we
need to pay (842.389) per
month for 12 months @ 2%
interest rate, if loan
amount is 10000.
Example2, Similarly, we
can make Data Table for
one variable, lets take
same example we need to
calculate amount to be
paid for years 1 to 6. Result
is shown in the pic.
6
14. 24-05-2015MS EXCEL 14
TEXT TO COLUMN
Separate the content of one
excel cell into separate
columns.
For example, you can
separate a column of full
name into first name and last
name.
To use text To column option, From the Data Tab Ribbon, in the
Data tools group, Choose Text To Column option as shown in pic.
Text To column contain two options to separate data. They are:
a) Delimited
b) Fixed length
15. 24-05-2015MS EXCEL 15
DELIMITED
Characters such as commas or
tab separate each field.
Enter some numbers in cell
separated by commas or tab as
shown in pic.
From the Data Tab, in the Data
Tools group, choose Text To
Column option and select
Delimited option. Choose the
field by which you separated
the data as shown in pic.
It will separate each field, as
shown in above pic.
7
16. 24-05-2015MS EXCEL 16
FIXED LENGTH
Field are aligned in columns with
spaces between each field.
Enter some data in cells as shown
in pic. Now select the data.
From the Data Tab, choose text
to Column option and select
fixed length option. Create a
break line, by clicking at
desired position as shown in pic.
It will separate the data in
different columns as shown in
above pic.
8
17. 24-05-2015MS EXCEL 17
DATA VALIDATION
Prevent invalid data from being
enter into a cell.
To use Data Validation option,
from the Data Tab, in the Data
Tools group, choose Data
validation option.
Select Data Validation, a Box
Appears.
Dialogue Box Contains three options as shown in above pic.
a) Settings
b) Input Message
c) error Alert
Settings contains different Validation Criteria as shown in pic.
18. 24-05-2015MS EXCEL 18
DATA VALIDATION
Second option is Input Message.
There are two options:
a) Title
b) Input Message
When cell is selected, it show Input
message we provide like “Please enter
value between 50 and 100”.
Third option is Error Alert.
There are three types of Error Alert:
a) Stop- It will not accept invalid data.
b) warning- It’ll give warning about data.
c) Information- It’ll give inf. About data.
When user enter invalid data, it show the
Error Alert we provide like “Data is
invalid, please enter valid data”
19. 24-05-2015MS EXCEL 19
DATA VALIDATION
WHOLE NUMBER
In cell A2, I applied Data Validation
option Whole Number as shown in
pic.
I give an Input Message “Please
Enter value between 50 and 100”
with a title “Message”
Then I choose Stop Error Alert with
Title “STOP” and Message “Please
enter between 50 and 100”.
Now when I enter 45 in cell A2,it
shows STOP Error Alert and not
accept the value as shown in pic.
9
20. 24-05-2015MS EXCEL 20
DATA VALIDATION
DECIMAL
In cell A3, I applied Data Validation
option Decimal as shown in pic.
I give an Input Message “Please
Enter value greater than 25.2” with
a title “Message”
Then I choose Warning Error Alert
with Title “WARNING” and Message
“Enter value greater than 25.2”.
Now when I enter 24.8 in cell A3,it
shows WARNING Error Alert and ask
whether to continue or not, as
shown in pic.
9
21. 24-05-2015MS EXCEL 21
DATA VALIDATION
LIST
In cell A4, I applied Data
Validation option List as shown in
pic.
I give an Input Message “Please
Enter data as shown in list” with a
title “Message”
Then I choose Information Error
Alert with Title “INFORMATION”
and Message “Enter Valid Data”.
Now when I enter ‘Cute’ in cell
A4,it shows INFORMATION Error
Alert as shown in pic.
9
22. 24-05-2015MS EXCEL 22
DATA VALIDATION
DATE
In cell A5, I applied Data Validation
option Date as shown in pic.
I give an Input Message “Please Enter
date 5/22/2015” with a title
“Message”
Then I choose Information Error Alert
with Title “INFORMATION” and
Message “Enter Correct Date”.
Now when I enter ‘5/22/2015’ in cell
A4,it didn’t show any Error Alert
because date is correct as shown in
pic.
9
23. 24-05-2015MS EXCEL 23
DATA VALIDATION
TIME
In cell A6, I applied Data Validation
option Time as shown in pic.
I give an Input Message “Please Enter
time not between 12:30 and 15:20”
with a title “Message”
Then I choose STOP Error Alert with
Title “STOP” and Message “Enter Valid
Data”.
Now when I enter ’13:40’ in cell A6, it
shows STOP Error Alert and not accept
the value as shown in pic.
9
24. 24-05-2015MS EXCEL 24
DATA VALIDATION
TEXT LENGTH
In cell A7, I applied Data Validation
option Text Length as shown in pic.
I give an Input Message “Please Enter
data with text length not equal to 5”
with a title “Message”
Then I choose WARNING Error Alert
with Title “WARNING” and Message
“Enter Valid Data”.
Now when I enter ’sugar’ in cell A7, it
shows WARNING Error Alert and ask
whether to continue or not as shown
in pic.
9
25. 24-05-2015MS EXCEL 25
DATA VALIDATION
CUSTOM
In cells A2:A10, I applied Data Validation
option custom as shown in pic.
I use formula =Countif($A$2:$A$10,A2)<=1,
it checks duplicity of data.
Then I choose Input Message and STOP
Error Alert with Title and Message as
shown in pic.
Now I enter some numbers in cells and
when I enter 25 again in cell A7, it shows
STOP Error Alert and not accept the value
as shown in pic.
COUNT IF
10
26. 24-05-2015MS EXCEL 26
DATA VALIDATION
CUSTOM
In cells A2:A10, I applied Data Validation
option custom as shown in pic.
I use formula =SUM($A$2:$A$10)<=150, it
checks whether sum of cells(A2:A10) is
less than 150.
Then I choose Input Message and
WARNING Error Alert with Title and
Message as shown in pic.
Now I enter some numbers in cells and
when I enter 25 in cell A7, it shows
WARNING Error Alert because value in
cells(25+26+28+26+24+25)=154 i.e.
greater than 150 as shown in pic.
SUM
11
27. 24-05-2015MS EXCEL 27
DATA VALIDATION
CUSTOM
In cells A2:A10, I applied Data Validation
option custom as shown in pic.
I use formula =ISERROR(FIND(“ “,A2)),
FIND function looks for space character
(“ “) and the ISERROR function result is
TRUE, if space character is not found.
Then I choose Input Message and STOP
Error Alert with Title and Message as
shown in pic.
Now I enter some data in cells and when
I enter (ele gant) in cell A6, it shows
STOP Error Alert because there is space
in (ele gant) as shown in pic.
FIND,ISERROR
12
28. 24-05-2015MS EXCEL 28
DATA VALIDATION
CUSTOM
In cells A2:A10, I applied Data Validation
option custom as shown in pic.
I use formula =AND(ISNUMBER(A2),LEN(A2)=5),
LEN function checks the number of digits.
ISNUMBER function prevent text entries. AND
function whether both conditions are true.
Then I choose Input Message and STOP Error
Alert with Title and Message as shown in pic.
Now I enter some data in cells and when I
enter (smart) in cell A5, it shows STOP Error
Alert because there t is a text as shown in pic
AND, LEN,
ISNUMBER
13
29. 24-05-2015MS EXCEL 29
DATA VALIDATION
CUSTOM
In cells A2:A10, I applied Data
Validation option custom as shown in
pic.
I use formula =ISTEXT(A2), ISTEXT
function give True if cell contains only
text.
Then I choose Input Message and STOP
Error Alert with Title and Message as
shown in pic.
Now I enter some data in cells and
when I enter (2807) in cell A7, it shows
STOP Error Alert because 2807 is a
number as shown in pic.
ISTEXT
14