Gaurav Final
Gaurav Final
Gaurav Final
SUBMITTED BY
<GAURAV SINGH>
Acknowledgement
<GAURAV SINGH>
PivotTable
A PivotTable is a powerful tool to calculate, summarize, and analyze data that lets you see
comparisons, patterns, and trends in your data. PivotTables work a little bit differently depending on
what platform you are using to run Excel.
Note: Your data should be organized in columns with a single header row. See the Data
format tips and tricks section for more details.
Note: Selecting Add this data to the Data Model adds the table or range being used for
this PivotTable into the workbook’s Data Model. Learn more.
4. Choose where you want the PivotTable report to be placed. Select New Worksheet to
place the PivotTable in a new worksheet or Existing Worksheet and select where you
want the new PivotTable to appear.
5. Select OK.
Three kinds of What-If Analysis tools come with Excel: Scenarios, Goal Seek, and Data Tables.
Scenarios and Data tables take sets of input values and determine possible results. A Data Table
works with only one or two variables, but it can accept many different values for those variables. A
Scenario can have multiple variables, but it can only accommodate up to 32 values. Goal Seek works
differently from Scenarios and Data Tables in that it takes a result and determines possible input
values that produce that result.
In addition to these three tools, you can install add-ins that help you perform What-If Analysis, such
as the Solver add-in. The Solver add-in is similar to Goal Seek, but it can accommodate more
variables. You can also create forecasts by using the fill handle and various commands that are built
into Excel.
For example, you can do What-If Analysis to build two budgets that each assumes a certain level of
revenue. Or, you can specify a result that you want a formula to produce, and then determine what
sets of values will produce that result. Excel provides several different tools to help you perform the
type of analysis that fits your needs.
SCENARIO
A Scenario is a set of values that Excel saves and can substitute automatically in cells on a worksheet.
You can create and save different groups of values on a worksheet and then switch to any of these
new scenarios to view different results.
For example, suppose you have two budget scenarios: a worst case and a best case. You can use the
Scenario Manager to create both scenarios on the same worksheet, and then switch between them. For
each scenario, you specify the cells that change and the values to use for that scenario. When you
switch between scenarios, the result cell changes to reflect the different changing cell values.
1. Changing cells
2. Result cell
1. Changing cells
2. Result cell
If several people have specific information in separate workbooks that you want to use in scenarios,
you can collect those workbooks and merge their scenarios.
After you have created or gathered all the scenarios that you need, you can create a Scenario
Summary Report that incorporates information from those scenarios. A scenario report displays all the
scenario information in one table on a new worksheet.
GOAL SEEK
If you know the result that you want from a formula, but you're not sure what input value the formula
requires to get that result, you can use the Goal Seek feature. For example, suppose that you need to
borrow some money. You know how much money you want, how long a period you want in which to
pay off the loan, and how much you can afford to pay each month. You can use Goal Seek to
determine what interest rate you must secure in order to meet your loan goal.
Cells B1, B2, and B3 are the values for the loan amount, term length, and interest rate.
VLOOKUP function
Use VLOOKUP when you need to find things in a table or a range by row. For example, look
up a price of an automotive part by the part number, or find an employee name based on
their employee ID.
=VLOOKUP(What you want to look up, where you want to look for it, the column number in
the range containing the value to return, return an Approximate or Exact match – indicated
as 1/TRUE, or 0/FALSE).
There are four pieces of information that you will need in order to build the VLOOKUP
syntax:
1. The value you want to look up, also called the lookup value.
2. The range where the lookup value is located. Remember that the lookup value
should always be in the first column in the range for VLOOKUP to work correctly.
For example, if your lookup value is in cell C2 then your range should start with
C.
3. The column number in the range that contains the return value. For example, if
you specify B2:D11 as the range, you should count B as the first column, C as the
second, and so on.
4. Optionally, you can specify TRUE if you want an approximate match or FALSE if
you want an exact match of the return value. If you don't specify anything, the
default value will always be TRUE or approximate match.
=VLOOKUP(lookup value, range containing the lookup value, the column number in the
range containing the return value, Approximate match (TRUE) or Exact match (FALSE)).
Examples
Example 1
Example 2
Example 3
Example 4
Example 5
LOGICAL FORMULAE
a. SUM/ SUM IF
The SUM function adds values. You can add individual values, cell references or ranges or a mix of all
three.
For example:
=SUM(A2:A10, C2:C10) Adds the values in cells A2:10, as well as cells C2:C10.
SUMIF
You use the SUMIF function to sum the values in a range that meet criteria that you specify. For
example, suppose that in a column that contains numbers, you want to sum only the values that are
larger than 5. You can use the following formula: =SUMIF(B2:B25,">5")
For example:
=COUNTIF(A2:A5,"London")
=COUNTIF(A2:A5,A4)
COUNTA
Description
The COUNTA function counts the number of cells that are not empty in a range.
Syntax
value1 Required. The first argument representing the values that you want to count.
value2, ... Optional. Additional arguments representing the values that you want to count, up
to a maximum of 255 arguments.
COUNTIFS
The COUNTIFS function applies criteria to cells across multiple ranges and counts the number of
times all criteria are met.
Syntax
criteria_range1 Required. The first range in which to evaluate the associated criteria.
criteria1 Required. The criteria in the form of a number, expression, cell reference, or text that
define which cells will be counted. For example, criteria can be expressed as 32, ">32", B4,
"apples", or "32".
c. INDEX
The INDEX function returns a value or the reference to a value from within a table or range.
If you want to return the value of a specified cell or array of cells, see Array form.
Syntax
d. INDEX MATCH
There are certain limitations with using VLOOKUP—the VLOOKUP function can only look up a value
from left to right. This means that the column containing the value you look up should always be
located to the left of the column containing the return value. Now if your spreadsheet isn't built this
way, then do not use VLOOKUP. Use the combination of INDEX and MATCH functions instead.
This example shows a small list where the value we want to search on, Chicago, isn't in the leftmost
column. So, we can't use VLOOKUP. Instead, we'll use the MATCH function to find Chicago in the
range B1:B11. It's found in row 4. Then, INDEX uses that value as the lookup argument, and finds the
population for Chicago in the 4th column (column D). The formula used is shown in cell A14.
e. INDIRECT
Description
Returns the reference specified by a text string. References are immediately evaluated to display their
contents. Use INDIRECT when you want to change the reference to a cell within a formula without
changing the formula itself.
Syntax
INDIRECT(ref_text, [a1])
Ref_text Required. A reference to a cell that contains an A1-style reference, an R1C1-style reference,
a name defined as a reference, or a reference to a cell as a text string. If ref_text is not a valid cell
reference, INDIRECT returns the #REF! error value.
If ref_text refers to another workbook (an external reference), the other workbook must be open. If the
source workbook is not open, INDIRECT returns the #REF! error value.
f. MATCH
The MATCH function searches for a specified item in a range of cells, and then returns the relative
position of that item in the range. For example, if the range A1:A3 contains the values 5, 25, and 38,
then the formula =MATCH(25,A1:A3,0) returns the number 2, because 25 is the second item in the
range.
Syntax
lookup_value Required. The value that you want to match in lookup_array. For example, when
you look up someone's number in a telephone book, you are using the person's name as the
lookup value, but the telephone number is the value you want.
The lookup_value argument can be a value (number, text, or logical value) or a cell reference to a
number, text, or logical value.
match_type Optional. The number -1, 0, or 1. The match_type argument specifies how Excel
matches lookup_value with values in lookup_array. The default value for this argument is 1.
g. SUBTOTAL
This article describes the formula syntax and usage of the SUBTOTAL function in Microsoft Excel .
Description
Returns a subtotal in a list or database. It is generally easier to create a list with subtotals by using
the Subtotal command in the Outline group on the Data tab in the Excel desktop application. Once
the subtotal list is created, you can modify it by editing the SUBTOTAL function.
Syntax
SUBTOTAL(function_num,ref1,[ref2],...)
Function_num Required. The number 1-11 or 101-111 that specifies the function to use for
the subtotal. 1-11 includes manually-hidden rows, while 101-111 excludes them; filtered-out cells
are always excluded.
Ref1 Required. The first named range or reference for which you want the subtotal.
Ref2 Optional. Named ranges or references 2 to 254 for which you want the subtotal.
STATISTICAL FORMULAE
Average which is the arithmetic mean, and is calculated by adding a group of numbers and then
dividing by the count of those numbers. For example, the average of 2, 3, 3, 5, 7, and 10 is 30 divided
by 6, which is 5.
Median which is the middle number of a group of numbers; that is, half the numbers have values
that are greater than the median, and half the numbers have values that are less than the median. For
example, the median of 2, 3, 3, 5, 7, and 10 is 4.
Mode which is the most frequently occurring number in a group of numbers. For example, the
mode of 2, 3, 3, 5, 7, and 10 is 3.
separated by commas .
Remarks
STDEV.S assumes that its arguments are a sample of the population. If your data represents the
entire population, then compute the standard deviation using STDEV.P.
Arguments can either be numbers or names, arrays, or references that contain numbers.
Logical values and text representations of numbers that you type directly into the list of
arguments are counted.
If an argument is an array or reference, only numbers in that array or reference are counted.
Empty cells, logical values, text, or error values in the array or reference are ignored.
Arguments that are error values or text that cannot be translated into numbers cause errors.
If you want to include logical values and text representations of numbers in a reference as part of
the calculation, use the STDEVA function.
Correlation
The CORREL function returns the correlation coefficient of two cell ranges. Use the correlation
coefficient to determine the relationship between two properties. For example, you can examine the
relationship between a location's average temperature and the use of air conditioners .
CORREL(array1, array2)
DASHBOARD
A dashboard is a visual representation of key metrics that allow you to quickly view and analyze your
data in one place. Dashboards not only provide consolidated data views, but a self-service business
intelligence opportunity, where users are able to filter the data to display just what’s important to
them. In the past, Excel reporting often required you to generate multiple reports for different people
or departments depending on their needs.
CHARTING
Charts help you visualize your data in a way that creates maximum impact on your audience. Learn to
create a chart and add a trendline. You can start your document from a recommended chart or
Create a chart
1. Select data for the chart.
Note: You can select the data you want in the chart and press ALT + F1 to create a chart
immediately, but it might not be the best chart for the data. If you don’t see a chart you like,
select the All Charts tab to see all chart types.
4. Select a chart.
5. Select OK.
CONDITIONAL FORMATTING
Conditional formatting can help make patterns and trends in your data more apparent. To use it, you
create rules that determine the format of cells based on their values, such as the following mont Use
the Quick Analysis button to apply selected conditional formatting to the selected data. The
Quick Analysis button appears automatically when you select data.
Select the data that you want to conditionally format. The Quick Analysis button appears on the lower-
right corner of the selection.
2. In the pop-up that appears, on the Formatting tab, move your mouse over the different options to
see a Live Preview on your data, and then click on the formatting option you want.
3.
Notes:
The formatting options that appear in the Formatting tab depend on the data you have selected. If
your selection contains only text, then the available options are Text, Duplicate, Unique, Equal To,
and Clear. When the selection contains only numbers, or both text and numbers, then the options
are Data Bars, Colors, Icon Sets, Greater, Top 10%, and Clear.
Live preview will only render for those formatting options that can be used on your data. For example,
if your selected cells don't contain matching data and you select Duplicate, the live preview will not
work.
Select one or more cells in a range, table, or PivotTable report.
On the Home tab, in the Styles group, click the arrow next to Conditional Formatting, and then
click Color Scales.
SLICERS
Slicers provide buttons that you can click to filter tables, or PivotTables. In addition to quick
filtering, slicers also indicate the current filtering state, which makes it easy to understand what
exactly is currently displayed.
3. In the Insert Slicers dialog box, select the check boxes for the fields you want to display, then
select OK.
4. A slicer will be created for every field that you selected. Clicking any of the slicer buttons will
automatically apply that filter to the linked table or PivotTable.
Notes:
To select more than one item, hold Ctrl, and then select the items that you want to show.
FORMAT A SLICER
1. You can adjust your slicer preferences in the Slicer tab (in newer versions of Excel), or the Design tab
(Excel 2016 and older versions) on the ribbon.
2. On the Slicer or Design tab, select a color style that you want.
Note: Select and hold the corner of a slicer to adjust and resize
MACROS
If you have tasks in Microsoft Excel that you do repeatedly, you can record a macro to automate those
tasks. A macro is an action or a set of actions that you can run as many times as you want. When you
create a macro, you are recording your mouse clicks and keystrokes. After you create a macro, you can
edit it to make minor changes to the way it works.
Suppose that every month, you create a report for your accounting manager. You want to format the
names of the customers with overdue accounts in red, and also apply bold formatting. You can create
and then run a macro that quickly applies these formatting changes to the cells you select.
How?
Macros and VBA tools can be found on the Developer tab, which is hidden by default, so the
first step is to enable it. For more information, see Show the Developer tab.
Record a macro
3. Perform the actions you want to automate, such as entering boilerplate text or filling down a column of data.
4. On the Developer tab, click Stop Recording.
You can learn a little about the Visual Basic programming language by editing a macro.
To edit a macro, in the Code group on the Developer tab, click Macros, select the name of the macro,
and click Edit. This starts the Visual Basic Editor.
See how the actions that you recorded appear as code. Some of the code will probably be clear to
you, and some of it may be a little mysterious.
Experiment with the code, close the Visual Basic Editor, and run your macro again. This time, see if
anything different happens!
Next steps
MS WORD:
FORMATTING PARAGRAPH
3. To align them along the right margin, select Home > Align Right .
3. Choose an option.
FORMATTING TEXT
Select the text that you want to change, and then on the ribbon, do one of the following:
Specify a font size on the Message tab in the Basic Text group.
Specify a font size on the Format Text tab in the Font group.
Change the fonts in your message by selecting a new font theme. A font theme applies to all of the
headings and body text in the message that you are working on.
1. Click Options.
Note: If you want to change the font, colors, and effects in your message, click Themes instead
of Fonts.
3. Under Office, click the predefined font theme that you want to use.
MAIL MERGE
Here are some tips to prepare your Excel spreadsheet for a mail merge.
Column names in your spreadsheet match the field names you want to insert in your mail merge.
For example, to address readers by their first name in your document, you'll need separate
columns for first and last names.
Data entries with percentages, currencies, and postal codes are correctly formatted in the
spreadsheet so that Word can properly read their values.
The Excel spreadsheet to be used in the mail merge is stored on your local machine.
Changes or additions to your spreadsheet are completed before it's connected to your mail
merge document in Word.
Notes:
You can import information from your Excel spreadsheet by importing information from a
comma-separated value (.csv) or a text (.txt) file and use the Text Import Wizard to build a new
spreadsheet.
For more information, see Prepare your Excel data source for mail merge in Word.
Connect to your data source. For more info, see Data sources you can use for a mail merge.
2. In Mail Merge Recipients, clear the check box next to the name of any person who you don't
want to receive your mailing.
Note: You also can sort or filter the list to make it easier to find names and addresses. For more
info, see Sort the data for a mail merge or Filter the data for a mail merge.
PAGE LAYOUT
Change your document's layout to get it just the way you want.
Margins
Page Orientation
Line Spacing
To create a simple chart from scratch in Word, click Insert > Chart, and pick the chart you want.
2. Click the chart type and then double-click the chart you want.
Tip: For help deciding which chart is best for your data, see Available chart types.
3. In the spreadsheet that appears, replace the default data with your own information.
Tip: When you insert a chart, small buttons appear next to its upper-right corner. Use the Chart
Elements button to show, hide, or format things like axis titles or data labels. Or use
the Chart Styles button to quickly change the color or style of the chart. The Chart
Filters button is a more advanced option that shows or hides data in your chart.
5. If you want, use the Layout Options button to arrange the chart and text in your document.
MS PRESENTATION:
CREATING PRESENTATION
Create a presentation
1. Open PowerPoint.
2. In the left pane, select New.
3. Select an option:
To create a presentation from scratch, select Blank Presentation.
To use a prepared design, select one of the templates.
To see tips for using PowerPoint, select Take a Tour, and then select Create, .
Add a slide
1. In the thumbnails on the left pane, select the slide you want your new slide to follow.
3. In the Slides section, select Layout, and then select the layout you want from the menu.
1. Place the cursor inside a text box, and then type something.
2. Select the text, and then select one or more options from the Font section of the Home tab, such
as Font, Increase Font Size, Decrease Font Size, Bold, Italic, Underline, etc.
3. To create bulleted or numbered lists, select the text, and then select Bullets or Numbering.
INSERTING ANIMATIONS
Add animation and effects to text, pictures, shapes, and objects in your PowerPoint presentation.
SLIDE SHOW
On the Slide Show tab, in the Start Slide Show group, select From Beginning.
Now, if you are working with PowerPoint on a single monitor and you want to display Presenter view,
in Slide Show view, on the control bar at the bottom left, select , and then Show Presenter
View.
To view all the slides in your presentation, select See all slides.
Tip: You’ll see thumbnails of all the slides in your presentation (as shown below), making it easy
to jump to a specific slide in the show.
To view a detail in your slide up close, select Zoom into slide, and then point to the part you
want to see.
To point to or write on your slides as you present, select Pen and laser pointer tools.
Press the Esc key when you want to turn off the pen, laser pointer, or highlighter.
To hide or unhide the current slide in your presentation, select Black or unblack slide show.
You can use PowerPoint on your smartphone as a remote control to run your presentation and view
your speaker notes. See Using a laser pointer on your smartphone when presenting in PowerPoint for
more information, including a brief video.
To manually determine which screen shows your notes in Presenter view and which shows only the
slides themselves, on the task bar at the top of Presenter view, select Display Settings, and then
select Swap Presenter View and Slide Show.
Tip: You can add notes either while you’re presenting, directly from Presenter view, or as you’re
editing your presentation. For information on how to add speaker notes to your presentation see Add
speaker notes to your slides.
When your computer is connected to a projector and you start the slide show , Presenter
View appears on your computer's screen, while only the slides appear on the projector screen. In
Presenter view, you can see your notes as you present, while the audience sees only your slides.
The notes appear in a pane on the right. If you need to add or delete something, simply click in the
text box to edit it. The text wraps automatically, and a vertical scroll bar appears if necessary. You can
change the size of the text in the Notes pane by using the two buttons at the lower left corner of the
Notes pane:
To change the size of the panes in Presenter View, point your mouse at the vertical line that separates
them, then click and drag.
Tip: If you don't need to see the current slide in Presenter View at all, and would like your notes to be
larger, drag that vertical separator line all the way to the left.
If you want Presenter view turned off while you are showing your presentation to others:
On the Slide Show tab of the ribbon, clear the check box named Use Presenter View .