Wednesday, 31 May 2017

Advanced Excel - Quick Guide ~ GNIITHELP

Advanced Excel - Chart Recommendations

Change in Charts Group

The Charts Group on the Ribbon in MS Excel 2013 looks as follows −
Change in Charts Group
You can observe that −
  • The subgroups are clubbed together.
  • A new option ‘Recommended Charts’ is added.
Let us create a chart. Follow the steps given below.
Step 1 − Select the data for which you want to create a chart.
Step 2 − Click on the Insert Column Chart icon as shown below.
Insert Column Chart
When you click on the Insert Column chart, types of 2-D Column Charts, and 3-D Column Charts are displayed. You can also see the option of More Column Charts.
Step 3 − If you are sure of which chart you have to use, you can choose a Chart and proceed.
If you find that the one you pick is not working well for your data, the new Recommended Charts command on the Insert tab helps you to create a chart quickly that is just right for your data.
Recommended Charts

Chart Recommendations

Let us see the options available under this heading. (use another word for heading)
Step 1 − Select the Data from the worksheet.
Step 2 − Click on Recommended Charts.
The following window displaying the charts that suit your data will be displayed.
All Recommended Charts
Step 3 − As you browse through the Recommended Charts, you will see the preview on the right side.
Step 4 − If you find the chart you like, click on it.
Step 5 − Click on the OK button. If you do not see a chart you like, click on All Charts to see all the available chart types.
Step 6 − The chart will be displayed in your worksheet.
Step 7 − Give a Title to the chart.
Charts Title

Fine Tune Charts Quickly

Click on the Chart. Three Buttons appear next to the upper-right corner of the chart. They are −
  • Chart Elements
  • Chart Styles and Colors, and
  • Chart Filters
You can use these buttons −
  • To add chart elements like axis titles or data labels
  • To customize the look of the chart, or
  • To change the data that’s shown in the chart
Fine Tune Charts

Select / De-select Chart Elements

Step 1 − Click on the Chart. Three Buttons will appear at the upper-right corner of the chart.
Step 2 − Click on the first button Chart Elements. A list of chart elements will be displayed under the Chart Elements option.
Chart Elements Option
Step 3 − Select / De-select Chart Elements from the given List. Only the selected chart elements will be displayed on the Chart.
Select Chart Elements

Format Style

Step 1 − Click on the Chart. Three Buttons will appear at the upper-right corner of the chart.
Step 2 − Click on the second button Chart Styles. A small window opens with different options of STYLE and COLOR as shown in the image given below.
Step 3 − Click on STYLE. Different options of Style will be displayed.
Chart Styles
Step 4 − Scroll down the gallery. The live preview will show you how your chart data will look with the currently selected style.
Step 5 − Choose the Style option you want. The Chart will be displayed with the selected Style as shown in the image given below.
Selected Chart Styles

Format Color

Step 1 − Click on the Chart. Three Buttons will appear at the upper-right corner of the chart.
Step 2 − Click on Chart Styles. The STYLE and COLOR window will be displayed.
Step 3 − Click on the COLOR tab. Different Color Schemes will be displayed.
Color Schemes
Step 4 − Scroll down the options. The live preview will show you how your chart data will look with the currently selected color scheme.
Step 5 − Pick the color scheme you want. Your Chart will be displayed with the selected Style and Color scheme as shown in the image given below.
Selected Color Schemes
You can change color schemes from Page Layout Tab also.
Step 1 − Click the tab Page Layout.
Step 2 − Click on the Colors button.
Step 3 − Pick the color scheme you like. You can also customize the Colors and have your own color scheme.

Filter Data being displayed on the Chart

Chart Filters are used to edit the data points and names that are visible on the chart being displayed, dynamically.
Step 1 − Click on the Chart. Three Buttons will appear at the upper-right corner of the chart.
Step 2 − Click on the third button Chart Filters as shown in the image.
Chart Filters
Step 3 − Click on VALUES. The available SERIES and CATEGORIES in your Data appear.
Values
Step 4 − Select / De-select the options given under Series and Categories. The chart changes dynamically.
Step 5 − After, you decide on the final Series and Categories, click on Apply. You can see that the chart is displayed with the selected data.
Apply Series Categories

Advanced Excel - Format Charts

The Format pane is a new entry in Excel 2013. It provides advanced formatting options in clean, shiny, new task panes and it is quite handy too.
Step 1 − Click on the Chart.
Step 2 − Select the chart element (e.g., data series, axes, or titles).
Step 3 − Right-click the chart element.
Step 4 − Click Format <chart element>. The new Format pane appears with options that are tailored for the selected chart element.

Format Axis

Step 1 − Select the chart axis.
Step 2 − Right-click the chart axis.
Step 3 − Click Format Axis. The Format Axis task pane appears as shown in the image below.
Format Axis
You can move or resize the task pane by clicking on the Task Pane Options to make working with it easier.
Task Pane Options
The small icons at the top of the pane are for more options.
Pane More Options
Step 4 − Click on Axis Options.
Axis Options
Step 5 − Select the required Axis Options. If you click on a different chart element, you will see that the task pane automatically updates to the new chart element.
Step 6 − Select the Chart Title.
Axis Chart Title
Step 7 − Select the required options for the Title. You can format all the Chart Elements using the Format Task Pane as explained for Format Axis and Format Chart Title.

Provision for Combo Charts

There is a new button for combo charts in Excel 2013.
Combo Charts
The following steps will show how to make a combo chart.
Step 1 − Select the Data.
Step 2 − Click on Combo Charts. As you scroll on the available Combo Charts, you will see the live preview of the chart. In addition, Excel displays guidance on the usage of that particular type of Combo Chart as shown in the image given below.
Guidance Of Combo Charts
Step 3 − Select a Combo Chart in the way you want the data to be displayed. The Combo Chart will be displayed.
Display Combo Charts

Advanced Excel - Chart Design

Ribbon of Chart Tools

When you click on your Chart, the CHART TOOLS tab, comprising of the DESIGN and FORMAT tabs is introduced on the ribbon.
Step 1 − Click on the Chart. CHART TOOLS with the DESIGN and FORMAT tabs will be displayed on the ribbon.
Ribbon of Chart Tools
Let us understand the functions of the DESIGN tab.
Step 1 − Click on the chart.
Step 2 − Click on the DESIGN tab. The Ribbon now displays all the options of Chart Design.
Ribbon of Chart Design
The first button on the ribbon is the Add Chart Element, which is the same as the Chart Elements, given at the upper right corner of the Charts as shown below.
Ribbon Add Chart Element

Quick Layout

You can use Quick Layout to change the overall layout of the Chart quickly by choosing one of the predefined layout options.
Step 1 − Click on Quick Layout. Different possible layouts will be displayed.
Quick Layout
Step 2 − As you move on the layout options, the chart layout changes to that particular option. A preview of how your chart will look is shown.
Chart Layout Changes
Step 3 − Click on the layout you like. The chart will be displayed with the chosen layout.

Change Colors

The Change Colors option is the same as in CHART ELEMENTS → Change Styles → COLOR.
Change Colors

Chart Styles

The Chart Styles option is the same as in CHART ELEMENTS → Change Styles → STYLE.
Chart Styles Option

Switch Row / Column

You can use the Switch Row / Column button on the ribbon to change the display of data from X-axis to Y-axis and vice versa. Follow the steps given below to understand this.
Switch Row / Column
Step 1 − Click on Switch Row / Column. You can see that the data will be swapped between X-Axis and Y-Axis.
Switch Row / Column

Select Data

You can change the Data Range included in the chart using this command.
Select Data
Step 1 − Click on Select Data. The Select Data Source window appears as shown in the image given below.
Step 2 − Select the Chart Data Range.
Chart Data Range
The window also has the options to edit the Legend Entries (Series) and Categories. This is the same as Chart Elements → Chart Filters → VALUES.
Chart Filters VALUES

Change Chart Type

You can change to a different Chart Type using this option.
Different Chart Type
Step 1 − Click on the Change Chart Type window. The Change Chart Type window appears.
Diffrent Chart Type
Step 2 − Select the Chart Type you want. The Chart will be displayed with the type chosen.

Move Chart

You can move the Chart to another Worksheet in the Workbook using this option.
Move Chart
Click on Move Chart. The Move Chart window appears.
Move Chart Appear

Advanced Excel - Richer Data Labels

You can have aesthetic and meaningful Data Labels. You can
  • include rich and refreshable text from data points or any other text in your data labels
  • enhance them with formatting and additional freeform text
  • display them in just about any shape
