Quick reference: Functions in spreadsheets

 As a quick refresher, a function is a preset command that automatically performs a specific process or task using the data in a spreadsheet. Functions give data analysts the ability to do calculations, which can be anything from simple arithmetic to complex equations. Use this reading to help you keep track of some of the most useful options.

Functions

The basics

  • Just like formulas, start all of your functions with an equal sign (=SUM). The equal sign tells the spreadsheet that what follows is part of a function, not just a word or number in a cell. 
  • After you type the equal sign, most spreadsheet applications will display an autocomplete menu that lists valid functions, names, and text strings. This is a great way to create and edit functions while avoiding typing and syntax errors.
  • A fun way to learn new functions is by simply typing an equal sign and a single letter of the alphabet. Choose one of the options that pops up and learn what that function does.

Difference between formulas and functions

  • A formula is a statement written by the user within a spreadsheet application.
  • A function is a predefined operation built into the spreadsheet application.

Popular functions

A lot of people don’t realize that keyboard shortcuts like cut, save, and find are actually functions. These functions are built into an application and are amazing time-savers. Using shortcuts lets you do more with less effort. They can make you more efficient and productive because you are not constantly reaching for the mouse and navigating menus. The following table shows some of the most popular shortcuts, for Chromebook, PC, and Mac:

CommandChromebookPCMac
Create new workbookControl+NControl+NCommand+N
Open workbookControl+OControl+OCommand+O
Save workbookControl+SControl+SCommand+S
Close workbookControl+WControl+WCommand+W
UndoControl+ZControl+ZCommand+Z
RedoControl+YControl+YCommand+Y
CopyControl+CControl+CCommand+C
CutControl+XControl+XCommand+X
PasteControl+VControl+VCommand+V
Paste values onlyControl+Shift+VControl+Shift+VCommand+Shift+V
FindControl+Shift+FControl+FCommand+F
Find and replaceControl+HControl+HCommand+Shift+F
Insert linkControl+KControl+KCommand+K
BoldControl+BControl+BCommand+B
ItalicizeControl+IControl+ICommand+I
UnderlineControl+UControl+UCommand+U
Zoom inControl+Plus (+)Control+Plus (+)Option+Command+Plus (+)
Zoom outControl+Minus (-)Control+Minus (-)Option+Command+Minus (-)
Select columnControl+SpacebarControl+SpacebarCommand+Spacebar
Select rowShift+SpacebarShift+SpacebarUp Arrow+Spacebar
Select all cellsControl+AControl+ACommand+A
Edit the current cellEnterF2F2
Comment on a cellCtrl + Alt + MAlt+I+MOption+Command+M
Insert column to the leftCtrl + Alt + = (with existing column selected) Alt+Shift+I, then C⌘ + Option + = (with existing column selected)
Insert column to the rightAlt + I, then OAlt+Shift+I, then OCtrl + Option + I, then O
Insert row aboveCtrl + Alt + = (with existing row selected) Alt+Shift+I, then R ⌘ + Option + = (with existing row selected)
Insert row belowAlt + I, then R, then BAlt+Shift+I, then BCtrl + Option + I, then B

Auto-filling

The lower-right corner of each cell has a fill handle. It is a small green square in Microsoft Excel and a small blue square in Google Sheets.

  • Click the fill handle for a cell and drag it down a column to auto-fill other cells in the column with the same function used in that cell. 
  • Click the fill handle for a cell and drag it across a row to auto-fill other cells in the row with the same function used in that cell. 

Absolute referencing

  • Relative references will change anytime the function is copied and pasted. They are in relation to where the referenced cell is located.
  • Absolute references will not change when you copy and paste the function in a different cell. The cell being referenced is always the same.

Data range

  • When you click into your function, the colored ranges indicate which cells are being used in your spreadsheet. There are different colors for each unique range in your function.
  • Data ranges help keep you from getting lost in complex functions.
  • In many spreadsheet applications, you can press the F2 key to highlight the range of data in a function. Click in to edit the cell, then click on the range of data in your function, then press F2. It will highlight the range of data for you.

Combining with formulas

  • COUNTIF() is the combination of a formula and a function. This allows the function to run based on a criteria set by the formula.

There are a lot more functions that can help you make the most of your data. This is just the start. You can keep learning how to use functions to help you solve complex problems efficiently and accurately throughout your entire career.

Comments

Popular posts from this blog

Spreadsheets and the data life cycle