Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1) Pivot Tables
Pivot Tables are used to reorganize data in a spreadsheet. They
won't change the data that you have, but they can sum up values and
compare different information in your spreadsheet, depending on what
you'd like them to do.
Let's take a look at an example. Let's say I want to take a look at how many
people are in each house at Hogwarts. You may be thinking that I don't
have too much data, but for longer data sets, this will come in handy.
To create the Pivot Table, I go to Data > Pivot Table. Excel will automatically
populate your Pivot Table, but you can always change around the order of
the data. Then, you have four options to choose from.
1. Report Filter: This allows you to only look at certain rows in your
dataset. For example, if I wanted to create a filter by house, I could
choose to only include students in Gryffindor instead of all students.
2. Column Labels: These could be your headers in the dataset.
3. Row Labels: These could be your rows in the dataset. Both Row and
Clumn labels can contain data from your columns (e.g. First Name
can be dragged to either the Row or Column label -- it just depends
on how you want to see the data.)
4. Value: This section allows you to look at your data differently. Instead
of just pulling in any numeric value, you can sum, count, average,
max, min, count numbers, or do a few other manipulations with your
data. In fact, by default, when you drag a field to Value, it always
does a count.
Since I want to count the number of students in each house, I'll go to the
Pivot Table and drag the House column to both the Row Labels and the
Values. This will sum up the number of students associated with each
house.
3) Filters
When you're looking at very large data sets, you don't usually need to be
looking at every single row at the same time. Sometimes, you only want to
look at data that fit into certain criteria. That's where filters come in.
Filters allow you to pare down your data to only look at certain rows at one
time. In Excel, a filter can be added to each column in your data -- and from
there, you can then choose which cells you want to view at once.
Let's take a look at the example below. Add a filter by clicking the Data tab
and selecting "Filter." Clicking the arrow next to the column headers and
you'll be able to choose whether you want your data to be organizing in
ascending or descending order, as well as which specific rows you want to
show.
In my Harry Potter example, let's say I only want to see the students in
Gryffindor. By selecting the Gryffindor filter, the other rows disappear.
Pro Tip: Copy and paste the values in the spreadsheet when a Filter is on
to do additional analysis in another spreadsheet.
4) Remove Duplicates
Larger data sets tend to have duplicate content. You may have a list of
multiple contacts in a company and only want to see the number of
companies you have. In situations like this, removing the duplicates comes
in quite handy.
To remove your duplicates, highlight the row or column that you want to
remove duplicates of. Then, go to the Data tab, and select "Remove
Duplicates" (under Tools). A pop-up will appear to confirm which data you
want to work with. Select "Remove Duplicates," and you're good to go.
You can also use this feature to remove an entire row based on a duplicate
column value. So if you have three rows with Harry Potter's information and
you only need to see one, then you can select the whole dataset and then
remove duplicates based on email. Your resulting list will have only unique
names without any duplicates.
5) Transpose
When you have low rows of data in your spreadsheet, you might decide you
actually want to transform the items in one of those rows into columns (or
vice versa). It would take a lot of time to copy and paste each individual
header -- but what the transpose feature allows you to do is simply move
your row data into columns, or the other way around.
Start by highlighting the column that you want to transpose into rows. Rightclick it, and then select "Copy." Next, select the cells on your spreadsheet
where you want your first row or column to begin. Right-click on the cell,
and then select "Paste Special." A module will appear -- at the bottom,
you'll see an option to transpose. Check that box and select OK. Your
column will now be transferred to a row or vise versa.
6) Text to Columns
What if you want to split out information that's in one cell into two different
cells? For example, maybe you want to pull out someone's company name
through their email address. Or perhaps you want to separate someone's
full name into a first and last name for your email marketing templates.
Thanks to Excel, both are possible. First, highlight the column that you want
to split up. Next, go to the Data tab and select "Text to Columns." A module
will appear with additional information.
First, you need to select either "Delimited" or "Fixed Width."
"Delimited" means you want to break up the column based on
characters such as commas, spaces, or tabs.
"Fixed Width" means you want to select the exact location on all the
columns that you want the split to occur.
In the example case below, let's select "Delimited" so we can separate the
full name into first name and last name.
Then, it's time to choose the Delimiters. This could be a tab, semi-colon,
comma, space, or something else. ("Something else" could be the "@" sign
used in an email address, for example.) In our example, let's choose the
space. Excel will then show you a preview of what your new columns will
look like.
When you're happy with the preview, press "Next." This page will allow you
to select Advanced Formats if you choose to. When you're done, click
"Finish."
Excel Formulas
7) Simple Calculations
In addition to doing pretty complex calculations, Excel can help you
do simple arithmetic like adding, subtracting, multiplying, or dividing any of
your data.
To add, use the + sign.
To subtract, use the - sign.
To multiply, use the * sign.
To divide, use the / sign.
You can also use parenthesis to ensure certain calculations are done first.
In the example below (10+10*10), the second and third 10 were multipled
together before adding the additional 10. However, if we made it
(10+10)*10, the first and second 10 would be added together first.
Bonus: If you want the average of a set of numbers, you can use the
formula=AVERAGE(Cell Range). If you want to sum up a column of
numbers, you can use the formula =SUM(Cell Range).
9) IF Statement
Sometimes, we don't want to count the number of times a value appears.
Instead, we want to input different information into a cell if there is a
corresponding cell with that information.
For example, in the situation below, I want to award ten points to everyone
who belongs in the Gryffindor house. Instead of manually typing in 10's
next to each Gryffindor student's name, I can use the IF THEN Excel
formula to say that if the student is in Gryffindor, then they should get ten
points.
The formula: IF(logical_test, value_if_true, value of false)
Example Shown Below: =IF(D2="Gryffindor","10","0")
In general terms, the formula would be IF(Logical Test, value of true, value
of false). Let's dig into each of these variables.
Logical_Test: The logical test is the "IF" part of the statement. In this
case, the logic is D2="Gryffindor" because we want to make sure that
the cell corresponding with the student says "Gryffindor." Make sure
to put Gryffindor in quotation marks here.
Value_if_True: This is what we want the cell to show if the value
is true. In this case, we want the cell to show "10" to indicate that the
student was awarded the 10 points. Only use quotation marks if you
want the result to be text instead of a number.
Value_if_False: This is what we want the cell to show if the value
is false. In this case, for any student not in Gryffindor, we want the
cell to show "0" to show 0 points. Only use quotation marks if you
want the result to be text instead of a number.
Excel Functions
11) VLOOKUP Function
Have you ever had two sets of data on two different spreadsheets that you
want to combine into a single spreadsheet?
For example, you might have a list of people's names next to their email
addresses in one spreadsheet, and a list of those same people's email
addresses next to their company names in the other -- but you want the
names, email addresses, and company names of those people to appear in
one place.
I have to combine data sets like this a lot -- and when I do, the VLOOKUP is
my go-to formula. Before you use the formula, though, be absolutely sure
that you have at least one column that appears identically in both places.
Scour your data sets to make sure the column of data you're using to
combine your information is exactly the same, including no extra spaces.
The formula: =VLOOKUP(lookup value, table array, column number,
[range lookup])
The formula with variables from our example
below: =VLOOKUP(C2,Sheet2!A:B,2,FALSE)
In this formula, there are several variables. The following is true when you
want to combine information in Sheet 1 and Sheet 2 onto Sheet 1.
Lookup Value: This is the identical value you have in both
spreadsheets. Choose the first value in your first spreadsheet. In the
example that follows, this means the first email address on the list, or
cell 2 (C2).
Table Array: The range of columns on Sheet 2 you're going to pull
your data from, including the column of data identical to your lookup
value (in our example, email addresses) in Sheet 1 as well as the
titles of the X and Y axis. Go to the Insert tab, click Charts, click
Column, and choose the graph you wish. In this example, I will be picking
the first 2-D Column choice -- just because I prefer it over the 3-D look.
If you click on the downward arrows located at B1 and C1, you can choose
to sort based on smallest to largest or largest to smallest, depending on
your preference. Here, I sorted largest to smallest on B1.
First of all open the worksheet where you wish to add the background.
4. This will add the picture that you just selected as the sheet background.
First open the worksheet where you have to add the background.
Next, navigate to Page Layout Tab in the ribbon and click the
Background option.
3. This will open a sheet background window, select the image that you wish to
use as a background and then click the insert button.
4. Now the image that you just selected will be used in the background your
worksheet.
Try to use contrast colours to make you spreadsheets more readable. For
example- if you use a dark colour font on a light colour background image, it
will be easier to read.
You can also use the shortcut Alt + P G to add an image background to
your worksheets.
The image in your spreadsheet background can increase the overall size of
the spreadsheet. So, only select those images that have small sizes.
You cannot add a background image to multiple worksheets at once. You
can only add the background to one worksheet at a time.
Remove gridlines on your spreadsheets when you are using a background
image, this makes them look smooth.
It should be noted that when you add an image background to your
spreadsheet using the above method then it wont show up when you print
the sheet. To add printable backgrounds to your spreadsheet use the second
option.
First open the spreadsheet, where you have already added an image as
background.
2.
Next, navigate to Format > Sheet > Delete Background.
First of all open the spreadsheet, where you have already added an image
as background.
2.
After this, navigate to the Page Layout tab in the ribbon and click the
Delete Background option.
Open the worksheet where you wish to add your image background.
Before proceeding further make sure that you have filled the required data
to your spreadsheet.
2. Next, navigate to Insert Tab > Shapes > Rectangle, and draw a
rectangle on your sheet.
3. After this, right click on the rectangle and select the option Format Shape
as shown in image.
4. This will open the Format Shape options, click the Fill option, in the Fill
type select the Gradient or Texture radio button. Then using the File
button select the picture of your choice as the background and set its
transparency according to your needs.
5. Now adjust the image such that it shows in the printable area and then
print the sheet.
Alt
F1
Opens
Excel Help
Insert a
New
Chart
F2
Edit
contents of
an excel
Opens
Save As
dialog
box
F3
Paste
Named
Range or
Named
List
F4
Toggles
between
cell
references
Absolute,
Relative
and Mixed
Reference.
Also
repeats
last action
performed
in
workbook.
No
Output
Alt + Ctrl
Alt + Ctrl +
Shift
Ctrl
Shift
Minimize
or
Maximize
the
ribbon
No Output
Add new
workshee
t
No
Output
No Output
No Output
Opens
Print
options
Insert or
Edit a
comment
in selected
cell
Saves
the
workbook
No
Output
Opens the
File Open
Dialog
Box.
Opens
Print
options
Opens
Name
Manager
Opens
dialog box
to select
functions
to insert in
the
selected
cell
No
Output
Create
names
from the
row or
column
labels for
the
selected
cell(s)
Provide
name the
selected
range or
cell.
No Output
Quits
Excel.
Closes all
the open
excel
workbook
s. Same
as Alt +
F4
Function.
Select
the
empty
cell
available
next in
the left
direction
to the
current
selection.
Quits
Excel.
Closes all
the open
excel
workbooks
. Same as
Alt + F4
Function.
Closes the
current
open excel
workbook
window.
Closes all
the open
excel
workbook
s.
Closes all
the open
excel
workbook
s.
Select the
empty cell
available
next in the
right
direction to
the current
selection.
F5
Displays
the Go To
dialog box.
No
Output
Restores
the
window
size from
maximum
of the
current
open
excel
workbook
.
Opens the
Find and
Replace
Window.
No
Output
No
Output
No Output
No Output
F6
Switch
No
Switch to
Switch
No
Switch to
No Output
No Output
between
the panes
of an excel
workbook
if you have
a split
window. If
not
switches
between
help task
pane and
application
window.
F7
Opens the
Spelling
option in
excel
using
which you
can check
the
spellings in
your
workbook
F8
Enables
and
disables
Extend
Mode
selection
in excel.
F9
Recalculat
es the
output of
all
formulas in
your excel
workbook.
If editing a
cell having
formula
then
replaces
the value
of the
formula in
cell.
F10
Displays
the
keyboard
shortcut
for the
Output
the
previous
excel
workbook
if you
have
multiple
workbook
s open.
between
the panes
of an excel
workbook
if you have
a split
window. If
not
switches
between
help task
pane and
application
window.
Output
the
previous
excel
workbook
if you
have
multiple
workbook
s open.
No
Output
Moves
the excel
window.
Works
only if
your
workbook
is in a
restored
window.
Opens the
Research
task pane
in your
excel
workbook.
No
Output
No
Output
No Output
No Output
Open the
Macros
dialog
box.
Moves
the excel
window.
Works
only if
your
workbook
is in a
restored
window.
Select cell
or multiple
cells or a
range of
cells using
arrow
keys.
No
Output
No
Output
No Output
No Output
Recalculat
es the
output of
all
formulas in
your excel
workbook.
All the
dependent
formulas
are
rechecked
and
recalculate
d in all the
open
workbooks.
It also
works for
the cell
which are
not marked
for
recalculatio
n.
No Output
No Output
No
Output
Display
the
selection
window in
Minimize
s the
Excel
window.
Recalculat
es the
output of
all
formulas in
your excel
workbook.
No
Output
No
Output
Resizes
or
restores
the excel
window if
Displays
the
shortcut
window for
the
Displays
the menu
for the
Smart
Tag if
Displays
the
shortcut
window
for the
selected
cell, same
as right
clicking the
mouse on
the
selected
cell. If
Help
Window
of Excel is
opened
then it
displays
the set of
commands
for Help
Window.
only a
single
Smart
Tag is
present in
your
workbook
. In case
of
multiple
Smart
Tags it
simply
toggles to
next
smart tag
and
displays
its menu.
selected
cell,
same as
right
clicking
the
mouse
on the
selected
cell. If
Help
Window
of Excel
is
opened
then it
displays
the set of
comman
ds for
Help
Window.
No
Output
No Output
No Output
Opens
Print
options.
No Output
No Output
excel
ribbon also
known as
excel tips.
excel.
its open
in
maximum
window
first.
Similarly
it
maximize
s the
excel
window if
its open
in
restored
window
initially.
F11
Adds a
chart to
your excel.
If you hit
F11 after
selecting a
specific
data range
then it
uses the
same
range in
chart.
Opens
Microsoft
Visual
Basic
Editor. If
VB Editor
is already
open
then by
pressing
this key
you can
toggle
between
the Excel
workbook
and
editor.
Adds a
macro
sheet in
your
currently
open
excel
workbook
with a
default
name like
Macro1,
Macro2,
etc
Inserts a
New
Sheet in
your
currently
open excel
workbook.
Displays
the
Microsoft
Script
editor for
your
current
open
excel
workbook
F12
Opens
Save As
dialog box
like Alt +
F2 keys.
No
Output
Opens
the File
Open
Dialog
Box.
Saves the
workbook
like Alt +
Shift + F2
keys.
No
Output
F1 Key:
F1 is used for opening Excel Help. Its output is same as obtained by clicking on
question mark button available on top right hand side of your excel sheets as highlighted in
below image.
Alt + F1:
If you use Alt and F1 Keys together then it will insert a new chart in your excel and will
open the chart options. It is a column chart by default as shown in below image.
Ctrl + F1:
You can minimize or maximize the ribbon of excel by pressing Ctrl & F1 Keys together.
By minimizing the ribbon only tab names will be displayed on the ribbon. This could also be
achieved by clicking on the button highlighted in below image:
Shift + F1:
Unfortunately, Shift + F1 Keys alone does not provide any output. However, it works when
Alt button is pressed.
Alt + Shift + F1:
A new worksheet is added to the workbook in which you are working currently by holding
Alt + Shift + F1 Keys together.
Ctrl + Shift + F1:
This set of keys when pressed together does not give any output either like Shift + F1
Keys.
Alt + Ctrl + F1:
This set of keys when pressed together does not give any output either like Shift + F1 and
Ctrl + Shift + F1 keys.
Alt + Ctrl + Shift + F1:
Alt + Ctrl + Shift + F1 does not provide any output.
F2 Key:
Using F2 Key, you edit the contents of a cell in excel. If you select a cell that is filled with
some value and then press F2 Key, then it will allow you to insert at the end of the current
content in cell. However if you press F2 for an empty cell then it simply allows you to type
in the empty cell.
If editing directly in cells is disabled in your workbook, then by pressing F2 you can edit
the contents in Formula Bar. In case you are unaware that if direct editing is disabled or not
then just follow below steps:
In the Advanced Option for Excel, verify if the check-box against Allow
editing directly in cells is ticked or not as shown in below image.
Alt + F2:
By holding Alt + F2 keys together the Save As dialog box opens for saving the excel
workbook.
Ctrl + F2:
To open Print options you can just hold Ctrl + F2 keys together. It opens the same printing
options as shown in below image which could also be opened by clicking on File menu and
then by selecting Print Option.
Shift + F2:
Insert comments in a cell by just holding Shift and F2 Keys together. You can also edit the
existing comments in the selected cell using Shift + F2 keys.
Alt + Shift + F2:
This set of keys Alt + Shift + F2 when pressed together saves the workbook. It is same as
Ctrl + S keys.
Ctrl + Shift + F2:
Ctrl + Shift + F2 Keys dont provide any output.
Alt + Ctrl + F2:
This set of keys Alt + Ctrl + F2 when pressed together opens the File Open Dialog Box.
It is same as Ctrl + O function.
Alt + Ctrl + Shift + F2:
Alt + Ctrl + Shift + F2 keys open the print option in excel, same as Ctrl + F2 keys.
F3 Key:
F3 key helps you to paste name or paste list into the selected cell as displayed in below
image. This function key will not work until and unless the list that you have created is
having a named range.
You can refer this article if you are not aware of a named range.
Alt + F3:
Alt + F3 Keys dont provide any output.
Ctrl + F3:
If you hold Ctrl + F3 keys together then Name Manager dialog box is opened as shown
in below image. If you want to know about Name Manager in a detailed manner then you
canrefer this article.
Shift + F3:
Shift + F3 keys when pressed together opens a window using which you can insert any
function of your choice in the selected cell.
F4 Key:
F4 key provides you two different outputs depending on what you are doing currently in
your excel.
If you are editing, then it will cycle you through the all three types of references, like
absolute reference, relative reference and mixed reference.
Refer below example for detail.
As displayed in below image in the selected cell of excel, we are first using the relative
reference of Cell having Student As marks in English Subject. After pressing F4 key it
toggles and suggests the absolute reference of same cell and again by pressing F4 key the
mixed reference of the cell are suggested. If you are new to these terms of references then
you cango through this article to understand these in details.
In addition to toggling the reference of a cell, F4 keys also repeats the last action performed
in workbook. Although, this could also be achieved using Ctrl + Y keys.
Example: If you have just inserted or deleted a row or column in your workbook then by
pressing F4 key you can repeat the action of insertion or deletion of rows and \ or columns.
Likewise if you have just pasted something in your workbook, then using F4 you can
repeat it.
Alt + F4:
I believe you all would be aware what magic Alt + F4 keys do. For those who dont know,
by pressing Alt + F4 excel would be closed. It will prompt you for a confirmation to save
changes if there are any.
Ctrl + F4:
Using Ctrl & F4 keys you can close the current open excel workbook window. It does the
same operation as done by the Close Window button available on Excel workbook.
Shift + F4:
Shift + F4 keys select the empty cell available next in the right direction to the current
selection. It toggles in the same row until it finds the data, after which it goes to next row
available.
Alt + Shift + F4:
Alt + Shift + F4 keys provide same output as Alt + F4 Keys, that is it will quit excel
thereby closing all open excel workbooks.
Ctrl + Shift + F4:
Ctrl + Shift + F4 keys select the empty cell available next in the left direction to the current
selection. It toggles in the same row until it finds the data, after which it goes to next row
available. Note that the difference between Ctrl + Shift + F4 keys and Shift + F4 keys is
the direction in which movement is done. The cells are toggled in left direction using Ctrl +
Shift + F4 keys and in right direction using Shift + F4 keys.
Alt + Ctrl + F4:
Alt + Ctrl + F4 keys provide same output as Alt + F4 Keys, that is it will quit excel
thereby closing all open excel workbooks.
Alt + Ctrl + Shift + F4:
Alt + Ctrl + Shift + F4 keys closes all open excels like Alt + F4 Keys.
F5 Key:
F5 key displays the Go To dialog box. Go To box will list down the valid named
range available in the opened excel workbook. Along with this you can enter the reference
of cell where you want to go in the Reference text box. Using Special button you can go
to the various options as displayed in below image comments, constants, formula, etc.
Alt + F5:
Alt + F5 dont provide any output.
Ctrl + F5:
Ctrl + F5 keys when hit together restore window size from maximum of the current open
excel workbook. Although, using it again after restore does not maximize the window.
Shift + F5:
Shift + F5 keys when hold together opens the Find and Replace Window.
Alt + Shift + F5:
Alt + Shift + F5 keys dont provide any output.
Ctrl + Shift + F5:
Ctrl + Shift + F5 keys dont provide any output.
Alt + Ctrl + F5:
Alt + Ctrl + F5 keys dont provide any output.
Alt + Ctrl + Shift + F5:
Alt + Ctrl + Shift + F5 dont provide any output.
F6 Key:
F6 key is used to switch between the panes of an excel workbook if you have a split
window in the current sheet of your excel workbook. If your sheet is not split then F6 key
will shift between the help task pane and application window.
Alt + F6:
Alt + F6 keys dont provide any output.
Ctrl + F6:
Using Ctrl + F6 keys you can switch to the previous excel workbook if you have multiple
workbooks open.
Shift + F6:
Shift + F6 keys works same as F6 key.
Alt + Shift + F6:
Alt + Shift + F6 keys dont provide any output.
Ctrl + Shift + F6:
Ctrl + Shift + F6 keys works same as Ctrl + F6 key.
Alt + Ctrl + F6:
Alt + Ctrl + F6 keys dont provide any output.
Alt + Ctrl + Shift + F6:
Alt + Ctrl + Shift + F6 dont provide any output.
F7 Key:
F7 key opens the Spelling option in excel using which you can check the spellings in
your workbook. It provides the same output as you get by navigating to Review Tab on top
of excel ribbon and then clicking on Spelling button.
Alt + F7:
Alt + F7 keys dont provide any output.
Ctrl + F7:
Ctrl + F7 keys move the excel window of the current workbook which is open. However it
works only if your workbook is in a restored window.
Shift + F7:
Shift + F7 opens the Research task pane in your excel workbook. It provides the same
output as you get by navigating to Review Tab on top of excel ribbon and then clicking on
Research button.
Alt + Shift + F7:
Alt +Shift + F7 keys dont provide any output.
Ctrl + Shift + F7:
Ctrl +Shift + F7 keys dont provide any output.
F8 Key:
F8 key enables and disables Extend Mode selection in excel. By enabling extend mode
you can select multiple cells at a time. Likewise by disabling Extend Mode the cell
selection would be set to one cell at a time.
Alt + F8:
Alt + F8 keys open the Macros dialog box as shown in below image:
Ctrl + F8:
Ctrl + F8 keys move the excel window of the current workbook which is open. However it
works only if your workbook is in a restored window. It provides the same output as Ctrl +
F7 keys.
Shift + F8:
Shift + F8 keys provide you an option to select cell or multiple cells or a range of cells
using arrow keys.
Alt + Shift + F8:
Alt +Shift + F8 keys dont provide any output.
Ctrl + Shift + F8
Ctrl +Shift + F8 keys dont provide any output.
Alt + Ctrl + F8
Alt +Ctrl + F8 keys dont provide any output.
Alt + Ctrl + Shift + F8:
Alt + Ctrl + Shift + F8 dont provide any output.
F9 Key:
F9 key recalculates output of all formulas in your excel workbook. Please note that it will
update all the formulas present in various sheet of the open excel workbook.
If you are editing a cell having a formula and press F9 key then it will replace the cell having
formula with the value of that formula.
Alt + F9:
Alt + F9 keys dont provide any output.
Ctrl + F9:
Using Ctrl + F9 keys your excel window will be minimized. Although pressing it again
would not maximize the screen again.
Shift + F9:
The function of Shift + F9 keys is same as F9 key. It recalculates all the formulas in your
excel workbook.
Alt + Shift + F9:
Alt + Shift + F9 keys dont provide any output.
Ctrl + Shift + F9:
Ctrl + Shift + F9 keys dont provide any output.
Alt + Ctrl + F9:
The function of Alt + Ctrl+ F9 keys is same as F9 key or Shift + F9 keys. It
recalculates all the formulas in your excel workbook.
Alt + Ctrl + Shift + F9:
Using Alt + Shift + Ctrl + F9 keys, all the dependent formulas are rechecked and
recalculated in all the open workbooks. It also works for the cell which are not marked for
recalculation.
F10 Key:
Using F10 key you get the Excel Tips the keyboard shortcuts for excel ribbon. Its output
is same as obtained by pressing the Alt key.
Alt + F10:
Alt + F10 keys display the selection window in excel as shown in below image.
Ctrl + F10:
Ctrl + F10 keys resizes or restores the excel window if it is open in maximum window first.
Similarly it maximizes the excel window if it is open in restored window initially.
Shift + F10:
Shift + F10 keys display the excel shortcut window also known as Context Menu for the
selected cell. Its output is same as you obtain by right clicking the mouse on the selected cell.
If Help Window of Excel is opened then it displays the set of commands for Help Window.
Alt + Shift + F10:
Alt + Shift + F10 keys displays the menu for the Smart Tag if only a single Smart Tag
is present in your workbook. In case of multiple Smart Tags it simply toggles to next smart
tag and displays its menu.
Ctrl + Shift + F10:
Ctrl + Shift + F10 keys works same as Shift + F10 keys.
Alt + Ctrl + F10:
Alt + Ctrl + F10 keys dont provide any output.
Alt + Ctrl + Shift + F10:
Alt + Ctrl + Shift + F10 keys dont provide any output.
F11 Key:
F11 key adds a chart to your excel. If you hit F11 after selecting a specific data range then
it uses the same range in chart.
Alt + F11:
Alt + F11 keys open the Microsoft Visual Basic Editor. If VB Editor is already open then
by pressing this key you can toggle between the Excel workbook and editor.
Ctrl + F11:
Ctrl + F11 keys add a macro sheet in your currently open excel workbook with a default
name like Macro1, Macro2, etc. These Macro Sheets were actually used to store macros
in the excel versions prior to Excel 97. They are not being used anymore.
Shift + F11:
Shift + F11 keys insert a New Sheet in your currently open excel workbook. The new
sheet is added on the left hand side of the sheet where you are currently working.
Alt + Shift + F11:
Alt + Shift + F11 displays the Microsoft Script editor for your current open excel
workbook. Microsoft Editor was an additional tool provided by Microsoft in version from
MS Office 2000 to 2007. It allows you to work in a large variety of codes in office products
ranging from: HTML code, DHTML objects, Java Script and VB Script.
Ctrl + Shift + F11:
Ctrl + Shift + F11 keys dont provide any output.
Alt + Ctrl + F11:
Alt + Ctrl + F11 keys dont provide any output.
Alt + Ctrl + Shift + F11:
Alt + Ctrl + Shift + F11 keys dont provide any output.
F12 Key:
F12 key opens the Save As dialog box to save your current open excel workbook. You
can also use Alt + F2 for same output.
Alt + F12:
Alt + F12 keys dont provide any output.
Ctrl + F12:
This set of keys Ctrl + F12 when pressed together opens the File Open Dialog Box. It is
same as Ctrl + O function and opens below window. You can also use Alt + Ctrl + F2 for
the same output as well.
Shift + F12:
This set of keys Shift + F12 when pressed together saves the workbook. It is same as Ctrl
+ S keys. You can also use Alt + Shift + F2 for same output as well.
Alt + Shift + F12:
Alt + Shift + F12 keys dont provide any output.
So, this is how a named range makes your formula easier to understand.
Now enter the desired name for named range in Name text-box and click
on OK button once done.
Now, your data range is having a name that could be easily referred in formulas.
Select the data range for which you want to create a named range.
Click on the Name Box which appears next to the Formula bar wherein
the cell number is usually updated as shown in below image:
Now enter the name of this range and hit enter button.
Thats all your data range will be named after this and could be easily referred.
Create Using this you can create new ranges in the workbook.
Edit Using this you can edit any existing range created in your
workbook.
Delete As the name implies, using this you can delete the existing
names created in your workbook.
Filter Filter gives you many options as depicted in below image to sort
the listed names.
After this the selected Name will be deleted from your workbook.
So, this was all about Named Range functionality and various ways to use it in Excel.
When to Use :
Excel Sparklines can be useful if you have your data in a tabular format. You can place the
sparklines next to each row to give a clear graphical presentation of the data selected in that
particular row.
How to Use :
Below listed steps give a clear understanding on how to use excel sparklines:
Select the Type of Sparkline (Line, Column, Win/ Loss), in this case we
will take Line Sparkline as example.
After the above selection a dialog box will open to select the data range
for creating sparklines as shown in below image:
You can enter the data range manually by typing in the details or you can
use your mouse to select the data range on excel and it will automatically get
reflected in the dialog box.
After selecting the data range you can simply click on OK button and
sparklines will be added in each row as shown in below image:
Line These sparklines are displayed in the format of simple lines. You
could change the style of line, sparkline color and marker color.
Column These sparklines are displayed in the format of bars. If the data
is of positive value then the column would be lying on the upper axis. For
negative data value the column would be below the axis. Likewise for zero
value the column would not be displayed and an empty space would be left at
that data point. In these sparklines too, you can change the style of column,
sparkline color and marker color.
Win / Loss These sparklines are displayed in the format of bars like
Column sparklines although these only represent profit or loss. If the data is
showing profit (positive data points) then bars would be above the axis and if
the data is showing loss (negative data points) then the bars would be
inverted and will be below the axis. If the data is of zero value then the
column would not be displayed and an empty space would be left at that data
point, as shown in above figure as well. In these sparklines as well, you can
change the style of column, sparkline color and marker color.
You can change the type of sparklines for the whole group or for single row by un-grouping
the sparklines first. Thus each row can have a different type of sparkline.
suggests the various actions that could be performed on sparklines. Most of them are self
explanatory, however below sections provide detailed overview about all of these.
Edit Data: Using Edit Data you can either change the data range or the location of sparklines
or both. Follow below steps to change data range and \ or location of sparklines.
Edit Group Location and Data You can select this option if you want to
change the location and \ or data range for all the sparklines in the group.
You can achieve this by clicking on the entire cells where sparklines are displayed and then
selecting Edit Group Location and Data from Edit Data option from Design tab in the
ribbon.
Edit Single Sparklines Location and Data You can select this option
if you want to change the location and \ or data range of a single sparkline.
You can achieve this by clicking on the cell where sparkline is displayed and then select Edit
Single Sparklines Location and Data from Edit Data option from Design tab in the
ribbon.
Hidden and Empty Cells in Data Range You can use this feature if
the data range used in your sparklines is having some empty cells or hidden
cells.
o
Empty cells If you are having empty or blank cells then you can
choose how to show them in sparkline.
Hidden cells If you have some hidden rows or columns in the then
you can easily select how you want these cells to be displayed in Excel.
Hide Data of Hidden Rows or Columns You can hide the data
of the hidden cells by simply unchecking the check-box.
High Point By selecting this you can highlight the highest points of data
in the sparklines. It works in all types of the sparklines (line, columns and
win/loss) as shown in above image.
Low Point By selecting this you highlight the lowest points of data in
the sparklines. It also works for all types of the sparklines (line, columns and
win/loss) as shown in above image.
Negative Point By selecting this you can highlight the negative points
of data (data having value less than zero). It works in all types of the
sparklines (line, columns and win/loss) as shown in above image.
First Point It highlights the starting point of the data in the sparklines
as shown in above image.
Last Point It highlights the end point of the data in the sparklines as
shown in above image.
Markers It highlights all the data points (highest, lowest, first, last and
everything) in all types of sparklines as shown in above image.
Sparkline Color Using this option you can change the color of the
sparkline and also change the weight of the line.
Marker Color Using this you can change the color of markers (high, low,
negative, first and last point).
Axis This section gives you an option to change scaling and visibility
details of horizontal and vertical axis of sparkline.
Select the set of sparklines which you want to Group. It is not necessary
that the sparklines should be adjacent.
After selecting the sparklines, go to the Design Tab and select Group
Option.
Now the grouping is done and you could easily apply same set of styles to
the grouped sparklines.
Now, same set of style is applied to the Group Sparklines, as shown in below image.
Likewise, you can select the Ungroup option to ungroup the sparklines.
After this the selected sparklines will be removed, as if they didnt exist. This was all about
excel sparklines. Hope this article helps you out to make your excels much more lively using
sparklines.
Right click on the selected cell and select FORMAT CELLS option.
Now click on the formatted cell and press and hold Ctrl Key on Keyboard
along with this press semi-colon key (;)
Release Semi-Colon Key and Ctrl Key of keyboard.
After this you will be able to see the current date in the cell as depicted in
below image
If you need the date to be updated every time you open excel then this shortcut will not be
able to help you out. However, dont lose heart we have other functions listed below which
would cater to your needs.
Its output gives you current date. Hence if you need only the date then
you can quickly go for it.
It gets refreshed after opening the spreadsheet every time. Hence if you
are looking for a current date that should get updated every time you open
excel then go for it.
Right click on the selected cell and select FORMAT CELLS option.
Now click on the formatted cell and type TODAY to display the now
function as shown in below image.
After typing << =TODAY() >> in the cell, simply hit Enter button or just
click outside the cell.
After this you will be able to see the current date in the cell as depicted in below image:
Its output gives you both current date and time stamp. Hence if you need
both the date and time stamp then you can quickly go for it.
It gets refreshed after opening the spreadsheet every time. Hence if you
are looking for a current date and time stamp that should get updated every
time you open excel then go for it.
Right click on the selected cell and select FORMAT CELLS option.
Now click on the formatted cell and type NOW to display the now
function as shown in below image.
After typing << =NOW() >> in the cell, simply hit Enter button or just
click outside the cell.
After this you will be able to see the current date and times tamp in the cell as depicted in
below image:
Note: Please note that there are no arguments passed in Now Function, i.e. its correct formula
is =NOW()
That was all from my end. Do let us know if these functions helped you out or in case you are
using some other function to do this job which is not listed in this article.
This image depicts that here we dont need the total sum of all the elements but instead we
want the sum of elements that have the same background color.
Recommended Reading: Weighted SUM in Excel
Next, we will add one more column to this table where we will manually type the background
colors of their adjacent cells as shown in the below image.
Now, we try to use SUMIF Formula for finding the SUM of cells with yellow background
as:=SUMIF(B2:B13,"Yellow",A2:A13)
Similarly, for finding the SUM of Orange and Green background cells we will use the
formulas=SUMIF(B2:B13,"Orange",A2:A13) and =SUMIF(B2:B13,"Green",A2:A13) respe
ctively.
But, as we can see that this method is quite cumbersome, particularly if we need to use this
on lists with hundreds of elements.
So, whats the faster alternative?
To make the above process easier to use we need to reduce the effort of writing cell
background colors manually.
So, for this task we can use a small user defined function (UDF) which will do the trick for
us.
view plaincopy to clipboardprint?
1.
2.
3.
Note: This function does not return the color name but it returns the color index which is also
a unique value and can be used in our task.
Follow the below steps to use the UDF:
1. First of all open your worksheet where you need to add the cells based on background
colors.
2. Next, press ALT + F11 to open the VB Editor. Navigate to Insert > Module.
3. After this, paste the ColorIndex UDF in the Editor.
4. Now, add one column next to the range that you wish to sum up. In this new column enter
the formula as:
=ColorIndex(<refrence_ofcell_whose_background_colour_index_you_wish_know>)
6. Now, you can use the SUMIF function to add the cells that have same background color as
shown in the above image.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
4. Now, simply type the SumByColor function to call it and pass the following arguments:
=SumByColor(<cell_with_background_color_that_you_wish_sum>,
<Range_to_be_summed_up>)
Note:In the formula shown in above image instead of the first argument A2 we could have
also used any one of A2, A5, A8, A10, A12. Because all these cells have yellow background.
In our case we can use the following formulas:
So, this was all from me about this topic. Dont forget to download the sample spreadsheet
[link] and do let me know in case you face any issues while using these methods.
So, to check this navigate to the Review tab in ribbon and ensure that the button Show All
Comments is clicked. After this all the comments in your worksheet will be visible.
If you dont wish to show a particular comment then, you can select the cell that contains the
comment and then hide it using the Show/Hide Comment button present in the Review
tab.
Alternatively, you can also do this from the Right Click menu.
2. Next, navigate to the Page Layout tab in the Ribbon and click the small More button
near the Sheet Options as shown.
3. Clicking More button will open the Page Setup window. In the Sheet tab of Page
Setup window, click the comments drop down. This will have three options as follows:
o
o
None: Selecting this option means that you dont wish to print
comments at all. This is the default option.
At the end of Sheet: Selecting this option will print the comments.
But the comments will not be linked with the cells, rather they will be printed
on a separate sheet.
As displayed on the Sheet: This option will print the comments
as they are displayed on the screen.
4. Select any one of the last two options and click Ok. And its done.
5. Now you can simply press the Ctrl + P keys to open the print dialog or to see the print
preview.
Bonus Tip: For those who want to perform this using the shortcut keys, here is the shortcut.
Alt + P S O Alt + M
This will open the comments dropdown. Select and value from the dropdown and press
Enter.
3. This will open the Page Setup window. On the Page Setup window navigate to Sheet
Tab.
4. Next, in the comments dropdown select any option except None and click Ok. If you
need to know more about these options then see the Step 3 of Option 1.
5. This will do the trick and now you can simply print your worksheet.
Code
As displayed on the
Sheet
ActiveSheet.PageSetup.PrintComments = xlPrintInPlace
ActiveSheet.PageSetup.PrintComments =
xlPrintSheetEnd
Also, before this you would need to add the following line of code to make all the worksheet
comments visible.
Application.DisplayCommentIndicator = xlCommentAndIndicator
So, this was all about how to print comments in excel. Do let us know in case you face any
problems while implementing any of the methods explained in this tutorial.
Uses of Gridlines:
1. They make it easier for you to align text or objects by giving you a visual cue.
2. They help you to distinguish between cell boundaries.
3. They make your data-tables more readable especially when they are without a border.
Grid lines are hidden during printing but if you want you can show them explicitly.
Or you can also hide the grid lines from Page layout and uncheck the
Gridlines View option.
Now, a dialog box will open. Navigate to the View tab and then uncheck
the Gridlines option and click OK. This will hide these annoying lines.
First of all select all the rows and columns of the spreadsheet by pressing
Ctrl + A. Alternatively you can also click the little triangle icon under the
Name box.
With all the cells selected, click the Fill Color option and select the white
colour.
1.
2.
3.
4.
5.
6.
7.
Sub Hide_Mesh()
If ActiveWindow.DisplayGridlines Then
ActiveWindow.DisplayGridlines = False
Else
MsgBox "Grid lines are already hidden!"
End If
End Sub
Navigate to Page Layout Tab and uncheck the Print option under Grid
lines area. Or you can also use the ALT + PPG key combination to do this.
After this print the spreadsheet and the grid lines wont be visible.
In our last post we talked about IF Statement, which is one of the most important functions in
Excel. The limitation of IF statement is that it has only two outcomes. But if you are dealing
with multiple conditions then Excel Nested Ifs can come very handy.
Nested ifs are the formulas that are formed by multiple if statements one inside another. This
nesting makes it possible for a single formula to take multiple decisions. In Excel 2003
nesting was only possible up to 7 levels but Excel 2007 has increased this number to 64.
image they are giving 20% bonus to the North Region Employees, 30% to the South Region
Employees, 40% to the East Region Employees and 50% to the West Region Employees.
In this case we can use Excel Nested IF formula to find the bonus for each employee. The
formula can be:
=IF(B2="North","20%",IF(B2="South","30%",IF(B2="East","40%",IF(B2="West","5
0%", "Region is Invalid"))))
The formula is quite simple, it just checks if B2 (cell that contains region details for first
employee) is equal to North, then value should be 20%, if not then check if B2 is equal to
South, if yes then value should be 30%, if not move on to next IF statement and so on.
Similarly for the second employee the formula would be:
=IF(B3="North","20%",IF(B3="South","30%",IF(B3="East","40%",IF(B3="West","5
0%", "Region is Invalid"))))
In this case I have handled another important thing i.e. If the Region does not matches with
any one of the IF conditions then the output should be Region is Invalid.
Example 2:
In the second example we have a table of students and their scores. Now based on their scores
we have to give a grade to the students.
Students with scores below 40 are considered as Fail, scores between 41 and 60 are
considered Grade C, scores between 61 and 75 are considered Grade B and scores
between 76 and 100 are considered as Grade A
In this scenario we can use a nested If formula as:
=IF(B2<=40,"Fail",IF(AND(B2>=41,B2<=60),"Grade
C",IF(AND(B2>=61,B2<=75),"Grade B",IF(AND(B2>=76,B2<=100),"Grade A"))))
This formula just checks if B2 (cell containing the score of first student) is less than or equal
to 40, if true then the value should be Fail if not then check the next IF condition and so on.
You can see that here in the inner-most IF statement I havent used the Value_if_False , it is
perfectly alright to omit this parameter in such a case. In-case all the IF conditions in this
formula will result into a False value then the formula will simply return a FALSE keyword.
Using formulas in excel can make your day to day tasks easier. Excel provides formulas for
just about anything. But if you are sharing your spreadsheets with other people then it looks
quite rude to write formulas as it is.
All the formulas and the calculation stuff should be hidden from the viewers. The best way to
do this is to hide your formulas in excel sheet.
Today I will be sharing few tips on how to hide formulas in Excel.
As you can see that this method is not completely fool-proof because the formula is still
visible in the top formula bar. It only helps to hide your formulas from showing up inside the
cells.
Now right click and select the Paste Special option from the menu.
After the paste special window gets opened select the radio button
Values and click OK.
This will replace all the formulas with their values.
This method is not suitable if you might need the formula again in near future. In such cases
the next method comes quite handy.
Firstly select all the cells for which you have applied the formula.
After this, right click and select the option Format Cells.
One thing that I want to make clear is that just checking the hidden
checkbox cant do anything until you have protected the excel sheet.
To protect the excel sheet navigate to the Review tab, select the option
Protect Sheet.
After this the system will ask you to enter your password, after entering
the password click OK.
Then re-enter the Password and all your excel formulas are hidden.
To view you formulas again simply visit the Review tab again and unprotect the sheet. After
this uncheck the hidden option in the Protection tab of format cells.
So, this was all about how to hide formulas in excel. If you know any other trick then please
do share them with us.
2.
3.
Just select the parts the formula and press F9 (for eg: the first average() formula)
4.
This will evaluate only the selected part and replaces it with the result. Like this:
5.
Using this technique you can narrow down the errors to particular range or values causing
it.
6.
Now that you know where the error is occurring you can wrap that part of formula with an
ISERROR() formula to avoid unpleasant surprises.