Excel For 2010
Excel For 2010
MS-EXCEL 2010
1
C
H INTRODUCTION TO
Office automation-MS-Excel 2010
A
P MS-EXCEL 2010
T
E
R
LEARNING OBJECTIVES
To understand the basics of spreadsheet application
To create a worksheet file
To enter and edit data in the worksheet file
Ribbon
Row Number
Sheet Tab
Cell reference
A cell reference is the name of some cell in a spreadsheet. Most cell references indicate another cell
in the same spreadsheet, but a cell reference can also refer to a cell in a different sheet within the
same spreadsheet, or (depending on the implementation) to a cell in another spreadsheet entirely,
or to a value from a remote application.
A typical cell reference consists of one or two case-insensitive letters to identify the column followed
by a row number. Either part can be relative (it changes when the formula in it is moved or copied),
or absolute (indicated with $ sign in front of the part concerned of the cell reference).
A cell on the same“sheet”is usually addressed as:- = A1
A cell on a different sheet of the same spreadsheet is usually addressed as:-
=SHEET2!A1(that is; the first cell in sheet 2 of same spreadsheet)
Some spreadsheet implementations allow a cell reference to another spreadsheet (not the current
open and active file) on the same computer or on a local network. It may also refer to a cell in another
LEARNING OBJECTIVES
To understand cell references and ranges
2.2 RANGES
A range is a rectangular group of cells. The smallest range is a single cell and the largest range includes
all the cells in the worksheet. A range can include cells from same sheet or cells from adjacent sheets.
Ranges are defined by the addresses of two opposite or diagonally paired corner cells separated by
a colon (:) or two dots (..).
2.2.1 Naming Ranges
The user can apply a name to refer to a cell or a range of cells, rather than using cell addresses as
references. Names provide multiple benefits:
Names are more descriptive and easier to remember than cell addresses.
2.3 FORMULAE
When using a formula in the spreadsheet, (a cell containing a formula that references other cells), the
result will automatically change as other cell values referenced in the formula change. This feature
is very valuable when editing or adding information to the worksheet. The user does not have to
remember to update other cells that rely on that cell’s information.
A formula always begins with an equal sign (=) followed by some combination of numbers, text,
cell references, and operators. If a formula is entered incorrectly, an ERROR IN FORMULA message
will appear.
2.3.1 Formula Operators
Operators are used in formulas to execute operations on the values taken by formulas. The four
categories of operators are:
Arithmetic operators (+,-,*,/,%,^) are used in conjunction with numbers to create mathematical
formulas. “-“ operator can also be used for negation of a number, e.g. “=-5+2” will give result -3.
“%” operator is Percentage operator, e.g. “=6%” will give result 0.06.
Text concatenation operator (&) is used for joining text within quotation marks or text contained
in referenced cells. E.g. If cell A10 contains the text “Excel”, then =”MS “&A10 will give result “MS
Excel”.
3. Select the cell, and on the Formulas Tab, in the Formula Auditing group, click Trace Precedents
twice.
4. To remove all tracer arrows, on the Formulas Tab, in the Formula Auditing group, click Remove
Arrows.
LEARNING OBJECTIVES
To learn formatting and restructuring of worksheets
To learn creating and using charts
To work with sparklines
To understand the concept of macros
Fig. 3.9.5: Sparkline with and without the Date Axis Type
In the example shown here, there are two column sparklines that use data from the same range. The
sparkline with the “Trend” label uses the General Axis Type and the sparkline with the “Trend
(Date Axis Type)” label uses the Date Axis Type. In each sparkline, the first two data points are
separated by two months and the second and third are separated by seven months. By applying the
Date Axis Type, the space between the three columns changes proportionally to reflect the irregular
time periods.
Note: To use relative references, on the Developer Tab, in the Code group, select Use Relative
References.
3.10.2 Running a Macro
1. On the Developer Tab, in the Code group, click Macros. The Macro dialog box appears.
3.11 HYPERLINK
A hyperlink is a link from an Excel file that opens a Web page or another file when it is clicked.
3.11.1 Create a Hyperlink to a new file
1. On a worksheet, click the cell where the user wants to create a hyperlink.
Tip: We can also select an object, such as a picture or an element in a chart, that we want to use
to represent the hyperlink.
2. On the Insert Tab, in the Links group, click Hyperlink.
Tip: We can also right-click the cell or graphic and then click Hyperlink or we can press CTRL+K.
The Insert Hyperlink dialog box appears.
Fig. 3.12.1: Selecting the original data type in Text Import Wizard
6. Mark other delimiters until a parsed data, arranged in neat columns appears in the Data preview
window. Then click Next.
8. Click Finish and the data gets imported into the worksheet.
SOURCES
1. Microsoft® Excel 2010 In Depth, Bill Jelen, Que Publishing,2010
2. Microsoft Office Excel 2010 QuickSteps [Paperback], John Cronan,McGraw-Hill Osborne Media;
2 edition April 19, 2010
3. Master VISUALLY Excel 2010 [Paperback], Elaine Marmel,Visual; 1 edition July 20, 2010
4. web.utk.edu
5. www.exinfm.com
6. www.chicopee.mec.edu
7. www.lacher.com
8. www.jaxworks.com
9. http://spreadsheets.about.com/od/excelcharts/ss/2010-06-19-excel-2010-sparklines-
overview-2_4.htm
LEARNING OBJECTIVES
To gain understanding of Working with Tables
To understand Sorting, Filtering, Subtotal
To understand Consolidation of Data
To understand What if Analysis
To understand use of Goal Seek, Scenarios, Solver
To understand use of Statistical Analysis
INTRODUCTION
Imagine making a long list of names and addresses or Telephone numbers or dates or anything
for that matter and putting it in order. Putting a list in order accomplishes several goals, including
making our list easier to read and use, making it appear more orderly and giving the content a
perceived priority. Now that priority can of course change, as the same list can be put in order
or sorted by any field within the list.
We enter data into an Excel Worksheet so that we can analyse it, manipulate it or turn it into
a report. So any serious user of excel should be comfortable working with lists (now Tables in
Excel 2010) organizing data, labeling it, editing it etc.
We can utilize the potential of Excel by putting data in tables.
Each row represents different transaction.
Each column represents a different variable i.e. field.
Each column is headed by name of that variable or header.
In the Tables,we might have some preferred order for maintaining and viewing the records.
Depending on the need, we may want the table arranged alphabetically or date wise as in case
of Date of birth or some custom sort.
Tip:
Excel has got IntelliSense,we need to follow some rules to keep the data in Table format which
makes powerful data commands possible.
Use only a single row of headings above the data. If we need to have a two-row heading,
set it up as a single cell with two lines in the row.
Never leave one heading cell blank. We might do this if we add a temporary column. If we
forget to add a heading before we sort, this will affect the IntelliSense and Excel will sort
the headings down into the data.
4.1 SORTING
Excel allows us to sort on various criteria. We can sort data by:-
text (A to Z or Z to A),
numbers (smallest to largest or largest to smallest),
dates and times (oldest to newest and newest to oldest),
custom list (such as Large, Medium and Small),
cell color,
font color or
cell icon.
Excel further gives us the option of
One Click sorting or quick sorting -we can quickly sort your data by using the A-Z and
Z-A Sort buttons on the Ribbon’s Data tab.
Sort Dialog Box – We can also sort on various criteria through Sort Dialog Box on the
Data tab.
Case Study 4.1: In a Bank audit we are given a locker list with the header details Locker No.,
Name, Due Month, Arrear, Annual Rent, date_Access. As shown in Fig 4.1.1. We want to analyse
the locker data on various criteria.
Fig. 4.1.9: Sort Dialog box with due month sorted in order Financial year
10. We can add a level by clicking on Add Level in all we can sort upto 64 levels. Apart from
values we can sort on Cell color, Font Color & Cell Icon as shown in Fig. 4.1.10.
4.2 FILTER
We often want to extract figures more than a certain limit from our list, we again want to know
sales made by john in a list of sales. Fortunately, Excel includes an easy-to-use Filter to show just
what we want to see and hide the rest. Filtering doesn’t change our data in any way. As soon as
we remove the filter, all our data reappears, exactly the same as it was before.
Filtering is a way that we can use Excel to quickly extract certain data from our spreadsheet.
Unlike sorting, filtering doesn’t just reorder the list. It actually hides the rows or columns
containing data that do not meet the filter criteria we define. Excel has an AutoFilter feature
that makes it very easy to extract data from our spreadsheet. After filtering data, we can copy,
find, edit, format, chart and print the subset of filtered data without rearranging or moving it.
In Excel 2010, if we’re using an Excel Table, it has built-in filtering features. If the data is not in
an Excel Table, we can bring it up from Filter under Sort & Filter in Data Tab.
We can also filter by more than one column. Filters are additive, which means that each additional
filter is based on the current filter and further reduces the subset of data.
Case Study 4.2: As an auditor in a Bank we are given a Locker list. We want to create a Vacant
locker list, so that we can match the keys physically available with the branch manager with
vacant Lockers in the branch.
Strategy:
We can find records matching a certain criteria by using Filter under Data Tab as shown in
Fig.4.2.1, since we want to create a list of all lockers with name Vacant we can use Filter feature
in Excel.
Fig. 4.3.2: Use Less than option under Number filters to get cases where spread< 1%
Gist: We have created a list of cases where spread of ROI charged on loan and ROI paid on FDR
is less than 1%.
Commands learnt: Data > Filter- Advanced
4.4 SUBTOTALS
Many times we need to showmore complex information arranged in Tables, especially if it’s split
into separate groups, each with its own SUBTOTALS. For Example we could have data which
could make more sense if we have Quarterly or Yearly or Region wise subtotals. The Subtotal
tool lets us create groups and subtotals all in one click a feature that can save us lots of time.
Excel’s Subtotal feature helps you draw specific information from one or more subsections of a
database or list of data.
In addition to finding the subtotal for selected rows of data, you can also use the Subtotal feature
to find, among other things, the average value for the selected range of data, the largest and
smallest values or the total number of rows of data included in the range.
Case Study 4.4: We have Datewise & lorrywise list of freight paid to various Lorries as shown in
Fig. 4.4.1 we want to check for cases where total freight paid to any lorry is more than Rs. 75000
so that we could check for TDS compliance under Income Tax.
Fig.4.5.3: Use Sum under function and add the reference & other options
7. In the Function box, click the operation we want to use to consolidate the data. Since we
want to Annual results we will use SUM (there are however 11 operations possible)
Sum, Count, Average
max, Min, Product
Count Nums, STDdev
StdevP, Var, VarP
8. In the Reference box, enter a source area we want to consolidate. If the worksheet that
contains the data that we want to consolidate is in another workbook, click Browse to locate
that workbook and then click OK to close the Browse dialog box.
In our case since we have defined Name range and sheets are in the same workbook. So press
F3 on keyboard to open name ranges in Paste Name dialog and select Quarter_1, rather than
selecting sheets manually, which could be hectic if we are dealing with huge spreadsheet.
9. Click Add.
10. Repeat steps 8 and 9 for each source area to consolidate i.e. Quarter_2, Quarter_3 and Quarter_4
respectively.
Fig. 4.6.1: Quarterly Operating Results for 4 Quarters with different layout
Strategy:
We can help him consolidate the same using excel as follows:
Consolidate Data by Category:
1. The steps 1-10 are the same as in case Study1.5
2. While consolidating- Under Use labels in, select the check boxes that indicate where the
labels are located in the source area: either the top row, the left column or both.
3. To update the consolidation table automatically when the source data changes, select the
Create links to source data check box.
4. Labels in a source area that do not match any labels in the other source areas result in
separate rows or columns when we consolidate data.
5. In this case also result is as shown in Fig. 4.6.2.
Fig. 4.9.1: Invoice list of HO in Columns A-C and Branch in Columns D-F
Strategy:
We can use Consolidate function in Excel as follows
CONSOLIDATING MULTIPLE LISTS IN SINGLE WORKSHEET
1. Go to a blank section of the worksheet, such as cell G1 and select Data>Consolidate.
2. In the Consolidate dialog, choose range A1:C15 as the reference, Click Add.
3. Repeat step 2 for range D1:F15
4. In Use Labels in select Top Row and Left Column, as shown in Figure 4.9.2. Click OK.
Fig. 4.9.2: Select Two lists as ranges & Enable Top Row & Left Column
5. The resultant range we get a customerwise aggregation of invoice totals as shown in Fig.
4.9.3.
Fig. 4.10.2: Goal Seek under What-if Analysis under Data Tools
2. Activate Goal Seek Dialog Box.
3. The “Set cell” must always contain a formula or a function, in this case set it to cell B8.
4. Under “To Value” enter 21000 which is the target EMI.
Fig. 4.11.2: Scenario manager under What-if Analysis under Data Tools
2. The Scenario Manager dialog box appears.
3. To create a scenario, click the Add button.
4. An Add Scenario dialog box appears.
5. Type the name of the scenario (Best Case, in this example) in the Scenario Name text box,
specify the Changing Cells (if they weren’t previously selected) and click OK as shown in
Fig.4.11.3.
Fig. 4.11.5: All the scenarios are displayed we can see any scenario using show
12. To have Excel plug the changing values from any scenario into the table, click the scenario
name in the Scenarios list box and then click Show.
13. Click the Close button when we’re finished with the Scenario Manager. After adding the
various scenarios for a table in ourworksheet; don’t forget to save the workbook.
14. That way, we’ll have access to the various scenarios each time we open the workbook in
Excel by opening the Scenario Manager, selecting the scenario name and clicking the Show
button.
15. We can also create a summary by clicking Summary on Scenario Manager Dialog Box.
16. A scenario summary dialog box would appear, by specifying the result cells, a summary
report can be created as shown in Fig. 4.11.6.
4.7 SOLVER
In many situations we want the best way to do something. Excel Solver can solve problems for
us. That simple!
Solver is an Excel add-in that can solve problems by enabling a Target cell to achieve some goal.
This goal may be to minimise, maximise or achieve some target value.It solves the problem by
adjusting a number of input cells according to a set of criteria or constraints which are defined
by the user.
Solver is a planning and analysis tool that enables users to find optimal solutions for Excel models
that maximize profit or minimize cost or risk, by automatically adjusting multiple input cells. It
is used in a wide range of industries, with a common thread of finding the best way to allocate
scarce resources.
Solver in Excel 2010, was developed by Frontline Systems Inc. and licensed to Microsoft. Frontline
offers more powerful Solvers, for use inside and outside Excel, directly to end users via its Website
http://www.solver.com.
For a given problem, excel solver can run various permutations and combinations and find out
best possible solution for us. It is like goal seek, but better.
For Goal Seek with more than one changing cell use solver. Wherever complex trial and error
analysis is required solver should be used. Solver can alter a formula not just to produce a set
value but also to maximize or minimize the results. Solver helps us answer optimization problems
elegantly.
An optimization model has three parts:
Target cell - represents the objective or goal. Multiple Target can also be there.
Changing cells-which can be changed/ adjusted to optimize Target.
Constraints- Logical conditions within which solution is desired.
Solver is available in Excel as an Add-in.
To install Solver, click the File tab, click Options and then click Add-Ins.
Fig.4.7.3: Solver
The Solver Parameters dialog box will appear as shown in Fig. 4.7.4.
Fig. 4.12.4: Solver dialog Box with constraints & other options
13. After we click Solve, Solver calculates an optimal solution (if one exists) for the product
mix model. An optimal solution to the product mix model would be a set of changing cell
values (Litres produced of each Flavour) that maximizes profit over the set of all feasible
solutions.
14. The result we get is as shown in Fig 4.12.5
Fig. 4.12.5: Solution given by solver optimising the production of product mix
Fig. 4.13.4: Descriptive Statistics for USD & Euro daily Rates
Here, n equals the number of observations in the sample and x is the ith observation in the sample.
Thus Mean Rate of USD is 51.80. Thus, we can think of a data set’s mean as a “balancing point” for
the data. This information can obtained by use of AVERAGE Function in excel to calculate mean.
Median: The median of a group of observations is usually and somewhat casually, thought of as
the middle observation when they are in sorted order half the observations lie below the median
while half lie above it. When a sample includes an even number of observations, we can simply
average the two middle observations. The median is right on the 50th percentile of any Sample.
This information can also be obtained by using the MEDIAN function.
Mode: If we’re thinking of average as a measure of what’s most popular, we’re usually thinking
in terms of a mode—the most frequently occurring value. Mode tells us which one of several
categories occurs most frequently. Thus for USD no value occurred more than once the mode is
#NA and for Euro Mode is 67.65 because Value 67.65 occurred more than once. This information
can be obtained by using the MODE function also.
When to use Mean, Median or Mode: If the data is Symmetric i.e. does not have an excessive
skew mean is better Otherwise median is a better measure wherever there is excessive skew.
Like If we are to look at property prices in New Delhi, Median would be a better measure since
some properties could be very highly priced thereby distorting the mean.
Skewness: Skewness quantifies the lack of symmetry in a probability distribution. A skewed
distribution has values whose frequencies bunch up in one tail and stretch out in the other tail.
A skew of greater than +1 indicates high positive skew.
A Skew of less than -1 indicates a high negative skew
A skew between -1 and +1 indicate relatively symmetric data.
In the above case Euro indicate a slight positive skew.Whereas USD shows almost symmetric
distribution.
Kurtosis: A distribution might be symmetric but still depart from the normal pattern by being
taller or flatter than the true normal curve. This quality is called a curve’s kurtosis. Positive
kurtosis means a data is more peaked than Normal random variable.
Sample variance and sample standard deviationA standard deviation describes how values in a
data set vary around the mean. Another way to say this same thing is that a standard deviation
describes how far away from the mean the average value is. In fact, we can almost think of a
standard deviation as being equal to the average distance from the mean, not exactly the technical
definition but pretty close concept.
Sample variance is the average squared deviation of the data from its mean. Intuitively, it seems
like we should divide by n to compute a true average squared deviation, but for technical reasons
we need to divide by n–1. Dividing the sum of the squared deviations by n–1 ensures that the
sample variance is an unbiased measure of the true variance of the population from which the
sampled data is drawn. Wecalculate the variance before we calculate the standard deviation.
Standard deviation S is just the square root of S2. It’s a deviation because it expresses a distance
from the mean: a departure from the mean Value The variance is a different matter. It’s the square
of the standard deviation and it’s fundamental to statistical analysis,
Range: The maximum value in a set minus the minimum value. It’s usually helpful to know
the range of the values in a frequency distribution, if only to guard against errors in data entry.
Many valuable insights can be derived from descriptive statistics. Descriptive statistics can be
used to compare two data sets. For example in the data i.e. daily rates of USD & EURO above
we can conclude the following:
Euro rates are more variable as compared to USD (if we look at Standard deviation, Variance
& range).
Euro rates are more positively skewed as compared to USD which are more symmetric
(Skewness).
Fig. 4.16.1: Worsheets with customer Information & customer telephone list
Strategy:
We can use Vlookup to get the Telephone number of customer in Col D of sheet Cust info.
1. The formula would be =VLOOKUP(A2,’Telephone List’!$A$1$:$B17,2,FALSE)
2. In this case Arguments are
Lookup value is A2 i.e. customer no.
Range is $A$1$:$B17 in worksheet ‘Telephone List’
Column No is 2 i.e. 2nd column of range.
Range lookup- now here lies the trick. If we omit it, Vlookup will try to find approximate
match which we don’t desire. In this case we are interested in exact match so we will be
using “False” so that VLookup returns an exact match
Fig. 4.16.2: To get the telephone number of customer we will use a Vlookup Formula
Gist: We have joined two lists using Vlookup
Commands Learnt: Vlookup Function
4.12 SUMMARY
Excel is an invaluable tool for Consolidation and data analysis by grouping together related data
and rearranging it in the worksheet, it becomes easier to analyze and interpret the data in Excel.
In this chapter, we learned how to apply the different tools available in Excel to organize and
analyze the data. We learned to apply tools like sorting, filters, subtotals and outlining to view
and summarize data as per specific needs. Sorting allows you to rearrange the data while filters
allow for selective viewing of the data. Subtotals and outlines provide options to group the data
in order to view the aggregates. We also learned to consolidate and summarize data given in
different worksheets/workbooks into one single data range.
Finally, we learned to use data analysis tools provided in Microsoft Excel like Goal Seek, Scenarios
and Solver to look at the current state of data, make changes and see how those changes affect
the rest of your data. Goal Seek can work with only one variable while Solver can work with
multiple variables simultaneously. We also learnt to search for data using Logical Functions
NestedIF and the star function of Excel,Vlookup.
In addition, we learned how to install Excel add-ins and use them for performing various kinds
of statistical analysis on the data.
REFERENCES
1. Greg Harvey, ‘Excel 2010 For Dummies’, Wiley Publishing, Inc., Indianapolis, Indiana,2010
2. Conrad Carlberg, ‘Statistical Analysis: Microsoft Excel 2010’,Que Publishing,2011
3. www.chandoo.org
4. www.solver.com
LEARNING OBJECTIVES
Understanding data validation features of Excel
Understanding creation of Drop-Down list
Understanding display of Invalid data
Understanding Protection of Cell, Worksheet
Understanding Protection of a shared workbook
5.1 INTRODUCTION
Data validation is an Excel feature that we can use to define restrictions on what data can or should
be entered in a cell. The data can be protected by simply locking it down, preventing anyone
fromchanging it.
When we’re the only one populating an Excel worksheet with data, it’s not too likelythat the wrong
data will be entered. But things are not the same if many people are populating an excel worksheet.
Fortunately, Excel has data Validation and Workbook protection features to help reduce errors
prevent accidental or intentional modification of data. Using them, we can:
Prevent people from changing a worksheets structure (inserting or deleting cells, columns,
or rows).
Prevent people from changing a worksheet’s formatting (including the number format or
other formatting details like column width and cell color).
Prevent people from editing certain cells.
Prevent people from entering data in a cell unless it meets certain criteria.
Provide additional information about a cell in a pop-up tip box.
Prevent people from editingor even seeingthe spreadsheet’s formulas.
Prevent people from moving to cells they don’t need to edit or inspect.
The reasons for putting in protection could be many ranging from, we don’t want other people to
tamper with data or to prevent errors especially when the workbooks are shared with data validation,
we can lockout certain types of errors and guide the people using our workbook to make surethey
fill in the right information.
Among other things, we can use data validation to do the following:
Restrict data to predefined items in a list e.g. Only Specified Departments
Restrict numbers outside a specified range e.g. between 100 and 600
5.12 SUMMARY
Workbooks are meant to be shared but it is important that anybody using our workbook accidentally
or intentionally messes with our workbook.
REFERENCES
1. Greg Harvey, ‘Excel 2010 For Dummies’, Wiley Publishing, Inc., Indianapolis, Indiana, 2010.
2. Laurie Ulrich Fuller et al, ‘Picture Yourself Learning Microsoft Excel 2010’Cengage Learning
2011.
3. www.chandoo.org
LEARNING OBJECTIVES
To gain understanding of PivotTables
To understand Creating, Sorting, Grouping in PivotTables
To understand Drill-Down in PivotTables
To understand Calculations in PivotTables
To understand PivotCharts
INTRODUCTION
In a number of situations we need to analyse data on multi-dimensional perspective. We might
need to slice & dice data. Like out of a sales report of sales made in different periods, in different
departments, of different products, by different salesmen, of different amounts; we need overview of
sales period wise, salesmen wise, product wise, with different subgroups; for that matter we might
have a hundred data points to track. All this is possible using a star feature of Excel called PivotTables.
The PivotTables tool is one of the most powerful yet intimidating features in Excel. Pivot tables
allow us to turn our data inside out, upside down, sideways and backwards, quickly summarize
and analyze large amounts of data in lists and tables—independent of the original data layout in our
spreadsheet—by dragging and dropping columns to different rows, columns or summary positions.
Excel PivotTables are very useful and powerful feature of MS Excel. They can be used to summarize,
analyze, explore and present our data. Source data could be:
An Excel worksheet database/list or any range that has labeled columns.
A collection of ranges to be consolidated. The ranges must contain both labeled rows and
columns.
A database file created in an external application.
The data in a PivotTable cannot be changed as it is a summarized view of other data. Any change if
needed has to be done in source data.
We often use a PivotTable report when we want to analyze related totals, especially when we have
a long list of figures to sum and we want to compare several facts about each figure.
Here are some example uses of PivotTables:
Summarizing data like finding the average sales for each region for each product from a
product sales data table.
Listing unique values in any column of a table.
6.9 SUMMARY
Through the use of PivotTables we can examine the data for similarities, differences,highs and lows.
Compare one region to another, view key results for several years of data or zero in on oneproduct’s
sales results. By making a few quick changes to the pivot table, we can see our data from a completely
different angle.
We have in this chapter learnt to Create and Modify PivotTables. Sorting and filtering Pivot Tables
helps us in seeing the small picture out of the broader view of the data. The data can be grouped
based on values, Dates, headings etc.
To get a visual picture of data we have learnt to use PivotChart Reports.
REFERENCES
[1] Greg Harvey, ‘Excel 2010 For Dummies’, Wiley Publishing, Inc., Indianapolis, Indiana,2010.
[2] Debra Dalgleish,’Beginning Pivot Tablesin Excel 2007’,Apress,2011.
[3] www.chandoo.org
[4] www.contextures.com
LEARNING OBJECTIVES
Introduction
Importing data from a text file
Exporting data to a text file
Saving all or part of a workbook to a static web page
Create a Web query
7.1 INTRODUCTION
As Bank auditors, we find that many Banking applications generate text files in txt or csv format,
these files we would need for our data analysis, but Text files do not provide us with data analysis
capabilities. Whereas if the same could be converted to Excel File, we could get lot of data analysis
capabilities.
Excel provides us with these capabilities to import and export data
Tab Delimited
SUMMARY
In this chapter we have learnt It is easy to take content/data from another non-Office application
and bring it into an Excel, we learned how to convert Text file in Tab delimited or csv or Fixed
width files to Excel file. We have also learnt to import external data as refreshable/ changing
dynamic data
Finally, we learned to use to create a static web page and web query from Excel data
REFERENCES
[1] Laurie Ulrich Fuller et al, ‘Picture Yourself Learning Microsoft Excel 2010’ Cengage Learning
2011
[2] h t t p : / / o f f i c e . m i c r o s o f t . c o m / e n - u s / e x c e l - h e l p / r e d i r / A M 0 1 0 3 3 8 5 4 2 . a s p x ?
CTT=5&origin=HA010338210
LEARNING OBJECTIVES
To gain understanding of Working with big Database
Dynamic update of additional source data into PivotTable
To understand Grouping feature in PivotTable
Managing File sizes while working with multiple PivotTable
To understand Slicers and Timelines in PivotTable
To analysis data in PivotTable from different angle
Perform calculations in PivotTable
Sort Data in Pivot
Produce Top/Bottom Reports
To understand How to handle millions of rows in PivotTable
8.1 INTRODUCTION
We understood the Table and Database concept in earlier chapters. Now to get maximum output
from our database, we need to analyze and manipulate data to turn it into a great report. To do
this, the most powerful and user friendly feature in excel is PivotTable. Microsoft has introduced
lots of new features in 2010 version of PivotTable which are very helpful to create our reports in
different angles and even to create very beautiful dynamic dashboards and charts.
We can utilize the potential of PivotTable in these ways.
Making report with any permutations and combinations
Group data in Years, Quarters, Months and even in Weeks
New feature of Slicers to make filtering very interactive
Connecting slicer to multiple PivotTables and make dynamic dashboard
Performing calculations or formulas in PivotTable itself
Format and sorting pivot reports differently
Tip: Excel is very intelligent. If we follow some rules to keep our data in Excel understandable format,
then it will make our handling and reporting of data easy.
Use only a single row of headings above the data. If we need to have a two-row heading, set it
up as a single cell with two lines in the row.
Fig 8.3.5
Click Ok.
Now your PivotTable will automatically pick new data added into your source sheet. To automatically
update PivotTable once new data added in source sheet, just refresh PivotTable.
Note: If we select a base field that isn’t in the row or column area, all the results will show an #N/A
error. Also, if there’s an error in any month’s results, it will carry down through the remaining months.
The final result with running totals will be like this screen shot as show in Fig 8.7.3
Fig 8.7.4
In the next PivotTable, Month has been moved to the Row area, and the Value field of sale Amount
still shows a running total, based on Month.
This layout takes more room, and it is more difficult to compare the customers and months.
Fig 8.7.5
Fig 8.7.6
Fig 8.8.7 The Bonus field appears in the Values area of the PivotTable
Fig 8.8.10
Temporarily Remove a Calculated Field
To temporarily remove a calculated field from a PivotTable, follow these steps:
In the PivotTable, right-click a cell in the calculated field. In this example, we’ll right-click the
Bonus field.
In the popup menu, click the “Remove” command that shows the name of the calculated field
as shown in Fig 8.8.11
Fig 8.10.9
Ten percent of the grand total is 4,393, and we can use a Top 10 filter to find the top or bottom cities
combine to total at least that amount.
To see only the top/Bottom selling that contributes to 10% of the total sales amount, follow these steps:
In the PivotTable, click the drop down arrow in the City field heading.
In the pop-up menu, click Value Filters, then click Top 10.
In the Top 10 Filter dialog box, change the settings to Bottom 10 Percent Sales.
Fig 8.10.10
The results change, to show only the bottom 4 cities dates, because their combined sales are lesser
than 10% of the original grand total amount.
Fig 8.10.11
Fig 8.11.2
The ribbon now has a PowerPivot tab as shown in Fig 8.11.3.
Fig 8.11.7
8.13 REFERENCES
1. www.support.office.com
2. www.contexures.com
3. www.chandoo.org
4. www.excel.tips.net
9.1 INTRODUCTION
We understood the Multi-Dimensional Analysis of Data in earlier chapter, now let’s learn how to
analyze, manipulate and turn database into an interactive and dynamic dashboard.
A dashboard is an efficient and concise way to communicate the crucial information and performance
overview generated with various tools and databases, with senior level executives and top
management, on a single screen.
Stephen Few author of Information Dashboard Design, explains –
“A dashboard is a visual display of the most important information needed to achieve one or more objectives;
consolidated and arranged on a single screen so the information can be monitored at a glance.”
Just as the automobile’s dashboard provides all the critical information needed to operate the
vehicle at a glance, a BI dashboard serves a similar purpose whether you’re using it to make strategic
decisions for a huge corporation, run the daily operations of a team, or perform tasks that involve
no one but yourself. The means is a single-screen display; the purpose is to efficiently keep in touch
with the information needed to do something.
Fig 9.11.2 1st Chart is Product wise Sale & 2nd Chart Salesperson wise Sale
In 3rd Chart, we are taking ageing of Revenue with a grouping of 30 to know in each pricing band
how many items were sold. For this once we bring Revenue filed in Row Area, Right click any cell
and Select Group and in Group by give 30 as shown in Fig 9.11.3
9.15 SUMMARY
As we have learnt in this chapter, the purpose of a dashboard is to effectively display the necessary
and sufficient data with added visual impact as required by the potential audience. The layout of
the dashboard and its components vary across the different viewers based on their preferences.
Excel 2010 is a great tool for creating interactive and dynamic dashboard and then analyzing multi-
dimensional data in different ways with click of button. In this chapter, we learned some great
features like type of dashboards, benefits, getting your data ready, different features of excel which
help to make our dashboard work like grouping, table, Charts, Slicers, etc. Converting data in to
Table made our Pivot table dynamically linked to source data while appending. Slicers and timelines
(Excel 2013 feature) are great features to make our dashboard dynamic.
9.16 REFERENCES
www.support.office.com
www.tutorialspoint.com
www.chandoo.org