Data labels stay in place, even when you switch to a different type of chart.
You can also connect them to their data points with Leader Lines on all charts and not just pie charts, which was the case in earlier versions of Excel.

Formatting Data Labels

We use a Bubble Chart to see the formatting of Data Labels.
Step 1 − Select your data.
Step 2 − Click on the Insert Scatter or the Bubble Chart.
Bubble Chart
The options for the Scatter Charts and the 2-D and 3-D Bubble Charts appear.
Bubble Chart Appear
Step 3 − Click on the 3-D Bubble Chart. The 3-D Bubble Chart will appear as shown in the image given below.
3-D Bubble Chart
Step 4 − Click on the chart and then click on Chart Elements.
Step 5 − Select Data Labels from the options. Select the small symbol given on the right of Data Labels. Different options for the placement of the Data Labels appear.
Step 6 − If you select Center, the Data Labels will be placed at the center of the Bubbles.
Select Data Labels
Step 7 − Right-click on any one Data Label. A list of option appears as shown in the image given below.
Data Labels Appear
Step 8 − Click on the Format Data Label. Alternatively, you can also click on More Options available in the Data Labels options to display the Format Data Label Task Pane.
Format Data Label Options
The Format Data Label Task Pane appears.
Format Data Labels Appear
There are many options available for formatting of the Data Label in the Format Data Labels Task Pane. Make sure that only one Data Label is selected while formatting.
Step 9 − In Label Options → Data Label Series, click on Clone Current Label.
Clone Current Label
This will enable you to apply your custom Data Label formatting quickly to the other data points in the series.

Look of the Data Labels

You can do many things to change the look of the Data Label, like changing the Fill color of the Data Label for emphasis.
Step 1 − Click on the Data Label, whose Fill color you want to change. Double click to change the Fill color for just one Data Label. The Format Data Label Task Pane appears.
Step 2 − Click Fill → Solid Fill. Choose the Color you want and then make the changes.
Step 3 − Click Effects and choose the required effects. For example, you can make the label pop by adding an effect. Just be careful not to go overboard adding effects.
Step 4 − In the Label Options → Data Label Series, click on Clone Current Label. All the other data labels will acquire the same effect.
Data Label Effects

Shape of a Data Label

You can personalize your chart by changing the shapes of the Data Label.
Step 1 − Right-click the Data Label you want to change.
Step 2 − Click on Change Data Label Shapes.
Change Data Label Shapes
Step 3 − Choose the shape you want.
Choose Data Label Shapes

Resize a Data Label

Step 1 − Click on the data label.
Step 2 − Drag it to the size you want. Alternatively, you can click on Size & Properties icon in the Format Data Labels task pane and then choose the size options.
Resize Data Label

Add a Field to a Data Label

Excel 2013 has a powerful feature of adding a cell reference with explanatory text or a calculated value to a data label. Let us see how to add a field to the data label.
Step 1 − Place the Explanatory text in a cell.
Step 2 − Right-click on a data label. A list of options will appear.
Add Field Data Label
Step 3 − Click on the option − Insert Data Label Field.
Insert Data Label Field
Step 4 − From the available options, Click on Choose Cell. A Data Label Reference window appears.
Data Label Reference
Step 5 − Select the Cell Reference where the Explanatory Text is written and then click OK. The explanatory text appears in the data label.
Step 6 − Resize the data label to view the entire text.
Resize Data Label Fields

Advanced Excel - Leader Lines

Leader Line is a line that connects a data label and its associated data point. It is helpful when you have placed a data label away from a data point.
In earlier versions of Excel, only the pie charts had this functionality. Now, all the chart types with data label have this feature.

Add a Leader Line

Step 1 − Click on the data label.
Step 2 − Drag it after you see the four-headed arrow.
Four-Headed Line
Step 3 − Move the data label. The Leader Line automatically adjusts and follows it.
Adjusts Leader Line

Format Leader Lines

Step 1 − Right-click on the Leader Line you want to format.
Format Leader Line
Step 2 − Click on Format Leader Lines. The Format Leader Lines task pane appears. Now you can format the leader lines as you require.
Format Leader Line Pane Appear
Step 3 − Click on the icon Fill & Line.
Step 4 − Click on LINE.
Step 5 − Make the changes that you want. The leader lines will be formatted as per your choices.

Advanced Excel - New Functions

Several new functions are added in the math and trigonometry, statistical, engineering, date and time, lookup and reference, logical, and text function categories. Also, Web category is introduced with few Web service functions.

Functions by Category

Excel functions are categorized by their functionality. If you know the category of the function that you are looking for, you can click that category.
Step 1 − Click on the FORMULAS tab. The Function Library group appears. The group contains the function categories.
Step 2 − Click on More Functions. Some more function categories will be displayed.
Function Categories
Step 3 − Click on a function category. All the functions in that category will be displayed. As you scroll on the functions, the syntax of the function and the use of the function will be displayed as shown in the image given below.
Function Categories

New Functions in Excel 2013

Date and Time Functions

  • DAYS − Returns the number of days between two dates.
  • ISOWEEKNUM − Returns the number of the ISO week number of the year for a given date.

Engineering Functions

  • BITAND − Returns a 'Bitwise And' of two numbers.
  • BITLSHIFT − Returns a value number shifted left by shift_amount bits.
  • BITOR − Returns a bitwise OR of 2 numbers.
  • BITRSHIFT − Returns a value number shifted right by shift_amount bits.
  • BITXOR − Returns a bitwise 'Exclusive Or' of two numbers.
  • IMCOSH − Returns the hyperbolic cosine of a complex number.
  • IMCOT − Returns the cotangent of a complex number.
  • IMCSC − Returns the cosecant of a complex number.
  • IMCSCH − Returns the hyperbolic cosecant of a complex number.
  • IMSEC − Returns the secant of a complex number.
  • IMSECH − Returns the hyperbolic secant of a complex number.
  • IMSIN − Returns the sine of a complex number.
  • IMSINH − Returns the hyperbolic sine of a complex number.
  • IMTAN − Returns the tangent of a complex number.

Financial Functions

  • PDURATION − Returns the number of periods required by an investment to reach a specified value.
  • RRI − Returns an equivalent interest rate for the growth of an investment.

Information Functions

  • ISFORMULA − Returns TRUE if there is a reference to a cell that contains a formula.
  • SHEET − Returns the sheet number of the referenced sheet.
  • SHEETS − Returns the number of sheets in a reference.

Logical Functions

  • IFNA − Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression.
  • XOR − Returns a logical exclusive OR of all arguments.

Lookup and Reference Functions

  • FORMULATEXT − Returns the formula at the given reference as text.
  • GETPIVOTDATA − Returns data stored in a PivotTable report.

Math and Trigonometry Functions

  • ACOT − Returns the arccotangent of a number.
  • ACOTH − Returns the hyperbolic arccotangent of a number.
  • BASE − Converts a number into a text representation with the given radix (base).
  • CEILING.MATH − Rounds a number up, to the nearest integer or to the nearest multiple of significance.
  • COMBINA − Returns the number of combinations with repetitions for a given number of items.
  • COT − Returns the cotangent of an angle.
  • COTH − Returns the hyperbolic cotangent of a number.
  • CSC − Returns the cosecant of an angle.
  • CSCH − Returns the hyperbolic cosecant of an angle.
  • DECIMAL − Converts a text representation of a number in a given base into a decimal number.
  • FLOOR.MATH − Rounds a number down, to the nearest integer or to the nearest multiple of significance.
  • ISO.CEILING − Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance.
  • MUNIT − Returns the unit matrix or the specified dimension.
  • SEC − Returns the secant of an angle.
  • SECH − Returns the hyperbolic secant of an angle.

Statistical Functions

  • BINOM.DIST.RANGE − Returns the probability of a trial result using a binomial distribution.
  • GAMMA − Returns the Gamma function value.
  • GAUSS − Returns 0.5 less than the standard normal cumulative distribution.
  • PERMUTATIONA − Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects.
  • PHI − Returns the value of the density function for a standard normal distribution.
  • SKEW.P − Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean.

Text Functions

  • DBCS − Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters.
  • NUMBERVALUE − Converts text to number in a locale-independent manner.
  • UNICHAR − Returns the Unicode character that is references by the given numeric value.
  • UNICODE − Returns the number (code point) that corresponds to the first character of the text.

User Defined Functions in Add-ins

