PCWorld (USA)

16 simple, yet powerful, Excel functions you need to know

These easy starters will get you on your way to mastering spreadshee­ts.

- BY IAN PAUL

Power users love to talk about how powerful and awesome Excel is ( go.pcworld.com/ expw), what with its Pivot Tables, nested formulas, and Boolean logic ( go.pcworld.com/blgc). But many of us barely know how to find the Autosum feature, let alone use Excel’s functions to create powerful formulas.

If you’re part of the Excel 99 percent, here are 16 handy Excel functions that will get you well on your way to spreadshee­t mastery.

1. =SUM()

The first function anyone should know tells Excel to carry out basic arithmetic. Let’s say

you wanted the numbers in cell A2 and cell B2 to be added together in cell C2. All you’d do is enter =SUM(A2:B2) into C2, then hit Enter. In an instant you’d see the sum of the two cells appear.

You can use this function, and most of the functions listed here, to encompass as many cells as you require. You can also select them with your mouse, but I find it’s far easier to type in a range of cells.

2. =AVERAGE()

Average does exactly what it says, and works similarly to SUM. If you have a worksheet containing your monthly earnings over the past year in columns A2 through A13, type =AVERAGE(A2:A13) into A14 to get the average of all monthly earnings.

Again, you can also use your mouse cursor to click-and-drag to highlight a range of cells, or Ctrl

+ click to handpick individual cells.

3. =MEDIAN()

The median and the average are often confused, but they are not the same thing. The median takes a group of numbers such as (in our example below) 2, 6, 15, 31, and 56, and figures out the middle point of the group. In other words, half the numbers are above the median, and half are below. We’ve compared the median to the average in the screenshot to show you the difference.

To get the median for the group in column E, in cell E7 we typed the formula =MEDIAN(E2:C6) and hit Enter. In our example case, the median is 15. Had there been an even number of numerals in the series, the median would have been the midpoint between the two middle numbers.

4. =MIN()

If you need to find the smallest number in a range of cells, MIN can help you do that. Using =MIN(B3:B39) will give you the smallest number contained in those cells.

5. =MAX()

Max is the counterpar­t to MIN and does the

opposite showing you the largest number contained in a range of cells.

6. =TRIM()

If you copy text from another program into Excel you can often end up with excess whitespace that turns your spreadshee­t into a visual horror. TRIM can help you clean it up.

TRIM can only deal with text from a single cell. So start by cleaning up the text in cell B1 by typing =TRIM(B1) into cell C1, for example. The result will be cleaned up text in cell C1. Repeat the function for any other cells you need tidied up.

If you’re looking to clean up line breaks, try CLEAN instead of TRIM.

7. =COUNT()

If you need to know how many cells in a given range contain numbers, don’t bother counting by hand—just use the COUNT function. If you have a mix of numbers and text in cells A21-A50, for example, type into cell A51 =COUNT(A21:50) and you’ll have the answer in no time.

8. =COUNTA()

Similar to the above example, you can use =COUNTA() to count the number of cells in a given range that contain characters such as numbers, text, or symbols, as well as error values.

9. =LEN()

If you want to count the number of characters in a single cell, including white spaces, check out LEN. Want to know how many characters are in cell A1? Just type =LEN(A1) into a different cell and you’ll find out.

10. =CONCATENAT­E()

This takes data from two cells and turns it into one. Check out our previous look at Excel functions to see how this can be useful ( go.pcworld.com/15ex).

11. =DAYS()

Want to know the number of days between

two dates in a spreadshee­t? If you had, for example, September 5, 2018, in cell A4 and December 27, 2018, in A5, then just use =DAYS(A5, A4) to get the answer as a negative number—reversing the order of cells would give you a positive number.

12. =NETWORKDAY­S()

Knowing the number of days is great, but if you need to know how many weekdays that range encompasse­s, turn to NETWORKDAY­S (that’s ‘net work days’) instead. This function uses the same format as DAYS, but you need to use an ascending cell order to get a nonnegativ­e number. So =NETWORKDAY­S(A4, A5) will give you 80 and not –80.

13. =SQRT()

Need to know the square root of 1764? Type =SQRT(1764) into a cell, hit Enter, and you’ll find the answer to life, the universe, and everything—including the example formula.

14. =NOW()

Want to see the current date and time whenever you open a particular worksheet? Type =NOW() into the cell where you want the date and you’re done. If you want to see a future date from right now, you can use something like =NOW()+32. The now function does not take any arguments so don’t put anything in between the brackets.

15. =ROUND()

As its name suggests, this function lets you round off numbers. ROUND requires two arguments: a number or cell, and the number of digits to round to. If you have the number 231.852645 in A1, for example,

=ROUND(A1, 0) gives you 232,

=ROUND(A1, 1) gives you 232.9, and

=ROUND(A1, -1) returns 230.

16. =ROUNDUP(), =ROUNDDOWN()

If you want more direct control over rounding up or down there are functions for that too. ROUNDUP and ROUNDDOWN use exactly the same argument format as ROUND. To learn more about ROUND and its counterpar­ts, check out Microsoft’s support pages ( go. pcworld.com/mspt).

 ??  ??
 ??  ?? 3.Average and median are often confused, but this example shows how the average represents a sum of numbers divided by their quantity. The median represents a middle point in the series of numerals, regardless of how they add up.
3.Average and median are often confused, but this example shows how the average represents a sum of numbers divided by their quantity. The median represents a middle point in the series of numerals, regardless of how they add up.
 ??  ?? 7.Excel’s COUNT function can tell you how many cells in a series contain numbers rather than words, dates or other kinds of entries. This can be helpful when you’re managing a complex spreadshee­t.
7.Excel’s COUNT function can tell you how many cells in a series contain numbers rather than words, dates or other kinds of entries. This can be helpful when you’re managing a complex spreadshee­t.
 ??  ?? 12. Calculatin­g the weekdays in 2019.
12. Calculatin­g the weekdays in 2019.

Newspapers in English

Newspapers from Australia