SlideShare a Scribd company logo
1 of 58
Advanced Filters
• When you use the Advanced Filter, you need
to enter the criteria on the worksheet.
• Create a Criteria range above your data set.
• Use the same column headers. Be sure
there's at least one blank row between your
Criteria range and data set.
Criteria Range
Data Set
• Click any single cell inside the data set then
Click ‘Advanced’ on the ‘Data’ tab.
• In this example, filter based on year of
completion and the city [AND criteria used]:
Filter based on year of completion and the
city [OR criteria used]:
 Type the two criteria.
Displays data which satisfies the above criteria.
• Only display records which satisfies 2012 as year
of completion and Chennai as City:
Result of Advance
Filter after using OR
criteria:
Using Macros with Advanced Filter
Macros:
 A macro can be defined as the recording of a series
of tasks.
 When used right, macros can save you hours by
automating simple, repetitive tasks.
 Marcos in Excel are written in Excel VBA (Visual Basic
for Applications).
Step 1: Activate the Developer Toolbar
File -> Options -> Customize Ribbon and
check the box next to ‘Developer’.
- Click ‘OK’. Now
Developer toolbar in
the ribbon.
Step-2: Type the data in a table format. For
advanced filter, type the Criteria range and
Data Set.
-To remove the filter
symbol, Click Data ->
Filter.
Create range name ‘lt’
for this Data set.
‘cr’
name
for this
range
Step 3: Create a Macro-’advfilter’
- Developer-> Record Macro (or)
View -> Macro -> Record Macro
- Give the name for
Macro[‘advfilter’] and click ‘ok’
-Data->Advanced in Sort & Filter Group
In the List range: lt
In the Criteria range: cr and Click
‘OK’
- Developer-> Stop Recording
-Click ‘Insert’
Tab and
Choose the
Shapes.
- Drag that
into the work
sheet.
- Assign ‘Filter’
by right click
and Edit Text.
-Select the
shape and
right click.
- Choose the
Assign Macro.
• Click ‘OK’
• Devloper -> Design Mode
Click on ‘Filter’ button, we can get the result.
DATA VALIDATION
• Used to define valid sets of values for ranges
of cells.
To Create Data Validation Rule:
1. Select the Cell range.
2. On the Data Tab, Click Data Validation
• On the Settings tab:
3. In the Allow list, click Whole number.
4. In the Data list, click between.
5. Enter the Minimum and Maximum values.
Input Message
• Input messages appear when the user selects
the cell and tell the user what to enter.
• On the Input Message tab:
1. Check 'Show input message when cell is
selected'.
2. Enter a title.
3. Enter an input message.
Error Alert
• If users ignore the input message and enter a
number that is not valid, you can show them
an error alert.
• On the Error Alert tab:
1. Check 'Show error alert after invalid data is
entered'.
2. Enter a title.
3. Enter an error message.
Data Validation Result
Example 1 - Enter positive integers:
Example 2 -
Entering a
specific
number of
characters:
Example 3 - Entering only the current date:
Create a data validation Drop-Down
List
1. Select the cell range where you want the
drop-down list to appear.
2. On the Data tab,
Click Data Validation command.
3. Select ‘List’ under ‘Allow’.
4. Type the range name where the list of data
present or type the list of data with comma
as separator .
=coursename range name created in some
other worksheet, which is used to create a list.
Possible to mark the invalid Data….
Handling External Data
• Sometimes, the data you want isn't
in your Excel workbook – it might be
in a database, an XML file, on the
web, in a text file, or in one of many
other places.
1. Import a Text File
2. Import a Access File
3. Import a Web File
1.Import a Text File
Steps:
1. Click ‘From Text’ under the Data Tab.
2. ‘Import Text File’ Dialog box opened.
3. Select the text file[e.g sun1.txt which is
already exist], click on ‘Import’.
4. Click on ‘Finish’ button.
5. Choose the destination either existing
worksheet or new worksheet.
Now the selected text file’s content
displayed….
2. Import Access File
Steps:
1. Click ‘From Access’ under the Data Tab.
2. ‘Select Data Source’ dialog box opened.
Choose which database to be imported.
3. ‘Import Data’ dialog box opened. Choose in which
format data viewed in the worksheet and specify
existing worksheet or new worksheet.
4. Click ‘Ok’.
Current
worksheet filled
with selected
table’s records.
3. Import Web File
Create a connection to a webpage to use data
from its tables in your workbook.
Steps:
1. On the Data tab, click From Web.
2. In the Address box, enter the web address of
the site with the data you want to connect to.
3. An arrow indicator like this means there's data
nearby you can import.
4. Click the arrow indicator, click
the Import button, and then click OK.
What-if-analysis
• What-If Analysis in Excel allows you to try out
different values (scenarios) for formulas.
• What-If Analysis is the process of changing
the values in cells to see how those changes
will affect the outcome of formulas on the
worksheet.
• Three kinds of What-If Analysis tools come
with Excel: Scenarios, Goal Seek, and Data
Tables.
- Scenarios and Data tables take sets of
input values and determine possible results.
- Goal Seek takes a result and determines
possible input values that produce that result.
• In addition to these three tools, you can
install add-ins that help you perform What-If
Analysis, such as the Solver add-in. The Solver
add-in is similar to Goal Seek, but it can
accommodate more variables.
Goal Seek
• For example, suppose there is a store, which sells 1000
products one day with price of 15 and cost of 6 per product,
thus the profit should be 1000*(15-6)=9000 dollars.
• Now the owner wants to reach Rs. 10000 profit for one
day, then you can use Goal Seek to determine how
many products you have to sell for one day without
changing price and cost.
Steps:
1. Click ‘what-if-analysis’ in
‘Data Tools’ group under
Data tab.
2. Click on ‘Goal Seek’.
Result of Goal Seek
Data Table
• If you have a formula that uses one or two
variables, or multiple formulas that all use
one common variable, you can use a data
table to see all the outcomes in one place.
One Variable Data Table:
Suppose you want to know how the change on
the unit price will change the daily profit.
Gradually increase
unit price by 1.5, for
this change how
profit affected done
by using Data Table
[one variable]
Type =B6
-Select the cells E8to
F19.
- click on what-if
analysis in Data Tools
Group.
- select Data Table.
-Only give Unit
price cell address
in the Column
input cell.
- Click Ok
For changes in the Unit price,
corresponding Profit calculated
and displayed.
Two Variables Data Table
Changes in the
product item
sold
Changes in
the Unit price
• Here changes applied on
the two variables: Products
Sold and Unit Price.
• Find the Profit.
Products sold
Unit price
Cost per product
=B6
-Select the cells F10 to J21.
- click on what-if analysis in Data
Tools Group.
- select Data Table.
-Select the cell address of Product Sold in
Row input cell and Unit Price in Column
input cell.
- Click ‘OK’.
We can get the corresponding profit value in
cells F10:J21.
Scenario Manager
- what-if analysis enables you to easily compare the results of
different scenarios.
• Scenario Manager
Dialog box opened then
Click on ‘Add’.
-Add Scenario
Dialog box
opened.
- Give the
name for
scenario.
- in the
changing cells
select the unit
price cell
address.
- Click ‘ok’.
• Going to create different scenarios: 20 unit price, 25 and 30 unit price.
-Assign 20 as the values for
the changing cells.
- similarly create scenario for
25 unit price and 30 unit
price.
- Select any scenario and click
‘Show’ button, we can view the
profit for that scenario in the
same worksheet.
To Get Summary Report: Click
‘Summary’
-Choose the
Scenario
summary as
Report type.
-- select the
profit’s cell
address as Result
cells.
- Click ‘OK’.
Result of Scenario
Summary:
To switch from
scenario summary
from worksheet:
Click on
Sheet1
Advanced
Filter &
Advanced
Filter with
Macros
Data
Validation
&
Handling
External
Data
What-if-
analysis

