Simple clear advice in plain English

Hands on Spreadsheets: Functions and formulas

A selection of hidden Excel gems to boost your productivity

A spreadsheet function is a built-in mini macro designed to save you time and the computer’s memory. The first function, and still the most widely used one, is SUM.

When totalling the contents of a range of cells, instead of using =A2+A3+A4 and so on down to A100, you can simply enter =SUM(A2:A100). Instead of entering =SUM(A2:A100)/99 you can use =AVERAGE(A2:A100).

Functions that apply to a range such as this are not limited to a group of cells on one worksheet. If a workbook has 12 worksheets labelled Jan to Dec, you can total all the entries in, say, cell G19 using =SUM(Jan:Dec!G19).

This is known as a 3D formula. Instead of being limited to a two-dimensional worksheet, it drills down through all the worksheets in the workbook.

There are Excel functions designed for people with diverse interests: engineers, financial analysts, time-keepers, statisticians and more. A few functions are only available if you use the Analysis Toolpak.

To add these, choose Excel Options and select the Analysis Toolpak from the list of Add-Ins. Some functions have been added with each new version of Excel, while others are undocumented and included to make Excel compatible with other spreadsheets, such as Lotus 1-2-3 or Quattro Pro.

This column is about the functions and formulas containing them, which can help solve everyday problems.

How about figuring the odds of being successful in a lottery? If each lottery number contains three numbers, each of which can be between 0 and 99, then the permutation function tells you the odds of winning are 970,200 to 1. Just enter =PERMUT(100,3).

Of course, that’s only if the three numbers have to be in a certain order to win. The number of permutations is much larger than the number of combinations.

In probability theory, a combination refers to any arrangement of the three numbers, not just a specific one. In that case, =COMBIN(100,3) tells you the odds of winning are improved to 161,200 to 1.

Article tags

Reader Comments

   

Add your comment

Please keep comments constructive and free from abuse of any kind and swearing. If you wish to link to a product or service online, please do so in such a way that makes it clear that it is not spam. If you are connected to any such product you should make that clear.

We may use your comments in the magazine. We may edit your comments for clarity or to remove unacceptable material. We will attribute your comments but not share your email address.

We request your email address and record your Internet Address (IP address) in order to block spam from our site. We will never share this information without your permission.

All comments are reviewed by the Computeractive Team before being published. Please bear with the slight delay this causes, you don't need to post more than once.

Click here to read our Privacy Policy

Click here to read our site Terms & Conditions

Related articles

Lock Excel worksheets

Lock worksheets in Microsoft Excel

How to stop people editing or viewing certain sections of a shared document

Microsoft troubleshooting

Resolve word processing and office suite issues

Problems with your word processor or spreadsheet program? Here are some solutions

Microsoft Office tips

50 tips for Microsoft Word, Excel, Outlook, Open Office and more

Try our secret Office tricks to get more from the document, spreadsheet and presentation tools and programs you use most often

Content Recommendation

Question & Answer

Q.Why is Windows Backup skipping files?

> Read the answer

Q.Why do my scanned documents display gibberish?

> Read the answer

Q.How can I convert MTS files to edit in Windows Movie...

> Read the answer

Best deals on the web

img

Samsung NP350E7C-A04UK

£349.99- Buy it now

img

Toshiba Satellite C850D-11Q (PSCC2E-00R00JEN)

£279.97- Buy it now

img

ASUS Eee PC X101CH-BLK043S

£239.99- Buy it now

Updating your subscription status Loading

Most popular articles

No matching document

Poll

Do you have Windows 8?

Jargon Buster

Computing terms explained in plain English

Bios

Basic Input-Output System. Essential software built into every PC that connects the vital components....

Great shopping deals from Computeractive

Information currently unavailable