The Add-ins that you install contain Functions. These add-in or automation functions will be available in the User Defined category in the Insert Function dialog box.
User Define Function in Add-ins
  • CALL − Calls a procedure in a dynamic link library or code resource.
  • EUROCONVERT − Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation).
  • REGISTER.ID − Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered.
  • SQL.REQUEST − Connects with an external data source and runs a query from a worksheet, then returns the result as an array without the need for macro programming.

Web Functions

The following web functions are introduced in Excel 2013.
  • ENCODEURL − Returns a URL-encoded string.
  • FILTERXML − Returns specific data from the XML content by using the specified XPath.
  • WEBSERVICE − Returns the data from a web service.

Advanced Excel - Instant Data Analysis

In Microsoft Excel 2013, it is possible to do data analysis with quick steps. Further, different analysis features are readily available. This is through the Quick Analysis tool.

Quick Analysis Features

Excel 2013 provides the following analysis features for instant data analysis.

Formatting

Formatting allows you to highlight the parts of your data by adding things like data bars and colors. This lets you quickly see high and low values, among other things.

Charts

Charts are used to depict the data pictorially. There are several types of charts to suit different types of data.

Totals

Totals can be used to calculate the numbers in columns and rows. You have functions such as Sum, Average, Count, etc. which can be used.

Tables

Tables help you to filter, sort and summarize your data. The Table and PivotTable are a couple of examples.

Sparklines

Sparklines are like tiny charts that you can show alongside your data in the cells. They provide a quick way to see the trends.

Quick Analysis of Data

Follow the steps given below for quickly analyzing the data.
Step 1 − Select the cells that contain the data you want to analyze.
Analysis Data
Quick Analysis button Quick Analysis Button appears to the bottom right of your selected data.
Analysis Data Appear
Step 2 − Click the Quick Analysis Quick Analysis Button button that appears (or press CTRL + Q). The Quick Analysis toolbar appears with the options of FORMATTING, CHARTS, TOTALS, TABLES and SPARKLINES.
Quick Analysis Toolbar

Conditional Formatting

Conditional formatting uses the rules to highlight the data. This option is available on the Home tab also, but with quick analysis it is handy and quick to use. Also, you can have a preview of the data by applying different options, before selecting the one you want.
Step 1 − Click on the FORMATTING button.
Step 2 − Click on Data Bars.
Formatting Data Bar
The colored Data Bars that match the values of the data appear.
Step 3 − Click on Color Scale.
Formatting Color Scale
The cells will be colored to the relative values as per the data they contain.
Step 4 − Click on the Icon Set. The icons assigned to the cell values will be displayed.
Formatting Icon Set
Step 5 − Click on the option - Greater than.
option-Greater than
Values greater than a value set by Excel will be colored. You can set your own value in the Dialog Box that appears.
Option-Greater Than Appear
Step 6 − Click on Top 10%.
Conditional Formating
Values that are in top 10% will be colored.
Step 7 − Click on Clear Formatting.
Clear Formatting
Whatever formatting is applied will be cleared.
Step 8 − Move the mouse over the FORMATTING options. You will have a preview of all the formatting for your Data. You can choose whatever best suits your data.

Charts

Recommended Charts help you visualize your Data.
Step 1 − Click on CHARTS. Recommended Charts for your data will be displayed.
Recommended Charts
Step 2 − Move over the charts recommended. You can see the Previews of the Charts.
Preview Recommended Charts
Step 3 − Click on More as shown in the image given below.
More Button
More Recommended Charts are displayed.
More Recommended Charts

Totals

Totals help you to calculate the numbers in rows and columns.
Step 1 − Click on TOTALS. All the options available under TOTALS options are displayed. The little black arrows on the right and left are to see additional options.
Additional Options
Step 2 − Click on the Sum icon. This option is used to sum the numbers in the columns.
Sum icon
Step 3 − Click on Average. This option is used to calculate the average of the numbers in the columns.
Average Of Columns
Step 4 − Click on Count. This option is used to count the number of values in the column.
Count Number Of Values in Columns
Step 5 − Click on %Total. This option is to compute the percent of the column that represents the total sum of the data values selected.
Percent Of Columns
Step 6 − Click on Running Total. This option displays the Running Total of each column.
Running Total Of Columns
Step 7 − Click on Sum. This option is to sum the numbers in the rows.
Sum Of Rows
Step 8 − Click on the symbol Dispaly More Button. This displays more options to the right.
Display Button
Step 9 − Click on Average. This option is to calculate the average of the numbers in the rows.
Average Of Rows
Step 10 − Click on Count. This option is to count the number of values in the rows.
Count Of Rows
Step 11 − Click on %Total.
This option is to compute the percent of the row that represents the total sum of the data values selected.
%Total Of Rows
Step 12 − Click on Running Total. This option displays the Running Total of each row.
Running Total Of Each Rows

Tables

Tables help you sort, filter and summarize the data.
Tables
The options in the TABLES depend on the data you have chosen and may vary.
Step 1 − Click on TABLES.
Step 2 − Hover on the Table icon. A preview of the Table appears.
Tables Icon
Step 3 − Click on Table. The Table is displayed. You can sort and filter the data using this feature.
Tables Tools
Step 4 − Click on the Pivot Table to create a pivot table. Pivot Table helps you to summarize your data.
Create Pivot Tables

Sparklines

SPARKLINES are like tiny charts that you can show alongside your data in cells. They provide a quick way to show the trends of your data.
Step 1 − Click on SPARKLINES. The chart options displayed are based on the data and may vary.
Sparklines
Step 2 − Click on Line. A line chart for each row is displayed.
Sparklines Line Chart
Step 3 − Click on the Column icon.
Sparklines Column Chart
A line chart for each row is displayed.

Advanced Excel - Sorting Data by Color

If you have formatted a table column, manually or conditionally, with the cell color or font color, you can also sort by these colors.
Step 1 − Click on the DATA tab.
Step 2 − Click on Sort in the Sort & Filter group. The Sort dialog box appears.
Sort Data
Step 3 − Under the Column option, in the Sort by box, select the column that you want to sort. For example, click on Exam 2 as shown in the image given below.
Sort By
Step 4 − Under the topic Sort On, select the type of sort. To sort by cell color, select Cell Color. To sort by font color, select Font Color.
Sort On
Step 5 − Click on the option Cell Color.
Step 6 − Under Order, click the arrow next to the button. The colors in that column are displayed.
Define Order
Step 7 − You must define the order that you want for each sort operation because there is no default sort order. To move the cell color to the top or to the left, select On Top for column sorting and On Left for row sorting. To move the cell color to the bottom or to the right, select On Bottom for column sorting and On Right for row sorting.
Under Order

Advanced Excel - Slicers

Slicers were introduced in Excel 2010 to filter the data of pivot table. In Excel 2013, you can create Slicers to filter your table data also.
Slicer is useful because it clearly indicates what data is shown in your table after you filter your data.
Step 1 − Click in the Table. TABLE TOOLS tab appears on the ribbon.
Table Tools
Step 2 − Click on DESIGN. The options for DESIGN appear on the ribbon.
Step 3 − Click on Insert Slicer. A Insert Slicers dialog box appears.
Step 4 − Check the boxes for which you want the slicers. Click on Genre.
Step 5 − Click OK.
Insert Slicer
The slicer appears. Slicer tools appear on the ribbon. Clicking the OPTIONS button, provides various Slicer Options.
Slicer Tool Options
Step 6 − In the slicer, click the items you want to display in your table. To choose more than one item, hold down CTRL, and then pick the items you want to show.
Slicer Selected Items

Advanced Excel - Flash Fill

Flash Fill helps you to separate first and last names or part names and numbers, or any other data into separate columns.
Step 1 − Consider a data column containing full names.
Column Containing Full Names
Step 2 − Enter the first name in the column next to your data and press Enter.
Enter First Names
Step 3 − Start typing the next name. Flash Fill will show you a list of suggested names.
List of Suggested Names
Step 4 − Press Enter to accept the list.
Accept List
Step 5 − Enter a last name in the next column, and press Enter.
Enter Last Name
Step 6 − Start typing the next name and press Enter. The column will be filled with the relevant last names.
Data Fileld With Flash-fil
Step 7 − If the names have middle names also, you can still use Flash Fill to separate the data out into three columns by repeating it three times.
Enter Middle Name
Flash Fill works with any data you need to split into more than one column, or you can simply use it to fill out data based on an example. Flash Fill typically starts working when it recognizes a pattern in your data.