More Related Content

What's hot

Teaching Excel
Teaching ExcelTeaching Excel
Teaching Excel
sam ran
 
Basic Excel PPT Presentation.pptx
Basic Excel PPT Presentation.pptxBasic Excel PPT Presentation.pptx
Basic Excel PPT Presentation.pptx
ClengAP
 

What's hot (20)

Teaching Excel
Teaching ExcelTeaching Excel
Teaching Excel
 
Microsoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And FilteringMicrosoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And Filtering
 
Microsoft Excel Basics
Microsoft Excel BasicsMicrosoft Excel Basics
Microsoft Excel Basics
 
Excel Cell Format for Professional SpreadSheets
Excel Cell Format for Professional SpreadSheetsExcel Cell Format for Professional SpreadSheets
Excel Cell Format for Professional SpreadSheets
 
Libre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheetsLibre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheets
 
M.S EXCEL
M.S EXCELM.S EXCEL
M.S EXCEL
 
Ms excel
Ms excelMs excel
Ms excel
 
ms excel presentation...
ms excel presentation...ms excel presentation...
ms excel presentation...
 
excel charts
excel chartsexcel charts
excel charts
 
Formatting in MS Excel
Formatting in MS ExcelFormatting in MS Excel
Formatting in MS Excel
 
ms excel for mba first sem students of dr hs gour university sagar(m.p)
ms excel for mba first sem students of dr hs gour university sagar(m.p)ms excel for mba first sem students of dr hs gour university sagar(m.p)
ms excel for mba first sem students of dr hs gour university sagar(m.p)
 
MS Excel 2nd
MS Excel 2ndMS Excel 2nd
MS Excel 2nd
 
MS-EXCEL Assignment Help
MS-EXCEL Assignment HelpMS-EXCEL Assignment Help
MS-EXCEL Assignment Help
 
Types of charts in Excel and How to use them
Types of charts in Excel and How to use themTypes of charts in Excel and How to use them
Types of charts in Excel and How to use them
 
Ms excel
Ms excelMs excel
Ms excel
 
3. lookup functions in excel
3. lookup functions in excel3. lookup functions in excel
3. lookup functions in excel
 
Advanced Filter in Excel
Advanced Filter in ExcelAdvanced Filter in Excel
Advanced Filter in Excel
 
Using Excel Functions
Using Excel FunctionsUsing Excel Functions
Using Excel Functions
 
Basic Excel PPT Presentation.pptx
Basic Excel PPT Presentation.pptxBasic Excel PPT Presentation.pptx
Basic Excel PPT Presentation.pptx
 
Microsoft Excel Basics
Microsoft Excel BasicsMicrosoft Excel Basics
Microsoft Excel Basics
 

Similar to Advanced Filter Concepts in MS-Excel

Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
EPC Group
 
goalseekandsensitivityanalysis-221112123352-9fe0067e.pptx
goalseekandsensitivityanalysis-221112123352-9fe0067e.pptxgoalseekandsensitivityanalysis-221112123352-9fe0067e.pptx
goalseekandsensitivityanalysis-221112123352-9fe0067e.pptx
IrfanRashid36
 

Similar to Advanced Filter Concepts in MS-Excel (20)

Management of database information system
Management of database information systemManagement of database information system
Management of database information system
 
11 Organizing Project Details
11 Organizing Project Details11 Organizing Project Details
11 Organizing Project Details
 
003.query
003.query003.query
003.query
 
Watson Analytic
Watson AnalyticWatson Analytic
Watson Analytic
 
Excel presentation data validation
Excel presentation   data validationExcel presentation   data validation
Excel presentation data validation
 
Goal Seek And Sensitivity Analysis.pptx
Goal Seek And Sensitivity Analysis.pptxGoal Seek And Sensitivity Analysis.pptx
Goal Seek And Sensitivity Analysis.pptx
 
Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020
 
Mca 504 dotnet_unit5
Mca 504 dotnet_unit5Mca 504 dotnet_unit5
Mca 504 dotnet_unit5
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
 
Exam view dynamic recalculation files
Exam view dynamic recalculation filesExam view dynamic recalculation files
Exam view dynamic recalculation files
 
MS Excel 2013.pptx
MS Excel 2013.pptxMS Excel 2013.pptx
MS Excel 2013.pptx
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel Tutorial
 
goalseekandsensitivityanalysis-221112123352-9fe0067e.pptx
goalseekandsensitivityanalysis-221112123352-9fe0067e.pptxgoalseekandsensitivityanalysis-221112123352-9fe0067e.pptx
goalseekandsensitivityanalysis-221112123352-9fe0067e.pptx
 
Jaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
Jaspersoft and Clarity PPM - Advanced Reporting with Data WarehouseJaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
Jaspersoft and Clarity PPM - Advanced Reporting with Data Warehouse
 
BEX.pptx
BEX.pptxBEX.pptx
BEX.pptx
 
Excelpresentationdatavalidation
ExcelpresentationdatavalidationExcelpresentationdatavalidation
Excelpresentationdatavalidation
 
Elementary Data Analysis with MS Excel_Day-4
Elementary Data Analysis with MS Excel_Day-4Elementary Data Analysis with MS Excel_Day-4
Elementary Data Analysis with MS Excel_Day-4
 