Excel - PivotTable Recommendations

Excel 2013 has a new feature Recommended PivotTables under the Insert tab. This command helps you to create PivotTables automatically.
Recommended PivotTables
Step 1 − Your data should have column headers. If you have data in the form of a table, the table should have Table Header. Make sure of the Headers.
Step 2 − There should not be blank rows in the Data. Make sure No Rows are blank.
Step 3 − Click on the Table.
Step 4 − Click on Insert tab.
Step 5 − Click on Recommended PivotTables. The Recommended PivotTables dialog box appears.
Step 6 − Click on a PivotTable Layout that is recommended. A preview of that pivot table appears on the right–side.
PivotTable Layout
Step 7 − Double-click on the PivotTable that shows the data the way you want and Click OK. The PivotTable is created automatically for you on a new worksheet.
PivotTable Created

Create a PivotTable to analyze external data

Create a PivotTable by using an existing external data connection.
Step 1 − Click any cell in the Table.
Step 2 − Click on the Insert tab.
Step 3 − Click on the PivotTable button. A Create PivotTable dialog box appears.
PivotTable Created Appears
Step 4 − Click on the option Use an external data source. The button below that, ‘Choose Connection’ gets enabled.
Step 5 − Select the Choose Connection option. A window appears showing all the Existing Connections.
Existing Connections
Step 6 − In the Show Box, select All Connections. All the available data connections can be used to obtain the data for analysis.
Select All Connections
The option Connections in this Workbook option in the Show Box is to reuse or share an existing connection.

Connect to a new external data source

You can create a new external data connection to the SQL Server and import the data into Excel as a table or PivotTable.
Step 1 − Click on the Data tab.
Step 2 − Click on the From Other Sources button, in the Get External Data Group.
Other Sources
The options of External Data Sources appear as shown in the image below.
External Data Sources
Step 3 − Click the option From SQL Server to create a connection to an SQL Server table.
From SQL Server
Data Connection Wizard dialog box appears.
Data Connection Wizard
Step 4 − Establish the connection in three steps given below.
  • Enter the database server and specify how you want to log on to the server.
  • Enter the database, table, or query that contains the data you want.
  • Enter the connection file you want to create.

Using the Field List option

In Excel 2013, it is possible to arrange the fields in a PivotTable.
PivotTable Create Dialog
Step 1 − Select the data table.
Step 2 − Click the Insert Tab.
Step 3 − Click on the PivotTable button. The Create PivotTable dialog box opens.
Step 4 − Fill the data and then click OK. The PivotTable appears on a New Worksheet.
PivotTable New Worksheet
Step 5 − Choose the PivotTable Fields from the field list. The fields are added to the default areas.
The Default areas of the Field List are −
  • Nonnumeric fields are added to the Rows area
  • Numeric fields are added to the Values area, and
  • Time hierarchies are added to the Columns area
PivotTable Default Areas
You can rearrange the fields in the PivotTable by dragging the fields in the areas.
Step 6 − Drag Region Field from Rows area to Filters area. The Filters area fields are shown as top-level report filters above the PivotTable.
PivotTable Filters Areas
Step 7 − The Rows area fields are shown as Row Labels on the left side of the PivotTable.
PivotTable Row Labels
The order in which the Fields are placed in the Rows area, defines the hierarchy of the Row Fields. Depending on the hierarchy of the fields, rows will be nested inside rows that are higher in position.
In the PivotTable above, Month Field Rows are nested inside Salesperson Field Rows. This is because in the Rows area, the field Salesperson appears first and the field Month appears next, defining the hierarchy.
Step 8 − Drag the field - Month to the first position in the Rows area. You have changed the hierarchy, putting Month in the highest position. Now, in the PivotTable, the field - Salesperson will nest under Month fields.
Salesperson Field Nested
In a similar way, you can drag Fields in the Columns area also. The Columns area fields are shown as Column Labels at the top of the PivotTable.
PivotTable Column Labels

PivotTables based on Multiple Tables

In Excel 2013, it is possible to create a PivotTable from multiple tables. In this example, the table ‘Sales’ is on one worksheet and table - ‘Products’ is on another worksheet.
Sales Worksheet
Products Worksheet
Step 1 − Select the Sales sheet from the worksheet tabs.
Step 2 − Click the Insert tab.
Step 3 − Click on the PivotTable button on the ribbon. The Create PivotTable dialog box,
Step 4 − Select the sales table.
Step 5 − Under “choose whether you want to analyze multiple tables”, Click Add this Data to the Data Model.
Step 6 − Click OK.
Pivot Multiple Tables
Under the PivotTable Fields, you will see the options, ACTIVE and ALL.
Step 7 − Click on ALL. You will see both the tables and the fields in both the tables.
Step 8 − Select the fields to add to the PivotTable. You will see a message, “Relationships between tables may be needed”.
Relationships Tables
Step 9 − Click on the CREATE button. After a few steps for creation of Relationship, the selected fields from the two tables are added to the PivotTable.
Cration Of Relationships

Advanced Excel - Data Model

Excel 2013 has powerful data analysis features. You can build a data model, then create amazing interactive reports using Power View. You can also make use of the Microsoft Business Intelligence features and capabilities in Excel, PivotTables, Power Pivot, and Power View.
Data Model is used for building a model where data from various sources can be combined by creating relationships among the data sources. A Data Model integrates the tables, enabling extensive analysis using PivotTables, Power Pivot, and Power View.
Data Model is created automatically when you import two or more tables simultaneously from a database. The existing database relationships between those tables is used to create the Data Model in Excel.
Step 1 − Open a new blank Workbook in Excel.
Step 2 − Click on the DATA tab.
Step 3 − In the Get External Data group, click on the option From Access. The Select Data Source dialog box opens.
Step 4 − Select Events.accdb, Events Access Database file.
Select Events ACCDB
Step 5 − The Select Table window, displaying all the tables found in the database, appears.
Select Events Table
Step 6 − Tables in a database are similar to the tables in Excel. Check the ‘Enable selection of multiple tables’ box, and select all the tables. Then click OK.
Enable Selection Multipule Table
Step 7 − The Import Data window appears. Select the PivotTable Report option. This option imports the tables into Excel and prepares a PivotTable for analyzing the imported tables. Notice that the checkbox at the bottom of the window - ‘Add this data to the Data Model’ is selected and disabled.
Import Data Window Appears
Step 8 − The data is imported, and a PivotTable is created using the imported tables.
Create Imported PivotTable
You have imported the data into Excel and the Data Model is created automatically. Now, you can explore data in the five tables, which have relationships defined among them.

Explore Data Using PivotTable

Step 1 − You know how to add fields to PivotTable and drag fields across areas. Even if you are not sure of the final report that you want, you can play with the data and choose the best-suited report.
In PivotTable Fields, click on the arrow beside the table - Medals to expand it to show the fields in that table. Drag the NOC_CountryRegion field in the Medals table to the COLUMNS area.
Step 2 − Drag Discipline from the Disciplines table to the ROWS area.
Step 3 − Filter Discipline to display only five sports: Archery, Diving, Fencing, Figure Skating, and Speed Skating. This can be done either in PivotTable Fields area, or from the Row Labels filter in the PivotTable itself.
Step 4 − In PivotTable Fields, from the Medals table, drag Medal to the VALUES area.
Step 5 − From the Medals table, select Medal again and drag it into the FILTERS area.
Medals Table
Step 6 − Click the dropdown list button to the right of the Column labels.
Step 7 − Select Value Filters and then select Greater Than
Step 8 − Click OK.
Greater Than Value
The Value Filters dialog box for the count of Medals is greater than appears.
Step 9 − Type 80 in the Right Field.
Step 10 − Click OK.
Type 80
The PivotTable displays only those regions, which has more than total 80 medals.
Greater Than 80
You could analyze your data from the different tables and arrive at the specific report you want in just a few steps. This was possible because of the pre-existing relationships among the tables in the source database. As you imported all the tables from the database together at the same time, Excel recreated the relationships in its Data Model.
If you do not import the tables at the same time, or if the data is from different sources or if you add new tables to your Workbook, you have to create the Relationships among the Tables by yourself.

Create Relationship between Tables

Relationships let you analyze your collections of the data in Excel, and create interesting and aesthetic reports from the data you import.
Step 1 − Insert a new Worksheet.
Step 2 − Create a new table with new data. Name the new table as Sports.
Create New Table
Step 3 − Now you can create relationship between this new table and the other tables that already exist in the Data Model in Excel. Rename the Sheet1 as Medals and Sheet2 as Sports.
On the Medals sheet, in the PivotTable Fields List, click All. A complete list of available tables will be displayed. The newly added table - Sports will also be displayed.
Table Sports
Step 4 − Click on Sports. In the expanded list of fields, select Sports. Excel messages you to create a relationship between tables.
Message To Create Relationship
Step 5 − Click on CREATE. The Create Relationship dialog box opens.
Create Relationship DialogBox
Step 6 − To create the relationship, one of the tables must have a column of unique, non-repeated, values. In the Disciplines table, SportID column has such values. The table Sports that we have created also has the SportID column. In Table, select Disciplines.
Step 7 − In Column (Foreign), select SportID.
Step 8 − In Related Table, select Sports.
Step 9 − In Related Column (Primary), SportID gets selected automatically. Click OK.
Step 10 − The PivotTable is modified to reflect the addition of the new Data Field Sport. Adjust the order of the fields in the Rows area to maintain the Hierarchy. In this case, Sport should be first and Discipline should be the next, as Discipline will be nested in Sport as a sub-category.
PivotTable New Relationship

Advanced Excel - Power Pivot

PowerPivot is an easy to use data analysis tool that can be used from within Excel. You can use PowerPivot to access and mashup data from virtually any source. You can create your own compelling reports and analytical applications, easily share insights, and collaborate with colleagues through Microsoft Excel and SharePoint.
Using PowerPivot, you can import data, create relationships, create calculated columns and measures, and add PivotTables, slicers and Pivot Charts.
PowerPivot Table
Step 1 − You can use Diagram View in PowerPivot to create a relationship. To start, get some more data into your workbook. You can copy and paste data from a Web Page also. Insert a new Worksheet.
Step 2 − Copy data from the web page and paste it on the Worksheet.
Step 3 − Create a table with the data. Name the table Hosts and rename the Worksheet Hosts.
Re-name Worksheet
Step 4 − Click on the Worksheet Hosts. Click the POWERPIVOT tab on the Ribbon.
Step 5 − In the Tables group, click on Add to Data Model.
Add Data Model
Hosts Table gets added to the Data Model in the Workbook. The PowerPivot window opens.
You will find all the Tables in the Data Model in the PowerPivot, though some of them are not present in the Worksheets in the Workbook.
Find Table
Step 6 − In PowerPivot window, in View group, click on Diagram View.
Step 7 − Use the slide bar to resize the diagram so that you can see all tables in the diagram.
Resize Diagram
Step 8 − Rearrange the tables by dragging their title bar, so that they are visible and positioned next to one another.
Four tables Hosts, Events, W_Teams, and S_Teams are unrelated to the rest of the tables −
Table Rearrange
Step 9 − Both, the Medals table and the Events table have a field called DisciplineEvent. Also, DisciplineEvent column in the Events table consists of unique, non-repeated values. Click on Data View in Views Group. Check DisciplineEvent column in the Events table.
DisciplineEvent Column
Step 10 − Once again, click on Diagram View. Click on the field Discipline Event in the Events table and drag it to the field DisciplineEvent in the Medals Table. A line appears between the Events Table and the Medals Table, indicating a relationship has been established.
Line Indicating Relationship
Step 11 − Click on the line. The line and the fields defining the relationship between the two tables are highlighted as shown in the image given below.
Line Relationship Highlighted

Data Model using Calculated Columns

Hosts table is still not connected to any of the other Tables. To do so, a field with values that uniquely identify each row in the Hosts table is to be found first. Then, search the Data Model to see if that same data exists in another table. This can be done in Data View.
Step 1 − Shift to Data View. There are two ways of doing this.
  • Click on Data View in the View group.
  • Click on the Grid button on Task Bar.
Data View Task Bar
The Data View appears.
Step 2 − Click on the Hosts table.
Step 3 − Check the data in Hosts Table to see if there is a field with unique values.
There is no such field in Hosts Table. You cannot edit or delete existing data using PowerPivot. However, you can create new columns by using calculated fields based on the existing data. In PowerPivot, you can use Data Analysis Expressions (DAX) to create calculations.
Adjacent to the existing columns is an empty column titled Add Column. PowerPivot provides that column as a placeholder.
PowerPivot Add Column
Step 4 − In the formula bar, type the DAX formula −
= CONCATENATE([Edition],[Season])
Press Enter. The Add Column is filled with values. Check the values to verify that they are unique across the rows.
DAX Formula
Step 5 − The newly created column with created values is named CreatedColumn1. To change the name of the column, select the column, right-click on it.
Step 6 − Click on the option Rename Column.
PowerPivot Rename Column
Step 7 − Rename the column as EditionID.
PowerPivot EditionID
Step 8 − Now, Select the Medals Table.
Step 9 − Select Add Column.
Step 10 − In the Formula Bar, type the DAX Formula,
= YEAR ([EDITION])
and press Enter.
Step 11 − Rename the Column as Year.
New Column Year
Step 12 − Select Add Column.
Step 13 − Type in the Formula Bar,
= CONCATENATE ([Year], [Season])
A new column with values similar to those in the EditionID column in Hosts Table gets created.
Step 14 − Rename the column as EditionID.
Step 15 − Sort the Column in Ascending Order.
Column Ascending Order

Relationship using calculated columns

Step 1 − Switch to Diagram View. Ensure that the tables Medals and Hosts are close to each other.
Medals Medals Table
Step 2 − Drag the EditionID column in Medals to the EditionID column in Hosts.
PowerPivot creates a relationship between the two tables. A line between the two tables, indicates the relationship. The EditionID Field in both the tables is highlighted indicating that the relationship is based on the column EditionID.
Relationship Based on Column

Advanced Excel - External Data Connection

Once you connect your Excel workbook to an external data source, such as a SQL Server database, Access database or another Excel workbook, you can keep the data in your workbook up to date by "refreshing" the link to its source. Each time you refresh the connection, you see the most recent data, including anything that is new or has been deleted.
Let us see how to refresh PowerPivot data.
Step 1 − Switch to the Data View.
Step 2 − Click on Refresh.
Step 3 − Click on Refresh All.
PowerPivot Refresh
The Data Refresh window appears showing all the Data Tables in the Data Model and tracking the refreshing progress. After the refresh is complete, the status is displayed.
PowerPivot data Refresh
Step 4 − Click on Close. The data in your Data Model is updated.

Update the Data Connections

Step 1 − Click any cell in the table that contains the link to the imported data file.
Step 2 − Click on the Data tab.
Step 3 − Click on Refresh All in Connections group.
Step 4 − In the drop-down list, click on Refresh All. All the data connections in the Workbook will be updated.
Connections Group

Automatically Refresh Data

Here we will learn how to refresh the data automatically when the workbook is opened.
Step 1 − Click any cell in the table that contains the link to the imported Data file.
Step 2 − Click on the Data tab.
Step 3 − Click on Connections in the Connections group. The Workbook Connections window appears.
Workbook Connections
Step 4 − Click on Properties. The Connection Properties Window appears.
Connection Properties
Step 5 − You will find a Usage tab and a Definition tab. Click on the Usage tab. The options for Refresh Control appear.
Refresh Control Options
Step 6 − Select Refresh data while opening the file.
You also have an option under this: ‘Remove data from the external data range before saving the workbook’. You can use this option to save the workbook with the query definition but without the external data.
Step 7 − Click OK.
Whenever you open your Workbook, the up-to-date data will be loaded into your Workbook.
Open Your Workbook

Automatically refresh data at regular intervals

Step 1 − Click any cell in the table that contains the link to the imported Data file.
Step 2 − Click on the Data tab.
Step 3 − Click on the Connections option in Connections group. A Workbook Connections window appears.
Step 4 − Click on Properties. A Connection Properties Window appears.
Step 5 − Click on the Usage tab. The options for Refresh Control appear.
Step 6 − Now, select “Refresh every” and enter 60 minutes between each refresh operation.
Step 7 − Click OK. Your data will be refreshed every 60 minute that is every hour.
Connection Properties Window

Enable Background Refresh

For very large data sets, consider running a background refresh. This returns the control of Excel to you instead of making you wait several minutes for the refresh to finish. You can use this option when you are running a query in the background. However, you cannot run a query for any connection type that retrieves data for the Data Model.
Step 1 − Click any cell in the table that contains the link to the imported Data file.
Step 2 − Click on the Data tab.
Step 3 − Click on Connections in the Connections group. The Workbook Connections window appears.
Step 4 − Click on PropertiesConnection Properties Window appears.
Step 5 − Click on the Usage tab. The Refresh Control options appear.
Step 6 − Click on Enable background refresh and then click OK.
Enable background refresh