R12 i setup doc
R12 i setup docR12 i setup doc
R12 i setup doc
 
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDER
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDERCREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDER
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDER
 

More from P. SUNDARI ARUN (6)

Python Programming for Beginners
Python Programming for BeginnersPython Programming for Beginners
Python Programming for Beginners
 
Material related to ICT
Material related to ICTMaterial related to ICT
Material related to ICT
 
Computer Fundamentals
Computer FundamentalsComputer Fundamentals
Computer Fundamentals
 
MS-Excel Working with Pivot Table
MS-Excel Working with Pivot TableMS-Excel Working with Pivot Table
MS-Excel Working with Pivot Table
 
MS-Excel Formulas and Functions
MS-Excel Formulas and FunctionsMS-Excel Formulas and Functions
MS-Excel Formulas and Functions
 
VBA in MS-Excel
VBA in MS-Excel VBA in MS-Excel
VBA in MS-Excel
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 

Advanced Filter Concepts in MS-Excel

  • 1. Advanced Filters • When you use the Advanced Filter, you need to enter the criteria on the worksheet. • Create a Criteria range above your data set. • Use the same column headers. Be sure there's at least one blank row between your Criteria range and data set.
  • 3. • Click any single cell inside the data set then Click ‘Advanced’ on the ‘Data’ tab. • In this example, filter based on year of completion and the city [AND criteria used]:
  • 4. Filter based on year of completion and the city [OR criteria used]:  Type the two criteria. Displays data which satisfies the above criteria. • Only display records which satisfies 2012 as year of completion and Chennai as City:
  • 5. Result of Advance Filter after using OR criteria:
  • 6. Using Macros with Advanced Filter Macros:  A macro can be defined as the recording of a series of tasks.  When used right, macros can save you hours by automating simple, repetitive tasks.  Marcos in Excel are written in Excel VBA (Visual Basic for Applications).
  • 7. Step 1: Activate the Developer Toolbar File -> Options -> Customize Ribbon and check the box next to ‘Developer’. - Click ‘OK’. Now Developer toolbar in the ribbon.
  • 8. Step-2: Type the data in a table format. For advanced filter, type the Criteria range and Data Set. -To remove the filter symbol, Click Data -> Filter.
  • 9. Create range name ‘lt’ for this Data set. ‘cr’ name for this range
  • 10. Step 3: Create a Macro-’advfilter’ - Developer-> Record Macro (or) View -> Macro -> Record Macro - Give the name for Macro[‘advfilter’] and click ‘ok’ -Data->Advanced in Sort & Filter Group In the List range: lt In the Criteria range: cr and Click ‘OK’ - Developer-> Stop Recording
  • 11. -Click ‘Insert’ Tab and Choose the Shapes. - Drag that into the work sheet. - Assign ‘Filter’ by right click and Edit Text.
  • 12. -Select the shape and right click. - Choose the Assign Macro.
  • 13. • Click ‘OK’ • Devloper -> Design Mode
  • 14. Click on ‘Filter’ button, we can get the result.
  • 15. DATA VALIDATION • Used to define valid sets of values for ranges of cells. To Create Data Validation Rule: 1. Select the Cell range. 2. On the Data Tab, Click Data Validation
  • 16. • On the Settings tab: 3. In the Allow list, click Whole number. 4. In the Data list, click between. 5. Enter the Minimum and Maximum values.
  • 17. Input Message • Input messages appear when the user selects the cell and tell the user what to enter. • On the Input Message tab: 1. Check 'Show input message when cell is selected'. 2. Enter a title. 3. Enter an input message.
  • 18.
  • 19. Error Alert • If users ignore the input message and enter a number that is not valid, you can show them an error alert. • On the Error Alert tab: 1. Check 'Show error alert after invalid data is entered'. 2. Enter a title. 3. Enter an error message.
  • 20.
  • 22. Example 1 - Enter positive integers: Example 2 - Entering a specific number of characters:
  • 23. Example 3 - Entering only the current date:
  • 24. Create a data validation Drop-Down List 1. Select the cell range where you want the drop-down list to appear. 2. On the Data tab, Click Data Validation command. 3. Select ‘List’ under ‘Allow’. 4. Type the range name where the list of data present or type the list of data with comma as separator .
  • 25.
  • 26.
  • 27. =coursename range name created in some other worksheet, which is used to create a list.
  • 28. Possible to mark the invalid Data….
  • 30. • Sometimes, the data you want isn't in your Excel workbook – it might be in a database, an XML file, on the web, in a text file, or in one of many other places. 1. Import a Text File 2. Import a Access File 3. Import a Web File
  • 31. 1.Import a Text File Steps: 1. Click ‘From Text’ under the Data Tab.
  • 32. 2. ‘Import Text File’ Dialog box opened. 3. Select the text file[e.g sun1.txt which is already exist], click on ‘Import’.
  • 33. 4. Click on ‘Finish’ button.
  • 34. 5. Choose the destination either existing worksheet or new worksheet.
  • 35. Now the selected text file’s content displayed….
  • 36. 2. Import Access File Steps: 1. Click ‘From Access’ under the Data Tab. 2. ‘Select Data Source’ dialog box opened. Choose which database to be imported.
  • 37. 3. ‘Import Data’ dialog box opened. Choose in which format data viewed in the worksheet and specify existing worksheet or new worksheet.
  • 38. 4. Click ‘Ok’. Current worksheet filled with selected table’s records.
  • 39. 3. Import Web File Create a connection to a webpage to use data from its tables in your workbook. Steps: 1. On the Data tab, click From Web. 2. In the Address box, enter the web address of the site with the data you want to connect to. 3. An arrow indicator like this means there's data nearby you can import. 4. Click the arrow indicator, click the Import button, and then click OK.
  • 40.
  • 41. What-if-analysis • What-If Analysis in Excel allows you to try out different values (scenarios) for formulas. • What-If Analysis is the process of changing the values in cells to see how those changes will affect the outcome of formulas on the worksheet.
  • 42. • Three kinds of What-If Analysis tools come with Excel: Scenarios, Goal Seek, and Data Tables. - Scenarios and Data tables take sets of input values and determine possible results. - Goal Seek takes a result and determines possible input values that produce that result. • In addition to these three tools, you can install add-ins that help you perform What-If Analysis, such as the Solver add-in. The Solver add-in is similar to Goal Seek, but it can accommodate more variables.
  • 43. Goal Seek • For example, suppose there is a store, which sells 1000 products one day with price of 15 and cost of 6 per product, thus the profit should be 1000*(15-6)=9000 dollars.
  • 44. • Now the owner wants to reach Rs. 10000 profit for one day, then you can use Goal Seek to determine how many products you have to sell for one day without changing price and cost. Steps: 1. Click ‘what-if-analysis’ in ‘Data Tools’ group under Data tab. 2. Click on ‘Goal Seek’.
  • 46. Data Table • If you have a formula that uses one or two variables, or multiple formulas that all use one common variable, you can use a data table to see all the outcomes in one place. One Variable Data Table: Suppose you want to know how the change on the unit price will change the daily profit.
  • 47. Gradually increase unit price by 1.5, for this change how profit affected done by using Data Table [one variable] Type =B6
  • 48. -Select the cells E8to F19. - click on what-if analysis in Data Tools Group. - select Data Table. -Only give Unit price cell address in the Column input cell. - Click Ok
  • 49. For changes in the Unit price, corresponding Profit calculated and displayed.
  • 50. Two Variables Data Table Changes in the product item sold Changes in the Unit price • Here changes applied on the two variables: Products Sold and Unit Price. • Find the Profit. Products sold Unit price Cost per product =B6
  • 51. -Select the cells F10 to J21. - click on what-if analysis in Data Tools Group. - select Data Table. -Select the cell address of Product Sold in Row input cell and Unit Price in Column input cell. - Click ‘OK’.
  • 52. We can get the corresponding profit value in cells F10:J21.
  • 53. Scenario Manager - what-if analysis enables you to easily compare the results of different scenarios.
  • 54. • Scenario Manager Dialog box opened then Click on ‘Add’. -Add Scenario Dialog box opened. - Give the name for scenario. - in the changing cells select the unit price cell address. - Click ‘ok’. • Going to create different scenarios: 20 unit price, 25 and 30 unit price.
  • 55. -Assign 20 as the values for the changing cells. - similarly create scenario for 25 unit price and 30 unit price.
  • 56. - Select any scenario and click ‘Show’ button, we can view the profit for that scenario in the same worksheet. To Get Summary Report: Click ‘Summary’ -Choose the Scenario summary as Report type. -- select the profit’s cell address as Result cells. - Click ‘OK’.
  • 57. Result of Scenario Summary: To switch from scenario summary from worksheet: Click on Sheet1