Advanced Excel - Pivot Table Tools

Source Data for a PivotTable

You can change the range of the source data of a PivotTable. For example, you can expand the source data to include more rows of data.
However, if the source data has been changed substantially, such as having more or fewer columns, consider creating a new PivotTable.
Step 1 − Click anywhere in the PivotTable. The PIVOTTABLE TOOLS appear on the ribbon, with an option named ANALYZE.
Step 2 − Click on the option - ANALYZE.
Step 3 − Click on Change Data Source in the Data group.
Change Data Source
Step 4 − Click on Change Data Source. The current Data Source is highlighted. The Change PivotTable Data Source Window appears.
Step 5 − In the Table/Range Box, select the Table/Range you want to include.
Step 6 − Click OK.
Change Pivot Data Source

Change to a Different External Data Source.

If you want to base your PivotTable on a different external source, it might be best to create a new PivotTable. If the location of your external data source is changed, for example, your SQL Server database name is the same, but it has been moved to a different server, or your Access database has been moved to another network share, you can change your current connection.
Step 1 − Click anywhere in the PivotTable. The PIVOTTABLE TOOLS appear on the Ribbon, with an ANALYZE option.
Step 2 − Click ANALYZE.
Step 3 − Click on Change Data Source in the Data Group. The Change PivotTable Data Source window appears.
Step 4 − Click on the option Choose Connection.
Choose Connection
A window appears showing all the Existing Connections.
In the Show box, keep All Connections selected. All the Connections in your Workbook will be displayed.
Step 5 − Click on Browse for More
Existing Connection Window
The Select Data Source window appears.
Step 6 − Click on New Source. Go through the Data Connection Wizard Steps.
Data Connection Wizard Window
Alternatively, specify the File name, if your Data is contained in another Excel Workbook.
Select Data Source Windows

Delete a PivotTable

Step 1 − Click anywhere on the PivotTable. The PIVOTTABLE TOOLS appear on the Ribbon, with the ANALYZE option.
Step 2 − Click on the ANALYZE tab.
Step 3 − Click on Select in the Actions Group as shown in the image given below.
Select Action Group
Step 4 − Click on Entire PivotTable. The entire PivotTable will be selected.
Entire PivotTable
Step 5 − Press the Delete Key.
Delete Entire PivotTable
If the PivotTable is on a separate Worksheet, you can delete the PivotTable by deleting the entire Worksheet also. To do this, follow the steps given below.
Step 1 − Right-click on the Worksheet tab.
Step 2 − Click on Delete.
Worksheet Delete
You get a warning message, saying that you cannot Undo Delete and might lose some data. Since, you are deleting only the PivotTable Sheet you can delete the worksheet.
Step 3 − Click on Delete.
Undo Delete
The PivotTable worksheet will be deleted.
Deleted Entire PivotTable

Using the Timeline

PivotTable Timeline is a box that you can add to your PivotTable that lets you filter by time, and zoom in on the period you want. This is a better option compared to playing around with the filters to show the dates.
It is like a slicer you create to filter data, and once you create it, you can keep it with your PivotTable. This makes it possible for you to change the time period dynamically.
Step 1 − Click anywhere in the PivotTable. The PIVOTTABLE TOOLS appear on the Ribbon, with ANALYZE option.
Step 2 − Click ANALYZE.
Step 3 − Click on Insert Timeline in the Filter group. An Insert Timelines Dialog Box appears.
Insert Timeline Filter
Step 4 − In the Insert Timelines dialog box, click on the boxes of the date fields you want.
Step 5 − Click OK.
Insert Timeline Dialogbox
The timeline for your PivotTable is in place.
Timeline PivotTable

Use a Timeline to Filter by Time Period

Now, you can filter the PivotTable using the timeline by a time period in one of four time levels; Years, Quarters, Months or Days.
Step 1 − Click the small arrow next to the time level-Months. The four time levels will be displayed.
Time Level Months
Step 2 − Click on Quarters. The Timeline filter changes to Quarters.
Change To Quaters
Step 3 − Click on Q1 2015. The Timespan Control is highlighted. The PivotTable Data is filtered to Q1 2015.
Step 4 − Drag the Timespan handle to include Q2 2015. The PivotTable Data is filtered to include Q1, Q2 2015.
Timespan Handle
At any point of time, to clear timeline, click on the Clear Filter button.
Clear Filter Button
The timeline is cleared as shown in the image given below.
Timeline Got Clear

Create a Standalone PivotChart

You can create a PivotChart without creating a PivotTable first. You can even create a PivotChart that is recommended for your data. Excel will then create a coupled PivotTable automatically.
Step 1 − Click anywhere on the Data Table.
Step 2 − Click on the Insert tab.
Step 3 − In the Charts Group, Click on Recommended Charts.
Create Standalone PivotChart
The Insert Chart Window appears.
Step 4 − Click on the Recommended Charts tab. The charts with the PivotChart icon PivotChart icon in the top corner are PivotCharts.
Recommended Charts Tab
Step 5 − Click on a PivotChart. A Preview appears on the Right side.
Preview Appears PivotChart
Step 6 − Click OK once you find the PivotChart you want.
Your standalone PivotChart for your Data is available to you.
PivotChart For Your Data

Advanced Excel - Power View

Power View is a feature of Microsoft Excel 2013 that enables interactive data exploration, visualization, and presentation encouraging intuitive ad-hoc reporting.

Create a Power View Sheet

Make sure Power View add-in is enabled in Excel 2013.
Step 1 − Click on the File menu and then Click on Options.
Create Power View Sheet
The Excel Options window appears.
Step 2 − Click on Add-Ins.
Step 3 − In the Manage box, click the drop-down arrow and select Excel Add-ins.
Step 4 − All the available Add-ins will be displayed. If Power View Add-in is enabled, it appears in Active Application Add-ins.
Power View Add-ins
If it does not appear, follow these steps −
Step 1 − In the Excel Options Window, Click on Add-Ins.
Step 2 − In the Manage box, click the drop-down arrow and select COM Add-ins
Step 3 − Click on the Go button. A COM Add-Ins Dialog Box appears.
Step 4 − Check the Power View Check Box.
Step 5 − Click OK.
COM Add-ins Dialog
Now, you are ready to create the Power View sheet.
Step 1 − Click on the Data Table.
Step 2 − Click on Insert tab.
Step 3 − Click on Power View in Reports Group.
Power View Insert Tab
An Opening Power View window opens, showing the progress of Working on opening Power View sheet.
Opening Power View Window
The Power View sheet is created for you and added to your Workbook with the Power View. On the Right-side of the Power View, you find the Power View Fields. Under the Power View Fields you will find Areas.
In the Ribbon, if you click on Design tab, you will find various Visualization options.
Power View Visualization

Advanced Excel - Visualizations

You can quickly create a number of different data visualizations that suit your data using Power View. The visualizations possible are Tables, Matrices, Cards, Tiles, Maps, Charts such as Bar, Column, Scatter, Line, Pie and Bubble Charts, and sets of multiple charts (charts with same axis).

Create Charts and other Visualizations

For every visualization you want to create, you start on a Power View sheet by creating a table, which you then easily convert to other visualizations, to find one that best illustrates your Data.
Step 1 − Under the Power View Fields, select the fields you want to visualize.
Step 2 − By default, the Table View will be displayed. As you move across the Table, on the top-right corner, you find two symbols – Filters and Pop out.
Step 3 − Click on the Filters symbol. The filters will be displayed on the right side. Filters has two tabs. View tab to filter all visualizations in this View and Table tab to filter the specific values in this table only.
Chart Visualizations

Visualization – Matrix

Matrix is made up of rows and columns like a Table. However, a Matrix has the following capabilities that a Table does not have −
  • Display data without repeating values.
  • Display totals and subtotals by row and column.
  • With a hierarchy, you can drill up/drill down.

Collapse and Expand the Display

Step 1 − Click on the DESIGN tab.
Step 2 − Click on Table in the Switch Visualization Group.
Step 3 − Click on Matrix.
Matrix Visualizations Group
The Matrix Visualization appears.
Matrix Visualizations

Visualization – Card

You can convert a Table to a series of Cards that display the data from each row in the table laid out in a Card format, like an index Card.
Step 1 − Click on the DESIGN tab.
Step 2 − Click on Table in the Switch Visualization Group.
Step 3 − Click on Card.
Visualizations Card
The Card Visualization appears.
Visualizations Card Appear

Visualization – Charts

In Power View, you have a number of Chart options: Pie, Column, Bar, Line, Scatter, and Bubble. You can use several design options in a chart such as showing and hiding labels, legends, and titles.
Charts are interactive. If you click on a Value in one Chart −
  • the Value in that chart is highlighted.
  • All the Tables, Matrices, and Tiles in the report are filtered to that Value.
  • That Value in all the other Charts in the report is highlighted.
The charts are interactive in a presentation setting also.
Step 1 − Create a Table Visualization from Medals data.
You can use Line, Bar and Column Charts for comparing data points in one or more data series. In these Charts, the x-axis displays one field and the y-axis displays another, making it easy to see the relationship between the two values for all the items in the Chart.
Line Charts distribute category data evenly along a horizontal (category) axis, and all numerical value data along a vertical (value) axis.
Step 2 − Create a Table Visualization for two Columns, NOC_CountryRegion and Count of Medal.
Step 3 − Create the same Table Visualization below.
Medals Table Visualizations
Step 4 − Click on the Table Visualization below.
Step 5 − Click on Other Chart in the Switch Visualization group.
Step 6 − Click on Line.
Other Visualizations Chart
The Table Visualization converts into Line Chart Visualization.
Line Visualizations Chart
In a Bar Chart, categories are organized along the vertical axis and values along the horizontal axis. In Power View, there are three subtypes of the Bar Chart: Stacked, 100% stacked, and Clustered.
Step 7 − Click on the Line Chart Visualization.
Step 8 − Click on Bar Chart in the Switch Visualization Group.
Step 9 − Click on the Stacked Bar option.
Bar Visualizations Chart
The Line Chart Visualization converts into Stacked Bar Chart Visualization.
Stacked Bar Visualizations
Step 10 − In the Power View Fields, in the Medals Table, select the Field Gender also.
Stacked Bar Visualization Field
Step 11 − Click on one of the bars. That portion of the bar is highlighted. Only the row containing the Data specific to the selected bar is displayed in the table above.
SeletedBar Visualization
You can use the column charts for showing data changes over a period of time or for illustrating comparison among different items. In a Column Chart, the categories are along the horizontal axis and values are along the vertical axis.
In Power View, there are three Column Chart subtypes: Stacked, 100% stacked, and Clustered.
Step 12 − Click on the Stacked Bar Chart Visualization.
Step 13 − Click on Column Chart in the Switch Visualization group.
Step 14 − Click on Stacked Column.
Stacked Column Visualization
The Stacked Bar Chart Visualization converts into Stacked Column Chart Visualization.
Stacked Column Visualization

Advanced Excel - Pie Charts

You can have simple Pie Chart Visualizations in Power View.
Step 1 − Click on the Table Visualization as shown below.
Step 2 − Click on Other Chart in the Switch Visualization group.
Step 3 − Click on Pie as shown in the image given below.
Switch Visualization Group
The Table Visualization converts into Pie Chart Visualization.
Convert Pie Chart Visualization
You now have a Simple Pie Chart Visualization wherein the count of Medals are shown by the Pie Size, and Countries by Colors. You can also make your Pie Chart Visualization sophisticated by adding more features. One such example is SLICES.
Step 1 − Add Field Gender to the Table above.
Step 2 − Click on Pie Chart Visualization.
Step 3 − Drag Field Gender in the Power View Fields List to the SLICES Box as shown below.
Slices Box
Now, with SLICES, you can visualize the count of Medals for men and for women in each country.
Step 4 − Click on a SLICE in the Pie Chart Visualization.
Step 5 − Only the specific row containing the data specific to the SLICE will be displayed in the TABLE VISUALIZATION above.
Selcted Slices

Bubble and Scatter Charts

You can use the Bubble and Scatter charts to display many related data in one chart. In Scatter charts, the x-axis displays one numeric field and the y-axis displays another, making it easy to see the relationship between the two values for all the items in the chart. In a Bubble Chart, a third numeric field controls the size of the data points.
Step 1 − Add one Category Field and one Numeric Field to the Table.
Step 2 − Click on Other Chart in the Switch Visualization group.
Step 3 − Click on Scatter.
Scatter Charts
The Table Visualization converts into Scatter Chart Visualization. The Data points are little circles and all are of same size and same color. Category is in DETAILS Box.
Scatter Charts Visualization
Step 4 − Drag Medal to Size.
Step 5 − Drag field NOC_CountryRegion to Σ X VALUE.
The Scatter Chart Visualization converts into Bubble Chart Visualization. The data points are circles of the size represented by the values of Data points. The color of the circles is the X VALUE and given in the Legend. The data labels are the Category Values.
Bubble Charts Visualization
Step 6 − Drag the field NOC_CountryRegion to the COLOR Box. The bubbles will be colored by the values of the field in the COLOR box.
Step 7 − Drag the Year field to PLAY AXIS. A Time Line with Play button will be displayed below the Bubble Chart Visualization.
COLOR PLAY AXIS
Step 8 − Click on the Play button. The bubbles travel, grow, and shrink to show how the values change based on the PLAY AXIS. You can pause at any point to study the data in more detail.
COLOR PLAY AXIS
Step 9 − Click any color on the Legend. All the bubbles of that color will be highlighted and other bubbles will be grayed out.
Legend Color Selected

Maps

You can use Maps to display your data in the context of geography. Maps in Power View use Bing map tiles, so you can zoom and pan as you would with any other Bing map. To make maps work, Power View has to send the data to Bing through a secured web connection for geocoding. So, it asks you to enable the content. Adding locations and fields places dots on the map. The larger the value, the bigger the dot. When you add a multivalue series, you get pie charts on the map, with the size of the pie chart showing the size of the total.
Step 1 − Drag a Geographic Field such as Country/Region, State/Province, or City from Power View Fields List to the table.
Step 2 − Drag a numeric field such as Count to the table.
Geographic Field
Step 3 − Click on DESIGN tab on the ribbon.
Step 4 − Click on Map in the Switch Visualization group.
Map in Switch Visualization
The Table Visualization converts into Map Visualization. Power View creates a map with a dot for every geographic location. The size of the dot is the value of the corresponding numeric field.
Step 5 − Click on a dot. The data, viz., the geographic location and the numeric information relating to the size of the dot will be displayed.
Map Visualization
Step 6 − You can also verify that below the Power View Fields List, the Geographic field is in the Locations Box and Numeric Field is in the Î£ SIZE Box.
Step 7 − Drag Medal to COLOR Box. The Dots are converted into Pie Charts. Each Color in the Pie representing the category of the Medals.
Step 8 − Place the cursor on one of the Dots. The Dot gets highlighted and zoomed. The details of the Pie Slice are displayed.
Pie Highlighted Zoomed
Step 9 − Place the cursor on one of the Dots and click on it. That Pie Slice is highlighted. The other Slices in the Pie and all other Pie Dots will gray out.
Other Pie Dots

Multiples: A Set of Charts with the Same Axes

Multiples are a series of charts with identical X and Y axes. You can have Multiples arranged side by side, making it easy to compare many different values at the same time. Multiples are also called Trellis Charts.
Step 1 − Start with a Pie Chart. Click on the Pie Chart.
Step 2 − Drag a Field to Vertical Multiples.
Step 3 − Click on the LAYOUT tab on the ribbon.
Step 4 − Click on Grid Height and select a number.
Step 5 − Click on Grid Width and select a number.
Vertical Multiples expand across the available page width and then wrap down the page into the space available. If all the multiples do not fit in the available space, you get a vertical scroll bar.
Vertical Multiples
Step 6 − Drag the field in VERTICAL MULTIPLES to HORIZONTAL MULTIPLES. The horizontal multiples expand across the page. If all the multiples do not fit in the page width, you get a horizontal scroll bar.
Vertical to Horizontal Multiples
Step 7 − Click on Multiples.
Step 8 − Click on the DESIGN tab on the ribbon.
Step 9 − Click on Other Chart in the Switch Visualization group.
Step 10 − Click on Line. You have created Horizontal Multiples of the Line charts.
Horizontal Scroll Bar
Step 11 − Drag the Field in HORIZONTAL MULTIPLES to VERTICAL MULTIPLES. You have created VERTICAL MULTIPLES of Line Charts.
Vertical Multiples Line

Visualization – Tiles

Tiles are containers with a dynamic navigation strip. You can convert a Table, Matrix or Chart to Tiles to present data interactively. Tiles filter the content inside the Tile to the value selected in the Tab Strip. You can have a single Tile for each possible field value so that if you click on that Tile, data specific to that Field is displayed.
Step 1 − Drag the Field you want to use as your Tile from the Fields List and drop it in the Tile by box. The Tile Navigation Strip displays the Values for that Field.
Step 2 − Click the Tiles to move between the data for different Tiles. The data changes in the Stacked Bar Chart Visualization according to the selected Tile. All the content in the container is filtered by the selected Tile value.
Selected Tile
The Tile container has two navigation strip types: tile flow and tab strip.
What you have created above is the tab strip. Tab strip displays the navigation strip across the top of the visualization.
Step 3 − Click on a Tile.
Step 4 − Click on the DESIGN tab on the ribbon.
Step 5 − Click on Tile Type in the Tiles group.
Step 6 − Click on Tile Flow.
Tile Flow
The Tile flow displays the navigation strip across the bottom of the Visualization. The selected Tile is always centered.
Tile Flow Navigation
You can click on the Tiles or you can Scroll through the Tiles by using the Scroll Bar. When you Scroll, the Tiles go on being selected.
Step 7 − Click on Map in the Switch Visualization group.
Step 8 − Drag Medal to Color.
Step 9 − De-select the Field Gender
Selected Tile Connect
You got Map Visualization with Tile Flow. Likewise, you can have any data visualization with Tiles.

Advanced Excel - Additional Features

Power View in Excel 2013 provides an interactive data exploration, visualization, and presentation experience for all skill levels as you have seen in the previous section. You can pull your data together in Tables, Matrices, Maps, and a variety of Charts in an Interactive View that brings your Data to life. New features have been added to Power View in Excel 2013.
You can also publish Excel workbooks with Power View sheets to Power BI. Power BI saves the Power View sheets in your workbook as a Power BI report.
Power View sheets can connect to different data models in one workbook.
In Excel 2013, a workbook can contain −
  • An internal Data Model that you can modify in Excel, in Power Pivot, and even in a Power View sheet in Excel.
  • Only one internal Data Model, and you can base a Power View sheet on the Data Model in that workbook or on an external data source.
  • Multiple Power View sheets, and each of the sheets can be based on a different data model.
Each Power View sheet has its own Charts, Tables, and other Visualizations. You can copy and paste a chart or other visualization from one sheet to another, but only if both sheets are based on the same Data Model.

Modify the internal Data Model

You can create Power View sheets and an internal Data Model in an Excel 2013 workbook. If you base your Power View sheet on the internal Data Model, you can make some changes to the Data Model while you are in the Power View sheet itself.
Step 1 − Select the worksheet Salesperson.
Worksheet Salesperson
You have a Range of Data of Salesperson and Salesperson ID.
Step 2 − Now select the Worksheet Sales. You have a Range of Data of Sales.
Range of Data
Step 3 − Convert the data in the worksheet Salesperson to table and name it Salesperson.
Step 4 − Convert the data on the Sales Worksheet to table and name it Sales. Now, you have two tables in two Worksheets in the Workbook.
Step 5 − Click on the Sales Worksheet.
Step 6 − Click on the INSERT tab on the ribbon.
Step 7 − Click on Power View.
Sales Table Power View
Power View sheet is created in the Workbook. In the Power View Fields list, you can find both the tables that are available in the Workbook. However, in the Power View, only the Active Table (Sales) Fields are displayed since only the active Data Table Fields are selected in the Fields List.
Power View Fields
In the Power View, Salesperson ID is displayed. Suppose, instead you want to display the names of the salespersons.
Step 8 − De-select the Field Salesperson ID in Power View Fields.
De-select SalespersonID
Step 9 − Select the Field Salesperson in the Table Salesperson in Power View Fields.
You do not have a Data Model in the Workbook and hence no relationship exists between the two tables. Excel does not display any Data and displays messages directing you what to do.
Internal Data Model
Step 10 − Click on the CREATE button. The Create Relationship Dialog Box opens in the Power View sheet itself.
Create Relationship Dialog Box
Step 11 − Create the relationship between the two tables using the Salesperson ID Field.
Relationship B/W Two Tables
You have successfully created the internal Data Model without leaving the Power View sheet.

Advanced Excel - Power View in Services

When you create Power View sheets in Excel, you can view and interact with them onpremises in Excel Services, and in Office 365. You can only edit Power View sheets in Excel 2013 on a client computer.
  • Power View sheets cannot be viewed on OneDrive.
  • If you save an Excel workbook with Power View sheets to a Power Pivot Gallery, the Power View sheets in the workbook will not be displayed in the Gallery, but they are still in the file. You will see them when you open the workbook.
  • When you publish Excel workbooks with Power View sheets to Power BI. Power BI saves the Power View sheets in your workbook as a Power BI report.
Pie Charts
We have already discussed Pie Chart Visualization in the previous chapter.
Maps
We have already discussed Maps in the previous chapter.

Key Performance Indicators (KPIs)

KPI is a quantifiable measurement for gauging business objectives. For example,
  • Sales department of an organization might use a KPI to measure the monthly gross profit against the projected gross profit.
  • Accounting department might measure monthly expenditures against revenue to evaluate costs.
  • Human resources department might measure quarterly employee turnover.
  • Business professionals frequently use KPIs that are grouped together in a business scorecard to obtain a quick and accurate historical summary of business success or to identify trends.
KPI includes Base Value, Target Value / Goal, and Status.
  • A Base Value is defined by a calculated field that resolves to a value. The calculated field represents the current value for the item in that row of the table or matrix, for example, aggregate of sales, profit for a given period, etc.
  • A Target Value (or Goal) is defined by a calculated field that resolves to a value, or by an absolute value. The current value is evaluated against this value. This could be a fixed number, some goal all the rows should achieve, or a calculated field, which might have a different goal for each row. For example, budget (calculated field), average number of sick-leave days (absolute value).
  • Status is the visual indicator of the value. In Power View in Excel, you can edit the KPI, choosing which indicators to use and what values to trigger each indicator.

Hierarchies

If your data model has a hierarchy, you can use it in Power View. You can also create a new hierarchy from scratch in Power View.
Step 1 − Click on the Matrix Visualization.
Power View Matrix Visualization
Step 2 − Add ROWS / COLUMNS to the ROWS / COLUMNS box. The hierarchy is decided by the order of the fields in the ROWS box. You can put fields in any order in a hierarchy in Power View. You can change the order be simply dragging the fields in the ROWS Box.
Hierarchy Order

Drill-Up and Drill-Down

Once you create a hierarchy in Power View, you can drill up and drill down such that you can show just one level at a time. You can drill down for details and drill up for summary.
You can use drill up and drill down in Matrix, Bar, Column, and Pie Chart Visualizations.
Step 1 − Order the Fields in the Rows Box to define Hierarchy. Say, we have four Levels in the hierarchy.
Hierarchy Row Box
The Hierarchy, Drill down and Drill up are depicted as follows −
Hierarchy Drill Up/Down
Step 2 − Click on the DESIGN tab on the ribbon.
Step 3 − Click on Show Levels in the Options group.
Show Level Option Group
Step 4 − Click on Rows – Enable Drill Down one Level at a time.
Rows – Enable Drill Down
The Matrix collapses to display only Level 1 Data. You find an arrow on right side of the Level 1 Data item indicating Drill down.
Drill Down Level One
Step 5 − Click on the Drill down arrow. Alternatively, you can double-click on the Data item to Drill down. That particular Data item Drills down by one Level.
You have one arrow on the left indicating Drill up and one arrow on the right indicating Drill down.
Drill Down Arrow
You can double-click one value in a level to expand to show the Values under that one in the Hierarchy. You click the up arrow to drill back up. You can use Drill up and Drill down in Bar, Column, and Pie Charts also.
Step 6 − Switch to Stacked Bar Chart Visualization.
Step 7 − Order the Fields in the AXIS Box to define the Hierarchy. Stacked Bar Chart with only Level 1 Data is displayed.
Stacked Bar Chart Level One Data
Step 8 − Double-click on a Bar. The Data in the next Level of that particular bar is displayed.
Stacked Bar Chart Next Level
You can Drill down one Level at a time by double-clicking on any bar. You can Drill up one Level by clicking the Drill up arrow on the Right Top Corner.

Format Data Series shape

The required format will be displayed.

No comments:

Post a Comment