Data commands in excel

Below is a brief overview of about 100 important Excel functions you should know, with links to detailed examples. We also have a large list of example formulas, a more complete list of Excel functions, and video training. If you are new to Excel formulas, see this introduction.

Note: Excel now includes Dynamic Array formulas, which offer important new functions.

Date and Time Functions

Excel provides many functions to work with dates and times. 

NOW and TODAY

You can get the current date with the TODAY function and the current date and time with the NOW Function. Technically, the NOW function returns the current date and time, but you can format as time only, as seen below:

NOW and TODAY functions

TODAY() // returns current date
NOW() // returns current time

Note: these are volatile functions and will recalculate with every worksheet change. If you want a static value, use date and time shortcuts.

DAY, MONTH, YEAR, and DATE

You can use the DAY, MONTH, and YEAR functions to disassemble any date into its raw components, and the DATE function to put things back together again.

Functions to disassemble and reassemble dates

=DAY("14-Nov-2018") // returns 14
=MONTH("14-Nov-2018") // returns 11
=YEAR("14-Nov-2018") // returns 2018
=DATE(2018,11,14) // returns 14-Nov-2018

HOUR, MINUTE, SECOND, and TIME

Excel provides a set of parallel functions for times. You can use the HOUR, MINUTE, and SECOND functions to extract pieces of a time, and you can assemble a TIME from individual components with the TIME function.

Time function examples

=HOUR("10:30") // returns 10
=MINUTE("10:30") // returns 30
=SECOND("10:30") // returns 0
=TIME(10,30,0) // returns 10:30

DATEDIF and YEARFRAC

You can use the DATEDIF function to get time between dates in years, months, or days. DATEDIF can also be configured to get total time in «normalized» denominations, i.e. «2 years and 6 months and 27 days».

DATEDIF function example

Use YEARFRAC to get fractional years:

YEARFRAC function example

=YEARFRAC("14-Nov-2018","10-Jun-2021") // returns 2.57

EDATE and EOMONTH

A common task with dates is to shift a date forward (or backward) by a given number of months. You can use the EDATE and EOMONTH functions for this. EDATE moves by month and retains the day. EOMONTH works the same way, but always returns the last day of the month.

EDATE and EOMONTH function examples

EDATE(date,6) // 6 months forward
EOMONTH(date,6) // 6 months forward (end of month)

WORKDAY and NETWORKDAYS

To figure out a date n working days in the future, you can use the WORKDAY function. To calculate the number of workdays between two dates, you can use NETWORKDAYS.

WORKDAY function example

WORKDAY(start,n,holidays) // date n workdays in future

Video: How to calculate due dates with WORKDAY

NETWORKDAYS function example

NETWORKDAYS(start,end,holidays) // number of workdays between dates

Note: Both functions automatically skip weekends (Saturday and Sunday) and will also skip holidays, if provided. If you need more flexibility on what days are considered weekends, see the WORKDAY.INTL function and NETWORKDAYS.INTL function. 

WEEKDAY and WEEKNUM

To figure out the day of week from a date, Excel provides the WEEKDAY function. WEEKDAY returns a number between 1-7 that indicates Sunday, Monday, Tuesday, etc. Use the WEEKNUM function to get the week number in a given year.

WEEKDAY and WEEKNUM function examples

=WEEKDAY(date) // returns a number 1-7
=WEEKNUM(date) // returns week number in year

Engineering

CONVERT

Most Engineering functions are pretty technical…you’ll find a lot of functions for complex numbers in this section. However, the CONVERT function is quite useful for everyday unit conversions. You can use CONVERT to change units for distance, weight, temperature, and much more.

CONVERT function example

=CONVERT(72,"F","C") // returns 22.2

Information Functions

ISBLANK, ISERROR, ISNUMBER, and ISFORMULA

Excel provides many functions for checking the value in a cell, including ISNUMBER,  ISTEXT, ISLOGICAL, ISBLANK, ISERROR, and ISFORMULA  These functions are sometimes called the «IS» functions, and they all return TRUE or FALSE based on a cell’s contents.

ISNUMBER ISTEXT ISLOGICAL ISBLANK ISERROR ISFORMULA

Excel also has ISODD and ISEVEN functions that will test a number to see if it’s even or odd.

By the way, the green fill in the screenshot above is applied automatically with a conditional formatting formula.

Logical Functions

Excel’s logical functions are a key building block of many advanced formulas. Logical functions return the boolean values TRUE or FALSE. If you need a primer on logical formulas, this video goes through many examples.

AND, OR and NOT

The core of Excel’s logical functions are the AND function, the OR function, and the NOT function. In the screen below, each of these function is used to run a simple test on the values in column B:

AND, OR, and NOT functions

=AND(B5>3,B5<9)
=OR(B5=3,B5=9)
=NOT(B5=2)
  • Video: How to build logical formulas
  • Guide: 50 examples of formula criteria

IFERROR and IFNA

The IFERROR function and IFNA function can be used as a simple way to trap and handle errors. In the screen below, VLOOKUP is used to retrieve cost from a menu item. Column F contains just a VLOOKUP function, with no error handling. Column G shows how to use IFNA with VLOOKUP to display a custom message when an unrecognized item is entered.

IFNA function with VLOOKUP example

=VLOOKUP(E5,menu,2,0) // no error trapping
=IFNA(VLOOKUP(E5,menu,2,0),"Not found") // catch errors

Whereas IFNA only catches an #N/A error, the IFERROR function will catch any formula error.

IF and IFS functions

The IF function is one of the most used functions in Excel. In the screen below, IF checks test scores and assigns «pass» or «fail»:

IF function example

Multiple IF functions can be nested together to perform more complex logical tests.

New in Excel 2019 and Excel 365, the IFS function can run multiple logical tests without nesting IFs.

IFS function example

=IFS(C5<60,"F",C5<70,"D",C5<80,"C",C5<90,"B",C5>=90,"A")

Lookup and Reference Functions

VLOOKUP and HLOOKUP

Excel offers a number of functions to lookup and retrieve data. Most famous of all is VLOOKUP:

VLOOKUP function example

=VLOOKUP(C5,$F$5:$G$7,2,TRUE)

More: 23 things to know about VLOOKUP.

HLOOKUP works like VLOOKUP, but expects data arranged horizontally:

HLOOKUP function example

=HLOOKUP(C5,$G$4:$I$5,2,TRUE)

INDEX and MATCH

For more complicated lookups, INDEX and MATCH offers more flexibility and power:

INDEX and MATCH function example

=INDEX(C5:E12,MATCH(H4,B5:B12,0),MATCH(H5,C4:E4,0))

Both the INDEX function and the MATCH function are powerhouse functions that turn up in all kinds of formulas.

More: How to use INDEX and MATCH

LOOKUP

The LOOKUP function has default behaviors that make it useful when solving certain problems. LOOKUP assumes values are sorted in ascending order and always performs an approximate match. When LOOKUP can’t find a match, it will match the next smallest value. In the example below we are using LOOKUP to find the last entry in a column:

LOOKUP function example - last non-empty cell

ROW and COLUMN

You can use the ROW function and COLUMN function to find row and column numbers on a worksheet. Notice both ROW and COLUMN return values for the current cell if no reference is supplied:

ROW and COLUMN function example

The row function also shows up often in advanced formulas that process data with relative row numbers.

ROWS and COLUMNS

The ROWS function and COLUMNS function provide a count of rows in a reference. In the screen below, we are counting rows and columns in an Excel Table named «Table1».

ROWS and COLUMNS function example

Note ROWS returns a count of data rows in a table, excluding the header row. By the way, here are 23 things to know about Excel Tables.

HYPERLINK

You can use the HYPERLINK function to construct a link with a formula. Note HYPERLINK lets you build both external links and internal links:

HYPERLINK function example

=HYPERLINK(C5,B5)

GETPIVOTDATA

The GETPIVOTDATA function is useful for retrieving information from existing pivot tables.

GETPIVOTDATA function example

=GETPIVOTDATA("Sales",$B$4,"Region",I6,"Product",I7)

CHOOSE

The CHOOSE function is handy any time you need to make a choice based on a number:

CHOOSE function example

=CHOOSE(2,"red","blue","green") // returns "blue"

Video: How to use the CHOOSE function

TRANSPOSE

The TRANSPOSE function gives you an easy way to transpose vertical data to horizontal, and vice versa.

TRANSPOSE function example

{=TRANSPOSE(B4:C9)}

Note: TRANSPOSE is a formula and is, therefore, dynamic. If you just need to do a one-time transpose operation, use Paste Special instead.

OFFSET

The OFFSET function is useful for all kinds of dynamic ranges. From a starting location, it lets you specify row and column offsets, and also the final row and column size. The result is a range that can respond dynamically to changing conditions and inputs. You can feed this range to other functions, as in the screen below, where OFFSET builds a range that is fed to the SUM function:

OFFSET function example

=SUM(OFFSET(B4,1,I4,4,1)) // sum of Q3

INDIRECT

The INDIRECT function allows you to build references as text. This concept is a bit tricky to understand at first, but it can be useful in many situations. Below, we are using INDIRECT to get values from cell A1 in 5 different worksheets. Each reference is dynamic. If a sheet name changes, the reference will update.

INDIRECT function example

=INDIRECT(B5&"!A1") // =Sheet1!A1

The INDIRECT function is also used to «lock» references so they won’t change, when rows or columns are added or deleted. For more details, see linked examples at the bottom of the INDIRECT function page.

Caution: both OFFSET and INDIRECT are volatile functions and can slow down large or complicated spreadsheets.

STATISTICAL Functions

COUNT and COUNTA

You can count numbers with the COUNT function and non-empty cells with COUNTA. You can count blank cells with COUNTBLANK, but in the screen below we are counting blank cells with COUNTIF, which is more generally useful.

COUNT and COUNTA function examples

=COUNT(B5:F5) // count numbers
=COUNTA(B5:F5) // count numbers and text
=COUNTIF(B5:F5,"") // count blanks

COUNTIF and COUNTIFS

For conditional counts, the COUNTIF function can apply one criteria. The COUNTIFS function can apply multiple criteria at the same time:

COUNTIF and COUNTIFS function examples

=COUNTIF(C5:C12,"red") // count red
=COUNTIF(F5:F12,">50") // count total > 50
=COUNTIFS(C5:C12,"red",D5:D12,"TX") // red and tx
=COUNTIFS(C5:C12,"blue",F5:F12,">50") // blue > 50

Video: How to use the COUNTIF function

SUM, SUMIF, SUMIFS

To sum everything, use the SUM function. To sum conditionally, use SUMIF or SUMIFS. Following the same pattern as the counting functions, the SUMIF function can apply only one criteria while the SUMIFS function can apply multiple criteria.

SUM, SUMIFS, and SUMIFS function examples

=SUM(F5:F12) // everything
=SUMIF(C5:C12,"red",F5:F12) // red only
=SUMIF(F5:F12,">50") // over 50
=SUMIFS(F5:F12,C5:C12,"red",D5:D12,"tx") // red & tx
=SUMIFS(F5:F12,C5:C12,"blue",F5:F12,">50") // blue & >50

Video: How to use the SUMIF function

AVERAGE, AVERAGEIF, and AVERAGEIFS

Following the same pattern, you can calculate an average with AVERAGE, AVERAGEIF, and AVERAGEIFS.

AVERAGE, AVERAGEIF, and AVERAGEIFS function examples

=AVERAGE(F5:F12) // all
=AVERAGEIF(C5:C12,"red",F5:F12) // red only
=AVERAGEIFS(F5:F12,C5:C12,"red",D5:D12,"tx") // red and tx

MIN, MAX, LARGE, SMALL

You can find largest and smallest values with MAX and MIN, and nth largest and smallest values with LARGE and SMALL. In the screen below, data is the named range C5:C13, used in all formulas.

MAX, MIN, LARGE, and SMALL function examples

=MAX(data) // largest
=MIN(data) // smallest
=LARGE(data,1) // 1st largest
=LARGE(data,2) // 2nd largest
=LARGE(data,3) // 3rd largest
=SMALL(data,1) // 1st smallest
=SMALL(data,2) // 2nd smallest
=SMALL(data,3) // 3rd smallest

Video: How to find the nth smallest or largest value

MINIFS, MAXIFS

The MINIFS and MAXIFS. These functions let you find minimum and maximum values with conditions:

MINIFS and MAXIFS function examples

=MAXIFS(D5:D15,C5:C15,"female") // highest female
=MAXIFS(D5:D15,C5:C15,"male") // highest male
=MINIFS(D5:D15,C5:C15,"female") // lowest female
=MINIFS(D5:D15,C5:C15,"male") // lowest male

Note: MINIFS and MAXIFS are new in Excel via Office 365 and Excel 2019.

MODE

The MODE function returns the most commonly occurring number in a range:

MODE function example

=MODE(B5:G5) // returns 1

RANK

To rank values largest to smallest, or smallest to largest, use the RANK function:

RANK function example

Video: How to rank values with the RANK function

MATH Functions

ABS

To change negative values to positive use the ABS function.

ABS function example

=ABS(-134.50) // returns 134.50

RAND and RANDBETWEEN

Both the RAND function and RANDBETWEEN function can generate random numbers on the fly. RAND creates long decimal numbers between zero and 1. RANDBETWEEN generates random integers between two given numbers.

RAND and RANDBETWEEN function examples

=RAND() // between zero and 1
=RANDBETWEEN(1,100) // between 1 and 100

ROUND, ROUNDUP, ROUNDDOWN, INT

To round values up or down, use the ROUND function. To force rounding up to a given number of digits, use ROUNDUP. To force rounding down, use ROUNDDOWN. To discard the decimal part of a number altogether, use the INT function.

ROUND, ROUNDUP, ROUNDDOWN, INT function examples

=ROUND(11.777,1) // returns 11.8
=ROUNDUP(11.777) // returns 11.8
=ROUNDDOWN(11.777,1) // returns 11.7
=INT(11.777) // returns 11

MROUND, CEILING, FLOOR

To round values to the nearest multiple use the MROUND function. The FLOOR function and CEILING function also round to a given multiple. FLOOR forces rounding down, and CEILING forces rounding up.

MROUND, CEILING, FLOOR functions

=MROUND(13.85,.25) // returns 13.75
=CEILING(13.85,.25) // returns 14
=FLOOR(13.85,.25) // returns 13.75

MOD

The MOD function returns the remainder after division. This sounds boring and geeky, but MOD turns up in all kinds of formulas, especially formulas that need to do something «every nth time». In the screen below, you can see how MOD returns zero every third number when the divisor is 3:

MOD function example

SUMPRODUCT

The SUMPRODUCT function is a powerful and versatile tool when dealing with all kinds of data. You can use SUMPRODUCT to easily count and sum based on criteria, and you can use it in elegant ways that just don’t work with COUNTIFS and SUMIFS. In the screen below, we are using SUMPRODUCT to count and sum orders in March. See the SUMPRODUCT page for details and links to many examples.

SUMPRODUCT function example

=SUMPRODUCT(--(MONTH(B5:B12)=3)) // count March
=SUMPRODUCT(--(MONTH(B5:B12)=3),C5:C12) // sum March

SUBTOTAL

The SUBTOTAL function is an «aggregate function» that can perform a number of operations on a set of data. All told, SUBTOTAL can perform 11 operations, including SUM, AVERAGE, COUNT, MAX, MIN, etc. (see this page for the full list). The key feature of SUBTOTAL is that it will ignore rows that have been «filtered out» of an Excel Table, and, optionally, rows that have been manually hidden. In the screen below, SUBTOTAL is used to count and sum only the 7 visible rows in the table:

SUBTOTAL function example

=SUBTOTAL(3,B5:B14) // returns 7
=SUBTOTAL(9,F5:F14) // returns 9.54

AGGREGATE

Like SUBTOTAL, the AGGREGATE function can also run a number of aggregate operations on a set of data and can optionally ignore hidden rows. The key differences are that AGGREGATE can run more operations (19 total) and can also ignore errors.

In the screen below, AGGREGATE is used to perform MIN, MAX, LARGE and SMALL operations while ignoring errors. Normally, the error in cell B9 would prevent these functions from returning a result. See this page for a full list of operations AGGREGATE can perform.

AGGREGATE function example

=AGGREGATE(4,6,values) // MAX ignore errors, returns 100
=AGGREGATE(5,6,values) // MIN ignore errors, returns 75

TEXT Functions

LEFT, RIGHT, MID

To extract characters from the left, right, or middle of text, use LEFT, RIGHT, and MID functions:

LEFT, RIGHT, MID function examples

=LEFT("ABC-1234-RED",3) // returns "ABC"
=MID("ABC-1234-RED",5,4) // returns "1234"
=RIGHT("ABC-1234-RED",3) // returns "RED"

LEN

The LEN function will return the length of a text string. LEN shows up in a lot of formulas that count words or characters.

LEN function example

FIND, SEARCH

To look for specific text in a cell, use the FIND function or SEARCH function. These functions return the numeric position of matching text, but SEARCH allows wildcards and FIND is case-sensitive. Both functions will throw an error when text is not found, so wrap in the ISNUMBER function to return TRUE or FALSE (example here).

FIND and SEARCH function examples

=FIND("Better the devil you know","devil") // returns 12
=SEARCH("This is not my beautiful wife","bea*") // returns 12

REPLACE, SUBSTITUTE

To replace text by position, use the REPLACE function. To replace text by matching, use the SUBSTITUTE function. In the first example, REPLACE removes the two asterisks (**) by replacing the first two characters with an empty string («»). In the second example, SUBSTITUTE removes all hash characters (#) by replacing «#» with «».

REPLACE and SUBSTITUTE function examples

=REPLACE("**Red",1,2,"") // returns "Red"
=SUBSTITUTE("##Red##","#","") // returns "Red"

CODE, CHAR

To figure out the numeric code for a character, use the CODE function. To translate the numeric code back to a character, use the CHAR function. In the example below, CODE translates each character in column B to its corresponding code. In column F, CHAR translates the code back to a character.

CODE and CHAR function examples

=CODE("a") // returns 97
=CHAR(97) // returns "a"

Video: How to use the CODE and CHAR functions

TRIM, CLEAN

To get rid of extra space in text, use the TRIM function. To remove line breaks and other non-printing characters, use CLEAN.

TRIM and CLEAN function examples

=TRIM(A1) // remove extra space
=CLEAN(A1) // remove line breaks

Video: How to clean text with TRIM and CLEAN

CONCAT, TEXTJOIN, CONCATENATE

New in Excel  via Office 365 are CONCAT and TEXTJOIN. The CONCAT function lets you concatenate (join) multiple values, including a range of values without a delimiter. The TEXTJOIN function does the same thing, but allows you to specify a delimiter and can also ignore empty values.

CONCAT and TEXTJOIN function examples

=TEXTJOIN(",",TRUE,B4:H4) // returns "red,blue,green,pink,black"
=CONCAT(B7:H7) // returns "8675309"

Excel also provides the CONCATENATE function, but it doesn’t offer special features. I wouldn’t bother with it and would instead concatenate directly with the ampersand (&) character in a formula.

EXACT

The EXACT function allows you to compare two text strings in a case-sensitive manner.

EXACT function example

UPPER, LOWER, PROPER

To change the case of text, use the UPPER, LOWER, and PROPER function

UPPER, LOWER, PROPER function examples

=UPPER("Sue BROWN") // returns "SUE BROWN"
=LOWER("Sue BROWN") // returns "sue brown"
=PROPER("Sue BROWN") // returns "Sue Brown"

Video: How to change case with formulas

TEXT

Last but definitely not least is the TEXT function. The text function lets you apply number formatting to numbers (including dates, times, etc.) as text. This is especially useful when you need to embed a formatted number in a message, like «Sale ends on [date]».

TEXT function example

=TEXT(B5,"$#,##0.00") 
=TEXT(B6,"000000")
="Save "&TEXT(B7,"0%")
="Sale ends "&TEXT(B8,"mmm d")

More: Detailed examples of custom number formatting.

Dynamic Array functions

Dynamic arrays are new in Excel 365, and are a major upgrade to Excel’s formula engine. As part of the dynamic array update, Excel includes new functions which directly leverage dynamic arrays to solve problems that are traditionally hard to solve with conventional formulas. If you are using Excel 365, make sure you are aware of these new functions:

Function Purpose
FILTER Filter data and return matching records
RANDARRAY Generate array of random numbers
SEQUENCE Generate array of sequential numbers
SORT Sort range by column
SORTBY Sort range by another range or array
UNIQUE Extract unique values from a list or range
XLOOKUP Modern replacement for VLOOKUP
XMATCH Modern replacement for the MATCH function

Video: New dynamic array functions in Excel (about 3 minutes).

Quick navigation

ABS, AGGREGATE, AND, AVERAGE, AVERAGEIF, AVERAGEIFS, CEILING, CHAR, CHOOSE, CLEAN, CODE, COLUMN, COLUMNS, CONCAT, CONCATENATE, CONVERT, COUNT, COUNTA, COUNTBLANK, COUNTIF, COUNTIFS, DATE, DATEDIF, DAY, EDATE, EOMONTH, EXACT, FIND, FLOOR, GETPIVOTDATA, HLOOKUP, HOUR, HYPERLINK, IF, IFERROR, IFNA, IFS, INDEX, INDIRECT, INT, ISBLANK, ISERROR, ISEVEN, ISFORMULA, ISLOGICAL, ISNUMBER, ISODD, ISTEXT, LARGE, LEFT, LEN, LOOKUP, LOWER, MATCH, MAX, MAXIFS, MID, MIN, MINIFS, MINUTE, MOD, MODE, MONTH, MROUND, NETWORKDAYS, NOT, NOW, OFFSET, OR, PROPER, RAND, RANDBETWEEN, RANK, REPLACE, RIGHT, ROUND, ROUNDDOWN, ROUNDUP, ROW, ROWS, SEARCH, SECOND, SMALL, SUBSTITUTE, SUBTOTAL, SUM, SUMIF, SUMIFS, SUMPRODUCT, TEXT, TEXTJOIN, TIME, TODAY, TRANSPOSE, TRIM, UPPER, VLOOKUP, WEEKDAY, WEEKNUM, WORKDAY, YEAR, YEARFRAC 

List of Top 10 Commands in Excel

Whether in engineering, medicine, chemistry, or any field, an Excel spreadsheet is the common tool for data maintenance. Some of them use it to maintain their database and others use this tool as a weapon to turn fortune for the respective companies they are working on. So, you, too, can turn things around for yourself by learning some of the most useful Excel commands.

Table of contents
  • List of Top 10 Commands in Excel
    • #1 VLOOKUP Function to Fetch Data
    • #2 IF Condition to Do Logical Test
    • #3 CONCATENATE Function to Combine Two or More Values
    • #4 Count Only Numerical Values
    • #5 Count All Values
    • #6 Count Based on Condition
    • #7 Count Number of Characters in the Cell
    • #8 Convert Negative Value to Positive Value
    • #9 Convert All Characters to UPPERCASE Values
    • #10 Find Maximum and Minimum Values
    • Things to Remember
    • Recommended Articles

You can download this Commands in Excel Template here – Commands in Excel Template

#1 VLOOKUP Function to Fetch Data

The data in multiple sheets are common in many offices, but fetching the data from one worksheet to another and from one workbook to another is a challenge for beginners in Excel.

If you have struggled to fetch the data, VLOOKUPThe VLOOKUP excel function searches for a particular value and returns a corresponding match based on a unique identifier. A unique identifier is uniquely associated with all the records of the database. For instance, employee ID, student roll number, customer contact number, seller email address, etc., are unique identifiers.
read more
will help you bring the data. For example, assume you have two tables below.

Excel Commands Example 1

In table 1, we have the subject list and their respective scores, and in table 2, we have some subject names, but we do not have scores for them. So, using these subject names in table 2, we need to fetch the data from table 1.

  1. First, let us open the VLOOKUP function in the E2 cell.

    Excel Commands Example 1-1

  2. Then, select the LOOKUP value as a D3 cell.

    Excel Commands Example 1-2

  3. Next, we must select the table array as A3 to B8 and press the F4 key to make them an absolute reference.

    Excel Commands Example 1-3

  4. Column Index Number is from the selected table array from which column you need to fetch the data. So, in this case, from the second column, we need to bring the data.

    Excel Commands Example 1-4

  5. For the last argument range, LOOKUP, we must select FALSE as the option, or else we can enter.

    Excel Commands Example 1-5

  6. Close the bracket and press the Enter key to get the score of Sub 4. Also, copy the formula and paste it to the below cell.

    Excel Commands Example 1-6
    You have learned a formula to fetch values from different tables based on a LOOKUP value.

#2 IF Condition to Do Logical Test

The Excel IF condition can be your friend in many situations because of its ability to conduct logical tests. For example, assume you want to test the scores of students and give the result. Below is the data for your reference.

Excel Commands Example 2

In the above table, we have students’ scores from the examination. So we need to arrive at the result as either “PASS” or “FAIL” based on these scores. So to reach these results criteria, if the score is >=35, the result should be “PASS” or else “FAIL.”

  • We must first open the IF condition in the C2 cell.

Excel Commands Example 2-1

  • The first argument is logical to test.So, in this example, we need to do the logical test of whether the score is >=35, select the score cell B2, and apply the logical test as B2 >= 35.

Excel Commands Example 2-2

  • The next argument is value if true. If the applied logical test is “TRUE,” what is the value we need? If the logical test is “TRUE,” we need the result as “Pass.”

Excel Commands Example 2-3

  • So, the final part is value if false.If the applied logical test is “FALSE,” then we need the result as “Fail.”

Excel Commands Example 2-4

  • Now, close the bracket, and we also need to fill the formula to the remaining cells.

Excel Commands Example 2-5

So, students A and F scored less than 35. Therefore, the result has arrived as “FAIL.”

#3 CONCATENATE Function to Combine Two or More Values

If we want to combine two or more values from different cells, we can use the CONCATENATE function in excelThe CONCATENATE function in Excel helps the user concatenate or join two or more cell values which may be in the form of characters, strings or numbers.read more. For example, below is the “First Name” list and “Last Name.”

CONCATENATE Function Example 3

  • First, we need to open the CONCATENATE function in the C2 cell.

CONCATENATE Function Example 3-1

  • For the first argument, “Text 1, select the “First Name” cell, and for “Text 2,choose the “Last Name” cell.

CONCATENATE Function Example 3-2

  • Then,  we need to apply the formula to all the cells to get the full name.

CONCATENATE Function Example 3-3

  • If you want space as the “First Name” and “Last Name” separator, we can use the space character in double-quotes after selecting the first name.

CONCATENATE Function Example 3-4

#4 Count Only Numerical Values

If we want to count only numerical values from the range, you need to use the COUNT function in Excel. Take a look at the below data.

Count Function Example 4

From the above table, we need to count only numerical values. For this, we can use the COUNT function.

Count Function Example 4-1

The result of the COUNT function is 6. The total count of cells is 8, but we have got the count of numerical values as 6. In cells A4 and A6, we have text values, but in cell A8, we have date values. The Excel COUNT function treats the date also as a numerical value only.

Note: “Date” and “Time” values are numerical values if the formatting is correct. Otherwise, they will be treated as “text” values.

#5 Count All Values

If we want to count all the values in the range, we need to use the COUNTA functionThe COUNTA function is an inbuilt statistical excel function that counts the number of non-blank cells (not empty) in a cell range or the cell reference. For example, cells A1 and A3 contain values but, cell A2 is empty. The formula “=COUNTA(A1,A2,A3)” returns 2.
read more
. We will apply the COUNTA function for the same data and see the count.

Count All Values Example 5

We got the count as 8 because the COUNTA function has counted all the cell values.

Count All Values Example 5-1

Note: Both the COUNT and COUNTA functions ignore blank cells.

#6 Count Based on Condition

If we want to count based on condition, we can use the COUNTIF functionThe COUNTIF function in Excel counts the number of cells within a range based on pre-defined criteria. It is used to count cells that include dates, numbers, or text. For example, COUNTIF(A1:A10,”Trump”) will count the number of cells within the range A1:A10 that contain the text “Trump”
read more
. For example, look at the below data.

Excel Commands Example 6

From this “City List,” if we want to count how many times “Bangalore” city is mentioned, we must open the COUNTIF function.

Excel Commands Example 6-1

The first argument is “RANGE,” so we need to select the range of values from A2 to B9.

Excel Commands Example 6-2

The second argument is “Criteria,” i.e., what you want to count, i.e., “Bangalore.

Excel Commands Example 6-3

Bangalore has appeared three times in the range A2 to B9, so the COUNTIF function returns 3 as the count.

#7 Count Number of Characters in the Cell

If we want to count the number of characters in the cell, we need to use the LEN function in excelThe Len function returns the length of a given string. It calculates the number of characters in a given string as input. It is a text function in Excel as well as an inbuilt function that can be accessed by typing =LEN( and entering a string as input.read moreel. The LEN function returns the number of characters from the selected cell.

Excel Commands Example 7

“Excel” has 5 characters, so the result is 5.

Excel Commands Example 7-1

Note: Space is also considered as one character.

#8 Convert Negative Value to Positive Value

If we have negative values and want to convert them to positive ones, the ABS functionABS Excel function or Absolute function is used to calculate the absolute value of a given number. The negative numbers given as input are changed to positive numbers and if the argument provided to this function is positive, it remains unchanged.read more can do it for us.

Excel Commands Example 8

#9 Convert All Characters to UPPERCASE Values

If we want to convert all the text values to UPPERCASE, we can use the UPPER formula in excelUppercase function in Excel is used to convert lowercase text to uppercase.read more.

Excel Commands Example 9

And if we want to convert all the text values to LOWERCASE values, then use the LOWER formula.

Excel Commands Example 9-1

#10 Find Maximum and Minimum Values

If we want to find maximum and minimum values, we may use MAX and MIN functions in excelIn Excel, the MIN function is categorized as a statistical function. It finds and returns the minimum value from a given set of data/array.read more, respectively.

Find Max & Min Example 10

Things to Remember

  • These are some of the important formulas/commands in excel which are used regularly.
  • We can also use these functions at the advanced level.
  • There are more advanced formulas in Excel which come under advanced level courses.
  • Space is considered one character.

Recommended Articles

This article is a guide to Excel Commands. Here, we discuss the top 10 commands in Excel, examples, and a downloadable template. You may learn more about Excel from the following articles: –

  • Break-Even Point in Excel
  • Basic Excel Formulas List
  • Create Custom Functions in Excel
  • Write Formula in Excel

ABS function

Math and trigonometry:    Returns the absolute value of a number

ACCRINT function

Financial:    Returns the accrued interest for a security that pays periodic interest

ACCRINTM function

Financial:    Returns the accrued interest for a security that pays interest at maturity

ACOS function

Math and trigonometry:    Returns the arccosine of a number

ACOSH function

Math and trigonometry:    Returns the inverse hyperbolic cosine of a number

ACOT function

Excel 2013

Math and trigonometry:    Returns the arccotangent of a number

ACOTH function

Excel 2013

Math and trigonometry:    Returns the hyperbolic arccotangent of a number

AGGREGATE function

Math and trigonometry:    Returns an aggregate in a list or database

ADDRESS function

Lookup and reference:    Returns a reference as text to a single cell in a worksheet

AMORDEGRC function

Financial:    Returns the depreciation for each accounting period by using a depreciation coefficient

AMORLINC function

Financial:    Returns the depreciation for each accounting period

AND function

Logical:    Returns TRUE if all of its arguments are TRUE

ARABIC function

Excel 2013

Math and trigonometry:    Converts a Roman number to Arabic, as a number

AREAS function

Lookup and reference:    Returns the number of areas in a reference

ARRAYTOTEXT function

Office 365 button

Text:    Returns an array of text values from any specified range

ASC function

Text:    Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters

ASIN function

Math and trigonometry:    Returns the arcsine of a number

ASINH function

Math and trigonometry:    Returns the inverse hyperbolic sine of a number

ATAN function

Math and trigonometry:    Returns the arctangent of a number

ATAN2 function

Math and trigonometry:    Returns the arctangent from x- and y-coordinates

ATANH function

Math and trigonometry:    Returns the inverse hyperbolic tangent of a number

AVEDEV function

Statistical:    Returns the average of the absolute deviations of data points from their mean

AVERAGE function

Statistical:    Returns the average of its arguments

AVERAGEA function

Statistical:    Returns the average of its arguments, including numbers, text, and logical values

AVERAGEIF function

Statistical:    Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria

AVERAGEIFS function

Statistical:    Returns the average (arithmetic mean) of all cells that meet multiple criteria.

BAHTTEXT function

Text:    Converts a number to text, using the ß (baht) currency format

BASE function

Math and trigonometry:    Converts a number into a text representation with the given radix (base)

BESSELI function

Engineering:    Returns the modified Bessel function In(x)

BESSELJ function

Engineering:    Returns the Bessel function Jn(x)

BESSELK function

Engineering:    Returns the modified Bessel function Kn(x)

BESSELY function

Engineering:    Returns the Bessel function Yn(x)

BETADIST function

Compatibility:    Returns the beta cumulative distribution function

In Excel 2007, this is a Statistical function.

BETA.DIST function

Excel 2010

Statistical:    Returns the beta cumulative distribution function

BETAINV function

Compatibility:    Returns the inverse of the cumulative distribution function for a specified beta distribution

In Excel 2007, this is a Statistical function.

BETA.INV function

Excel 2010

Statistical:    Returns the inverse of the cumulative distribution function for a specified beta distribution

BIN2DEC function

Engineering:    Converts a binary number to decimal

BIN2HEX function

Engineering:    Converts a binary number to hexadecimal

BIN2OCT function

Engineering:    Converts a binary number to octal

BINOMDIST function

Compatibility:    Returns the individual term binomial distribution probability

In Excel 2007, this is a Statistical function.

BINOM.DIST function

Excel 2010

Statistical:    Returns the individual term binomial distribution probability

BINOM.DIST.RANGE function

Excel 2013

Statistical:    Returns the probability of a trial result using a binomial distribution

BINOM.INV function

Excel 2010

Statistical:    Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value

BITAND function

Excel 2013

Engineering:    Returns a ‘Bitwise And’ of two numbers

BITLSHIFT function

Excel 2013

Engineering:    Returns a value number shifted left by shift_amount bits

BITOR function

Excel 2013

Engineering:    Returns a bitwise OR of 2 numbers

BITRSHIFT function

Excel 2013

Engineering:    Returns a value number shifted right by shift_amount bits

BITXOR function

Excel 2013

Engineering:    Returns a bitwise ‘Exclusive Or’ of two numbers

BYCOL

Office 365 button

Logical:    Applies a LAMBDA to each column and returns an array of the results

BYROW

Office 365 button

Logical:    Applies a LAMBDA to each row and returns an array of the results

CALL function

Add-in and Automation:    Calls a procedure in a dynamic link library or code resource

CEILING function

Compatibility:    Rounds a number to the nearest integer or to the nearest multiple of significance

CEILING.MATH function

Excel 2013

Math and trigonometry:    Rounds a number up, to the nearest integer or to the nearest multiple of significance

CEILING.PRECISE function

Math and trigonometry:    Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.

CELL function

Information:    Returns information about the formatting, location, or contents of a cell

This function is not available in Excel for the web.

CHAR function

Text:    Returns the character specified by the code number

CHIDIST function

Compatibility:    Returns the one-tailed probability of the chi-squared distribution

Note: In Excel 2007, this is a Statistical function.

CHIINV function

Compatibility:    Returns the inverse of the one-tailed probability of the chi-squared distribution

Note: In Excel 2007, this is a Statistical function.

CHITEST function

Compatibility:    Returns the test for independence

Note: In Excel 2007, this is a Statistical function.

CHISQ.DIST function

Excel 2010

Statistical:    Returns the cumulative beta probability density function

CHISQ.DIST.RT function

Excel 2010

Statistical:    Returns the one-tailed probability of the chi-squared distribution

CHISQ.INV function

Excel 2010

Statistical:    Returns the cumulative beta probability density function

CHISQ.INV.RT function

Excel 2010

Statistical:    Returns the inverse of the one-tailed probability of the chi-squared distribution

CHISQ.TEST function

Excel 2010

Statistical:    Returns the test for independence

CHOOSE function

Lookup and reference:    Chooses a value from a list of values

CHOOSECOLS

Office 365 button

Lookup and reference:    Returns the specified columns from an array

CHOOSEROWS

Office 365 button

Lookup and reference:    Returns the specified rows from an array

CLEAN function

Text:    Removes all nonprintable characters from text

CODE function

Text:    Returns a numeric code for the first character in a text string

COLUMN function

Lookup and reference:    Returns the column number of a reference

COLUMNS function

Lookup and reference:    Returns the number of columns in a reference

COMBIN function

Math and trigonometry:    Returns the number of combinations for a given number of objects

COMBINA function

Excel 2013

Math and trigonometry:   

Returns the number of combinations with repetitions for a given number of items

COMPLEX function

Engineering:    Converts real and imaginary coefficients into a complex number

CONCAT function

2019

Text:    Combines the text from multiple ranges and/or strings, but it doesn’t provide the delimiter or IgnoreEmpty arguments.

CONCATENATE function

Text:    Joins several text items into one text item

CONFIDENCE function

Compatibility:    Returns the confidence interval for a population mean

In Excel 2007, this is a Statistical function.

CONFIDENCE.NORM function

Excel 2010

Statistical:    Returns the confidence interval for a population mean

CONFIDENCE.T function

Excel 2010

Statistical:    Returns the confidence interval for a population mean, using a Student’s t distribution

CONVERT function

Engineering:    Converts a number from one measurement system to another

CORREL function

Statistical:    Returns the correlation coefficient between two data sets

COS function

Math and trigonometry:    Returns the cosine of a number

COSH function

Math and trigonometry:    Returns the hyperbolic cosine of a number

COT function

Excel 2013

Math and trigonometry:    Returns the hyperbolic cosine of a number

COTH function

Excel 2013

Math and trigonometry:    Returns the cotangent of an angle

COUNT function

Statistical:    Counts how many numbers are in the list of arguments

COUNTA function

Statistical:    Counts how many values are in the list of arguments

COUNTBLANK function

Statistical:    Counts the number of blank cells within a range

COUNTIF function

Statistical:    Counts the number of cells within a range that meet the given criteria

COUNTIFS function

Statistical:    Counts the number of cells within a range that meet multiple criteria

COUPDAYBS function

Financial:    Returns the number of days from the beginning of the coupon period to the settlement date

COUPDAYS function

Financial:    Returns the number of days in the coupon period that contains the settlement date

COUPDAYSNC function

Financial:    Returns the number of days from the settlement date to the next coupon date

COUPNCD function

Financial:    Returns the next coupon date after the settlement date

COUPNUM function

Financial:    Returns the number of coupons payable between the settlement date and maturity date

COUPPCD function

Financial:    Returns the previous coupon date before the settlement date

COVAR function

Compatibility:    Returns covariance, the average of the products of paired deviations

In Excel 2007, this is a Statistical function.

COVARIANCE.P function

Excel 2010

Statistical:    Returns covariance, the average of the products of paired deviations

COVARIANCE.S function

Excel 2010

Statistical:    Returns the sample covariance, the average of the products deviations for each data point pair in two data sets

CRITBINOM function

Compatibility:    Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value

In Excel 2007, this is a Statistical function.

CSC function

Excel 2013

Math and trigonometry:    Returns the cosecant of an angle

CSCH function

Excel 2013

Math and trigonometry:    Returns the hyperbolic cosecant of an angle

CUBEKPIMEMBER function

Cube:    Returns a key performance indicator (KPI) name, property, and measure, and displays the name and property in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, used to monitor an organization’s performance.

CUBEMEMBER function

Cube:    Returns a member or tuple in a cube hierarchy. Use to validate that the member or tuple exists in the cube.

CUBEMEMBERPROPERTY function

Cube:    Returns the value of a member property in the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.

CUBERANKEDMEMBER function

Cube:    Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or top 10 students.

CUBESET function

Cube:    Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Office Excel.

CUBESETCOUNT function

Cube:    Returns the number of items in a set.

CUBEVALUE function

Cube:    Returns an aggregated value from a cube.

CUMIPMT function

Financial:    Returns the cumulative interest paid between two periods

CUMPRINC function

Financial:    Returns the cumulative principal paid on a loan between two periods

DATE function

Date and time:    Returns the serial number of a particular date

DATEDIF function

Date and time:    Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.

DATEVALUE function

Date and time:    Converts a date in the form of text to a serial number

DAVERAGE function

Database:    Returns the average of selected database entries

DAY function

Date and time:    Converts a serial number to a day of the month

DAYS function

Excel 2013

Date and time:    Returns the number of days between two dates

DAYS360 function

Date and time:    Calculates the number of days between two dates based on a 360-day year

DB function

Financial:    Returns the depreciation of an asset for a specified period by using the fixed-declining balance method

DBCS function

Excel 2013

Text:    Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters

DCOUNT function

Database:    Counts the cells that contain numbers in a database

DCOUNTA function

Database:    Counts nonblank cells in a database

DDB function

Financial:    Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify

DEC2BIN function

Engineering:    Converts a decimal number to binary

DEC2HEX function

Engineering:    Converts a decimal number to hexadecimal

DEC2OCT function

Engineering:    Converts a decimal number to octal

DECIMAL function

Excel 2013

Math and trigonometry:    Converts a text representation of a number in a given base into a decimal number

DEGREES function

Math and trigonometry:    Converts radians to degrees

DELTA function

Engineering:    Tests whether two values are equal

DEVSQ function

Statistical:    Returns the sum of squares of deviations

DGET function

Database:    Extracts from a database a single record that matches the specified criteria

DISC function

Financial:    Returns the discount rate for a security

DMAX function

Database:    Returns the maximum value from selected database entries

DMIN function

Database:    Returns the minimum value from selected database entries

DOLLAR function

Text:    Converts a number to text, using the $ (dollar) currency format

DOLLARDE function

Financial:    Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number

DOLLARFR function

Financial:    Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction

DPRODUCT function

Database:    Multiplies the values in a particular field of records that match the criteria in a database

DROP

Office 365 button

Lookup and reference:    Excludes a specified number of rows or columns from the start or end of an array

DSTDEV function

Database:    Estimates the standard deviation based on a sample of selected database entries

DSTDEVP function

Database:    Calculates the standard deviation based on the entire population of selected database entries

DSUM function

Database:    Adds the numbers in the field column of records in the database that match the criteria

DURATION function

Financial:    Returns the annual duration of a security with periodic interest payments

DVAR function

Database:    Estimates variance based on a sample from selected database entries

DVARP function

Database:    Calculates variance based on the entire population of selected database entries

EDATE function

Date and time:    Returns the serial number of the date that is the indicated number of months before or after the start date

EFFECT function

Financial:    Returns the effective annual interest rate

ENCODEURL function

Excel 2013

Web:    Returns a URL-encoded string

This function is not available in Excel for the web.

EOMONTH function

Date and time:    Returns the serial number of the last day of the month before or after a specified number of months

ERF function

Engineering:    Returns the error function

ERF.PRECISE function

Excel 2010

Engineering:    Returns the error function

ERFC function

Engineering:    Returns the complementary error function

ERFC.PRECISE function

Excel 2010

Engineering:    Returns the complementary ERF function integrated between x and infinity

ERROR.TYPE function

Information:    Returns a number corresponding to an error type

EUROCONVERT function

Add-in and Automation:    Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation).

EVEN function

Math and trigonometry:    Rounds a number up to the nearest even integer

EXACT function

Text:    Checks to see if two text values are identical

EXP function

Math and trigonometry:    Returns e raised to the power of a given number

EXPAND

Office 365 button

Lookup and reference:    Expands or pads an array to specified row and column dimensions

EXPON.DIST function

Excel 2010

Statistical:    Returns the exponential distribution

EXPONDIST function

Compatibility:    Returns the exponential distribution

In Excel 2007, this is a Statistical function.

FACT function

Math and trigonometry:    Returns the factorial of a number

FACTDOUBLE function

Math and trigonometry:    Returns the double factorial of a number

FALSE function

Logical:    Returns the logical value FALSE

F.DIST function

Excel 2010

Statistical:    Returns the F probability distribution

FDIST function

Compatibility:    Returns the F probability distribution

In Excel 2007, this is a Statistical function.

F.DIST.RT function

Excel 2010

Statistical:    Returns the F probability distribution

FILTER function

Office 365 button

Lookup and reference:    Filters a range of data based on criteria you define

FILTERXML function

Excel 2013

Web:    Returns specific data from the XML content by using the specified XPath

This function is not available in Excel for the web.

FIND, FINDB functions

Text:    Finds one text value within another (case-sensitive)

F.INV function

Excel 2010

Statistical:    Returns the inverse of the F probability distribution

F.INV.RT function

Excel 2010

Statistical:    Returns the inverse of the F probability distribution

FINV function

Compatibility:    Returns the inverse of the F probability distribution

In Excel 2007this is a Statistical function.

FISHER function

Statistical:    Returns the Fisher transformation

FISHERINV function

Statistical:    Returns the inverse of the Fisher transformation

FIXED function

Text:    Formats a number as text with a fixed number of decimals

FLOOR function

Compatibility:    Rounds a number down, toward zero

In Excel 2007 and Excel 2010, this is a Math and trigonometry function.

FLOOR.MATH function

Excel 2013

Math and trigonometry:    Rounds a number down, to the nearest integer or to the nearest multiple of significance

FLOOR.PRECISE function

Math and trigonometry:    Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.

FORECAST function

Statistical:    Returns a value along a linear trend

In Excel 2016, this function is replaced with FORECAST.LINEAR as part of the new Forecasting functions, but it’s still available for compatibility with earlier versions.

FORECAST.ETS function

Excel 2016

Statistical:    Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm

FORECAST.ETS.CONFINT function

Excel 2016

Statistical:    Returns a confidence interval for the forecast value at the specified target date

FORECAST.ETS.SEASONALITY function

Excel 2016

Statistical:    Returns the length of the repetitive pattern Excel detects for the specified time series

FORECAST.ETS.STAT function

Excel 2016

Statistical:    Returns a statistical value as a result of time series forecasting

FORECAST.LINEAR function

Excel 2016

Statistical:    Returns a future value based on existing values

FORMULATEXT function

Excel 2013

Lookup and reference:    Returns the formula at the given reference as text

FREQUENCY function

Statistical:    Returns a frequency distribution as a vertical array

F.TEST function

Excel 2010

Statistical:    Returns the result of an F-test

FTEST function

Compatibility:    Returns the result of an F-test

In Excel 2007, this is a Statistical function.

FV function

Financial:    Returns the future value of an investment

FVSCHEDULE function

Financial:    Returns the future value of an initial principal after applying a series of compound interest rates

GAMMA function

Excel 2013

Statistical:    Returns the Gamma function value

GAMMA.DIST function

Excel 2010

Statistical:    Returns the gamma distribution

GAMMADIST function

Compatibility:    Returns the gamma distribution

In Excel 2007, this is a Statistical function.

GAMMA.INV function

Excel 2010

Statistical:    Returns the inverse of the gamma cumulative distribution

GAMMAINV function

Compatibility:    Returns the inverse of the gamma cumulative distribution

In Excel 2007, this is a Statistical function.

GAMMALN function

Statistical:    Returns the natural logarithm of the gamma function, Γ(x)

GAMMALN.PRECISE function

Excel 2010

Statistical:    Returns the natural logarithm of the gamma function, Γ(x)

GAUSS function

Excel 2013

Statistical:    Returns 0.5 less than the standard normal cumulative distribution

GCD function

Math and trigonometry:    Returns the greatest common divisor

GEOMEAN function

Statistical:    Returns the geometric mean

GESTEP function

Engineering:    Tests whether a number is greater than a threshold value

GETPIVOTDATA function

Lookup and reference:    Returns data stored in a PivotTable report

GROWTH function

Statistical:    Returns values along an exponential trend

HARMEAN function

Statistical:    Returns the harmonic mean

HEX2BIN function

Engineering:    Converts a hexadecimal number to binary

HEX2DEC function

Engineering:    Converts a hexadecimal number to decimal

HEX2OCT function

Engineering:    Converts a hexadecimal number to octal

HLOOKUP function

Lookup and reference:    Looks in the top row of an array and returns the value of the indicated cell

HOUR function

Date and time:    Converts a serial number to an hour

HSTACK

Office 365 button

Lookup and reference:    Appends arrays horizontally and in sequence to return a larger array

HYPERLINK function

Lookup and reference:    Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet

HYPGEOM.DIST function

Statistical:    Returns the hypergeometric distribution

HYPGEOMDIST function

Compatibility:    Returns the hypergeometric distribution

In Excel 2007, this is a Statistical function.

IF function

Logical:    Specifies a logical test to perform

IFERROR function

Logical:    Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula

IFNA function

Excel 2013

Logical:    Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression

IFS function

2019

Logical:    Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.

IMABS function

Engineering:    Returns the absolute value (modulus) of a complex number

IMAGINARY function

Engineering:    Returns the imaginary coefficient of a complex number

IMARGUMENT function

Engineering:    Returns the argument theta, an angle expressed in radians

IMCONJUGATE function

Engineering:    Returns the complex conjugate of a complex number

IMCOS function

Engineering:    Returns the cosine of a complex number

IMCOSH function

Excel 2013

Engineering:    Returns the hyperbolic cosine of a complex number

IMCOT function

Excel 2013

Engineering:    Returns the cotangent of a complex number

IMCSC function

Excel 2013

Engineering:    Returns the cosecant of a complex number

IMCSCH function

Excel 2013

Engineering:    Returns the hyperbolic cosecant of a complex number

IMDIV function

Engineering:    Returns the quotient of two complex numbers

IMEXP function

Engineering:    Returns the exponential of a complex number

IMLN function

Engineering:    Returns the natural logarithm of a complex number

IMLOG10 function

Engineering:    Returns the base-10 logarithm of a complex number

IMLOG2 function

Engineering:    Returns the base-2 logarithm of a complex number

IMPOWER function

Engineering:    Returns a complex number raised to an integer power

IMPRODUCT function

Engineering:    Returns the product of complex numbers

IMREAL function

Engineering:    Returns the real coefficient of a complex number

IMSEC function

Excel 2013

Engineering:    Returns the secant of a complex number

IMSECH function

Excel 2013

Engineering:    Returns the hyperbolic secant of a complex number

IMSIN function

Engineering:    Returns the sine of a complex number

IMSINH function

Excel 2013

Engineering:    Returns the hyperbolic sine of a complex number

IMSQRT function

Engineering:    Returns the square root of a complex number

IMSUB function

Engineering:    Returns the difference between two complex numbers

IMSUM function

Engineering:    Returns the sum of complex numbers

IMTAN function

Excel 2013

Engineering:    Returns the tangent of a complex number

INDEX function

Lookup and reference:    Uses an index to choose a value from a reference or array

INDIRECT function

Lookup and reference:    Returns a reference indicated by a text value

INFO function

Information:    Returns information about the current operating environment

This function is not available in Excel for the web.

INT function

Math and trigonometry:    Rounds a number down to the nearest integer

INTERCEPT function

Statistical:    Returns the intercept of the linear regression line

INTRATE function

Financial:    Returns the interest rate for a fully invested security

IPMT function

Financial:    Returns the interest payment for an investment for a given period

IRR function

Financial:    Returns the internal rate of return for a series of cash flows

ISBLANK function

Information:    Returns TRUE if the value is blank

ISERR function

Information:    Returns TRUE if the value is any error value except #N/A

ISERROR function

Information:    Returns TRUE if the value is any error value

ISEVEN function

Information:    Returns TRUE if the number is even

ISFORMULA function

Excel 2013

Information:    Returns TRUE if there is a reference to a cell that contains a formula

ISLOGICAL function

Information:    Returns TRUE if the value is a logical value

ISNA function

Information:    Returns TRUE if the value is the #N/A error value

ISNONTEXT function

Information:    Returns TRUE if the value is not text

ISNUMBER function

Information:    Returns TRUE if the value is a number

ISODD function

Information:    Returns TRUE if the number is odd

ISOMITTED

Office 365 button

Information:    Checks whether the value in a LAMBDA is missing and returns TRUE or FALSE

ISREF function

Information:    Returns TRUE if the value is a reference

ISTEXT function

Information:    Returns TRUE if the value is text

ISO.CEILING function

Excel 2013

Math and trigonometry:    Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance

ISOWEEKNUM function

Excel 2013

Date and time:    Returns the number of the ISO week number of the year for a given date

ISPMT function

Financial:    Calculates the interest paid during a specific period of an investment

JIS function

Text:    Changes half-width (single-byte) characters within a string to full-width (double-byte) characters

KURT function

Statistical:    Returns the kurtosis of a data set

LAMBDA

Office 365 button

Logical:    Create custom, reusable functions and call them by a friendly name

LARGE function

Statistical:    Returns the k-th largest value in a data set

LCM function

Math and trigonometry:    Returns the least common multiple

LEFT, LEFTB functions

Text:    Returns the leftmost characters from a text value

LEN, LENB functions

Text:    Returns the number of characters in a text string

LET

Office 365 button

Logical:    Assigns names to calculation results

LINEST function

Statistical:    Returns the parameters of a linear trend

LN function

Math and trigonometry:    Returns the natural logarithm of a number

LOG function

Math and trigonometry:    Returns the logarithm of a number to a specified base

LOG10 function

Math and trigonometry:    Returns the base-10 logarithm of a number

LOGEST function

Statistical:    Returns the parameters of an exponential trend

LOGINV function

Compatibility:    Returns the inverse of the lognormal cumulative distribution

LOGNORM.DIST function

Excel 2010

Statistical:    Returns the cumulative lognormal distribution

LOGNORMDIST function

Compatibility:    Returns the cumulative lognormal distribution

LOGNORM.INV function

Excel 2010

Statistical:    Returns the inverse of the lognormal cumulative distribution

LOOKUP function

Lookup and reference:    Looks up values in a vector or array

LOWER function

Text:    Converts text to lowercase

MAKEARRAY

Office 365 button

Logical:    Returns a calculated array of a specified row and column size, by applying a LAMBDA

MAP

Office 365 button

Logical:    Returns an array formed by mapping each value in the array(s) to a new value by applying a LAMBDA to create a new value

MATCH function

Lookup and reference:    Looks up values in a reference or array

MAX function

Statistical:    Returns the maximum value in a list of arguments

MAXA function

Statistical:    Returns the maximum value in a list of arguments, including numbers, text, and logical values

MAXIFS function

2019

Statistical:    Returns the maximum value among cells specified by a given set of conditions or criteria

MDETERM function

Math and trigonometry:    Returns the matrix determinant of an array

MDURATION function

Financial:    Returns the Macauley modified duration for a security with an assumed par value of $100

MEDIAN function

Statistical:    Returns the median of the given numbers

MID, MIDB functions

Text:    Returns a specific number of characters from a text string starting at the position you specify

MIN function

Statistical:    Returns the minimum value in a list of arguments

MINIFS function

2019

Statistical:    Returns the minimum value among cells specified by a given set of conditions or criteria.

MINA function

Statistical:    Returns the smallest value in a list of arguments, including numbers, text, and logical values

MINUTE function

Date and time:    Converts a serial number to a minute

MINVERSE function

Math and trigonometry:    Returns the matrix inverse of an array

MIRR function

Financial:    Returns the internal rate of return where positive and negative cash flows are financed at different rates

MMULT function

Math and trigonometry:    Returns the matrix product of two arrays

MOD function

Math and trigonometry:    Returns the remainder from division

MODE function

Compatibility:    Returns the most common value in a data set

In Excel 2007, this is a Statistical function.

MODE.MULT function

Excel 2010

Statistical:    Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data

MODE.SNGL function

Excel 2010

Statistical:    Returns the most common value in a data set

MONTH function

Date and time:    Converts a serial number to a month

MROUND function

Math and trigonometry:    Returns a number rounded to the desired multiple

MULTINOMIAL function

Math and trigonometry:    Returns the multinomial of a set of numbers

MUNIT function

Excel 2013

Math and trigonometry:    Returns the unit matrix or the specified dimension

N function

Information:    Returns a value converted to a number

NA function

Information:    Returns the error value #N/A

NEGBINOM.DIST function

Excel 2010

Statistical:    Returns the negative binomial distribution

NEGBINOMDIST function

Compatibility:    Returns the negative binomial distribution

In Excel 2007, this is a Statistical function.

NETWORKDAYS function

Date and time:    Returns the number of whole workdays between two dates

NETWORKDAYS.INTL function

Excel 2010

Date and time:    Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days

NOMINAL function

Financial:    Returns the annual nominal interest rate

NORM.DIST function

Excel 2010

Statistical:    Returns the normal cumulative distribution

NORMDIST function

Compatibility:    Returns the normal cumulative distribution

In Excel 2007, this is a Statistical function.

NORMINV function

Statistical:    Returns the inverse of the normal cumulative distribution

NORM.INV function

Excel 2010

Compatibility:    Returns the inverse of the normal cumulative distribution

Note: In Excel 2007, this is a Statistical function.

NORM.S.DIST function

Excel 2010

Statistical:    Returns the standard normal cumulative distribution

NORMSDIST function

Compatibility:    Returns the standard normal cumulative distribution

In Excel 2007, this is a Statistical function.

NORM.S.INV function

Excel 2010

Statistical:    Returns the inverse of the standard normal cumulative distribution

NORMSINV function

Compatibility:    Returns the inverse of the standard normal cumulative distribution

In Excel 2007, this is a Statistical function.

NOT function

Logical:    Reverses the logic of its argument

NOW function

Date and time:    Returns the serial number of the current date and time

NPER function

Financial:    Returns the number of periods for an investment

NPV function

Financial:    Returns the net present value of an investment based on a series of periodic cash flows and a discount rate

NUMBERVALUE function

Excel 2013

Text:    Converts text to number in a locale-independent manner

OCT2BIN function

Engineering:    Converts an octal number to binary

OCT2DEC function

Engineering:    Converts an octal number to decimal

OCT2HEX function

Engineering:    Converts an octal number to hexadecimal

ODD function

Math and trigonometry:    Rounds a number up to the nearest odd integer

ODDFPRICE function

Financial:    Returns the price per $100 face value of a security with an odd first period

ODDFYIELD function

Financial:    Returns the yield of a security with an odd first period

ODDLPRICE function

Financial:    Returns the price per $100 face value of a security with an odd last period

ODDLYIELD function

Financial:    Returns the yield of a security with an odd last period

OFFSET function

Lookup and reference:    Returns a reference offset from a given reference

OR function

Logical:    Returns TRUE if any argument is TRUE

PDURATION function

Excel 2013

Financial:    Returns the number of periods required by an investment to reach a specified value

PEARSON function

Statistical:    Returns the Pearson product moment correlation coefficient

PERCENTILE.EXC function

Excel 2010

Statistical:    Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive

PERCENTILE.INC function

Excel 2010

Statistical:    Returns the k-th percentile of values in a range

PERCENTILE function

Compatibility:    Returns the k-th percentile of values in a range

In Excel 2007, this is a Statistical function.

PERCENTRANK.EXC function

Excel 2010

Statistical:    Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set

PERCENTRANK.INC function

Excel 2010

Statistical:    Returns the percentage rank of a value in a data set

PERCENTRANK function

Compatibility:    Returns the percentage rank of a value in a data set

In Excel 2007, this is a Statistical function.

PERMUT function

Statistical:    Returns the number of permutations for a given number of objects

PERMUTATIONA function

Excel 2013

Statistical:    Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects

PHI function

Excel 2013

Statistical:    Returns the value of the density function for a standard normal distribution

PHONETIC function

Text:    Extracts the phonetic (furigana) characters from a text string

PI function

Math and trigonometry:    Returns the value of pi

PMT function

Financial:    Returns the periodic payment for an annuity

POISSON.DIST function

Excel 2010

Statistical:    Returns the Poisson distribution

POISSON function

Compatibility:    Returns the Poisson distribution

In Excel 2007, this is a Statistical function.

POWER function

Math and trigonometry:    Returns the result of a number raised to a power

PPMT function

Financial:    Returns the payment on the principal for an investment for a given period

PRICE function

Financial:    Returns the price per $100 face value of a security that pays periodic interest

PRICEDISC function

Financial:    Returns the price per $100 face value of a discounted security

PRICEMAT function

Financial:    Returns the price per $100 face value of a security that pays interest at maturity

PROB function

Statistical:    Returns the probability that values in a range are between two limits

PRODUCT function

Math and trigonometry:    Multiplies its arguments

PROPER function

Text:    Capitalizes the first letter in each word of a text value

PV function

Financial:    Returns the present value of an investment

QUARTILE function

Compatibility:    Returns the quartile of a data set

In Excel 2007, this is a Statistical function.

QUARTILE.EXC function

Excel 2010

Statistical:    Returns the quartile of the data set, based on percentile values from 0..1, exclusive

QUARTILE.INC function

Excel 2010

Statistical:    Returns the quartile of a data set

QUOTIENT function

Math and trigonometry:    Returns the integer portion of a division

RADIANS function

Math and trigonometry:    Converts degrees to radians

RAND function

Math and trigonometry:    Returns a random number between 0 and 1

RANDARRAY function

Office 365 button

Math and trigonometry:    Returns an array of random numbers between 0 and 1. However, you can specify the number of rows and columns to fill, minimum and maximum values, and whether to return whole numbers or decimal values.

RANDBETWEEN function

Math and trigonometry:    Returns a random number between the numbers you specify

RANK.AVG function

Excel 2010

Statistical:    Returns the rank of a number in a list of numbers

RANK.EQ function

Excel 2010

Statistical:    Returns the rank of a number in a list of numbers

RANK function

Compatibility:    Returns the rank of a number in a list of numbers

In Excel 2007, this is a Statistical function.

RATE function

Financial:    Returns the interest rate per period of an annuity

RECEIVED function

Financial:    Returns the amount received at maturity for a fully invested security

REDUCE

Office 365 button

Logical:    Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator

REGISTER.ID function

Add-in and Automation:    Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered

REPLACE, REPLACEB functions

Text:    Replaces characters within text

REPT function

Text:    Repeats text a given number of times

RIGHT, RIGHTB functions

Text:    Returns the rightmost characters from a text value

ROMAN function

Math and trigonometry:    Converts an arabic numeral to roman, as text

ROUND function

Math and trigonometry:    Rounds a number to a specified number of digits

ROUNDDOWN function

Math and trigonometry:    Rounds a number down, toward zero

ROUNDUP function

Math and trigonometry:    Rounds a number up, away from zero

ROW function

Lookup and reference:    Returns the row number of a reference

ROWS function

Lookup and reference:    Returns the number of rows in a reference

RRI function

Excel 2013

Financial:    Returns an equivalent interest rate for the growth of an investment

RSQ function

Statistical:    Returns the square of the Pearson product moment correlation coefficient

RTD function

Lookup and reference:    Retrieves real-time data from a program that supports COM automation

SCAN

Office 365 button

Logical:    Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value

SEARCH, SEARCHB functions

Text:    Finds one text value within another (not case-sensitive)

SEC function

Excel 2013

Math and trigonometry:    Returns the secant of an angle

SECH function

Excel 2013

Math and trigonometry:    Returns the hyperbolic secant of an angle

SECOND function

Date and time:    Converts a serial number to a second

SEQUENCE function

Office 365 button

Math and trigonometry:    Generates a list of sequential numbers in an array, such as 1, 2, 3, 4

SERIESSUM function

Math and trigonometry:    Returns the sum of a power series based on the formula

SHEET function

Excel 2013

Information:    Returns the sheet number of the referenced sheet

SHEETS function

Excel 2013

Information:    Returns the number of sheets in a reference

SIGN function

Math and trigonometry:    Returns the sign of a number

SIN function

Math and trigonometry:    Returns the sine of the given angle

SINH function

Math and trigonometry:    Returns the hyperbolic sine of a number

SKEW function

Statistical:    Returns the skewness of a distribution

SKEW.P function

Excel 2013

Statistical:    Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean

SLN function

Financial:    Returns the straight-line depreciation of an asset for one period

SLOPE function

Statistical:    Returns the slope of the linear regression line

SMALL function

Statistical:    Returns the k-th smallest value in a data set

SORT function

Office 365 button

Lookup and reference:    Sorts the contents of a range or array

SORTBY function

Office 365 button

Lookup and reference:    Sorts the contents of a range or array based on the values in a corresponding range or array

SQRT function

Math and trigonometry:    Returns a positive square root

SQRTPI function

Math and trigonometry:    Returns the square root of (number * pi)

STANDARDIZE function

Statistical:    Returns a normalized value

STOCKHISTORY function

Financial:    Retrieves historical data about a financial instrument

STDEV function

Compatibility:    Estimates standard deviation based on a sample

STDEV.P function

Excel 2010

Statistical:    Calculates standard deviation based on the entire population

STDEV.S function

Excel 2010

Statistical:    Estimates standard deviation based on a sample

STDEVA function

Statistical:    Estimates standard deviation based on a sample, including numbers, text, and logical values

STDEVP function

Compatibility:    Calculates standard deviation based on the entire population

In Excel 2007, this is a Statistical function.

STDEVPA function

Statistical:    Calculates standard deviation based on the entire population, including numbers, text, and logical values

STEYX function

Statistical:    Returns the standard error of the predicted y-value for each x in the regression

SUBSTITUTE function

Text:    Substitutes new text for old text in a text string

SUBTOTAL function

Math and trigonometry:    Returns a subtotal in a list or database

SUM function

Math and trigonometry:    Adds its arguments

SUMIF function

Math and trigonometry:    Adds the cells specified by a given criteria

SUMIFS function

Math and trigonometry:    Adds the cells in a range that meet multiple criteria

SUMPRODUCT function

Math and trigonometry:    Returns the sum of the products of corresponding array components

SUMSQ function

Math and trigonometry:    Returns the sum of the squares of the arguments

SUMX2MY2 function

Math and trigonometry:    Returns the sum of the difference of squares of corresponding values in two arrays

SUMX2PY2 function

Math and trigonometry:    Returns the sum of the sum of squares of corresponding values in two arrays

SUMXMY2 function

Math and trigonometry:    Returns the sum of squares of differences of corresponding values in two arrays

SWITCH function

Office 365 button

2019

Logical:    Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.

SYD function

Financial:    Returns the sum-of-years’ digits depreciation of an asset for a specified period

T function

Text:    Converts its arguments to text

TAN function

Math and trigonometry:    Returns the tangent of a number

TANH function

Math and trigonometry:    Returns the hyperbolic tangent of a number

TAKE

Office 365 button

Lookup and reference:    Returns a specified number of contiguous rows or columns from the start or end of an array

TBILLEQ function

Financial:    Returns the bond-equivalent yield for a Treasury bill

TBILLPRICE function

Financial:    Returns the price per $100 face value for a Treasury bill

TBILLYIELD function

Financial:    Returns the yield for a Treasury bill

T.DIST function

Excel 2010

Statistical:    Returns the Percentage Points (probability) for the Student t-distribution

T.DIST.2T function

Excel 2010

Statistical:    Returns the Percentage Points (probability) for the Student t-distribution

T.DIST.RT function

Excel 2010

Statistical:    Returns the Student’s t-distribution

TDIST function

Compatibility:    Returns the Student’s t-distribution

TEXT function

Text:    Formats a number and converts it to text

TEXTAFTER

Office 365 button

Text:    Returns text that occurs after given character or string

TEXTBEFORE

Office 365 button

Text:    Returns text that occurs before a given character or string

TEXTJOIN

Office 365 button

Text:    Combines the text from multiple ranges and/or strings

TEXTSPLIT

Office 365 button

Text:    Splits text strings by using column and row delimiters

TIME function

Date and time:    Returns the serial number of a particular time

TIMEVALUE function

Date and time:    Converts a time in the form of text to a serial number

T.INV function

Excel 2010

Statistical:    Returns the t-value of the Student’s t-distribution as a function of the probability and the degrees of freedom

T.INV.2T function

Excel 2010

Statistical:    Returns the inverse of the Student’s t-distribution

TINV function

Compatibility:    Returns the inverse of the Student’s t-distribution

TOCOL

Office 365 button

Lookup and reference:    Returns the array in a single column

TOROW

Office 365 button

Lookup and reference:    Returns the array in a single row

TODAY function

Date and time:    Returns the serial number of today’s date

TRANSPOSE function

Lookup and reference:    Returns the transpose of an array

TREND function

Statistical:    Returns values along a linear trend

TRIM function

Text:    Removes spaces from text

TRIMMEAN function

Statistical:    Returns the mean of the interior of a data set

TRUE function

Logical:    Returns the logical value TRUE

TRUNC function

Math and trigonometry:    Truncates a number to an integer

T.TEST function

Excel 2010

Statistical:    Returns the probability associated with a Student’s t-test

TTEST function

Compatibility:    Returns the probability associated with a Student’s t-test

In Excel 2007, this is a Statistical function.

TYPE function

Information:    Returns a number indicating the data type of a value

UNICHAR function

Excel 2013

Text:    Returns the Unicode character that is references by the given numeric value

UNICODE function

Excel 2013

Text:    Returns the number (code point) that corresponds to the first character of the text

UNIQUE function

Office 365 button

Lookup and reference:    Returns a list of unique values in a list or range

UPPER function

Text:    Converts text to uppercase

VALUE function

Text:    Converts a text argument to a number

VALUETOTEXT

Office 365 button

Text:    Returns text from any specified value

VAR function

Compatibility:    Estimates variance based on a sample

In Excel 2007, this is a Statistical function.

VAR.P function

Excel 2010

Statistical:    Calculates variance based on the entire population

VAR.S function

Excel 2010

Statistical:    Estimates variance based on a sample

VARA function

Statistical:    Estimates variance based on a sample, including numbers, text, and logical values

VARP function

Compatibility:    Calculates variance based on the entire population

In Excel 2007, this is a Statistical function.

VARPA function

Statistical:    Calculates variance based on the entire population, including numbers, text, and logical values

VDB function

Financial:    Returns the depreciation of an asset for a specified or partial period by using a declining balance method

VLOOKUP function

Lookup and reference:    Looks in the first column of an array and moves across the row to return the value of a cell

VSTACK

Office 365 button

Look and reference:    Appends arrays vertically and in sequence to return a larger array

WEBSERVICE function

Excel 2013

Web:    Returns data from a web service.

This function is not available in Excel for the web.

WEEKDAY function

Date and time:    Converts a serial number to a day of the week

WEEKNUM function

Date and time:    Converts a serial number to a number representing where the week falls numerically with a year

WEIBULL function

Compatibility:    Calculates variance based on the entire population, including numbers, text, and logical values

In Excel 2007, this is a Statistical function.

WEIBULL.DIST function

Excel 2010

Statistical:    Returns the Weibull distribution

WORKDAY function

Date and time:    Returns the serial number of the date before or after a specified number of workdays

WORKDAY.INTL function

Excel 2010

Date and time:    Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days

WRAPCOLS

Office 365 button

Look and reference:    Wraps the provided row or column of values by columns after a specified number of elements

WRAPROWS

Office 365 button

Look and reference:    Wraps the provided row or column of values by rows after a specified number of elements

XIRR function

Financial:    Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic

XLOOKUP function

Office 365 button

Lookup and reference:    Searches a range or an array, and returns an item corresponding to the first match it finds. If a match doesn’t exist, then XLOOKUP can return the closest (approximate) match. 

XMATCH function

Office 365 button

Lookup and reference:    Returns the relative position of an item in an array or range of cells. 

XNPV function

Financial:    Returns the net present value for a schedule of cash flows that is not necessarily periodic

XOR function

Excel 2013

Logical:    Returns a logical exclusive OR of all arguments

YEAR function

Date and time:    Converts a serial number to a year

YEARFRAC function

Date and time:    Returns the year fraction representing the number of whole days between start_date and end_date

YIELD function

Financial:    Returns the yield on a security that pays periodic interest

YIELDDISC function

Financial:    Returns the annual yield for a discounted security; for example, a Treasury bill

YIELDMAT function

Financial:    Returns the annual yield of a security that pays interest at maturity

Z.TEST function

Excel 2010

Statistical:    Returns the one-tailed probability-value of a z-test

ZTEST function

Compatibility:    Returns the one-tailed probability-value of a z-test

In Excel 2007, this is a Statistical function.

Excel Advanced
Concepts
By J. Carlton Collins

Presented below are some of the more advanced concepts,
topics and bullet points I like to cover in my Advanced excel courses.

The
Data Menu
— Perhaps the parts
of Excel that are of most value to CPAs, but least used by CPAs are the Data
commands found under the Data menu in Excel 2003 and earlier, and on the data
Ribbon in Excel 2007. These commands are shown below, and we will concentrate
the next hour to studying these commands.

 


Data Sort —
The Sort tool
does exactly what it implies � it sorts and data. Key sorting points are as
follows:

1.     
Contiguous Data
— The �A to Z� sorting tool can sort large matrix of data automatically as long
as the data is contiguous. In other words, your data should contain no blank
columns, no blank rows, and the columns must all be labeled. Only then will
Excel always correctly select the entire matrix for sorting.

2.     
A to Z Button
— Simply place the cursor in the desired column for sorted, and press the A to Z
or Z to A button as the case may be. Excel will automatically sort all
continuous columns that have headings and all contiguous rows from the top row
under the heading labels down to the last row in the selected column that
contains data. (Note — If you accidently select 2 cells instead of just one,
your results will not be correct.)

3.     
Sort by 64
Columns —
The �Sort� tool is
dramatically enhanced in Excel 2007 as it now provides the ability to sort by up
to 64 columns, instead of just 3 columns. Presented below is a dialog box which
shows this expanded functionality.

4.     
Sort Left to
Right
� Excel has always provided the
ability to sort left to right. To do so, select the options box in the Sort
Dialog box and click the check box labeled �Sort left to Right� as shown below.

5.     
Sort by Color
� Excel 2007 now provides the ability to sort by font color or by cell color, or
both. This is handy in many ways. Sometimes CPAs use color to tag or mark
certain cells  — and later find it useful to be able to sort by those markings.
In other situations CPAs use conditional formatting to apply color to cells
using a wide variety of rules. Thereafter Excel can sort the data based on the
resulting colors. The sort-by-color options are shown below.

To be accurate, it was
possible to sort by color in Excel 2003. To accomplish this task, you needed to
use the =CELL function in order to identify information about a given cell such
as the cell color or font color. Thereafter, the results of that function could
be used to sort rows � which effectively means that you can sort by color in
Excel 2003 � but it takes a bit more effort.

6.     
Sort By Custom
List
� Another sorting capability in
Excel is the ability to sort by Custom List. For example, assume a CPA firm has
ten partners, and the Managing partner prefers to be shown at the top of the
list, and the remaining Partners based on seniority. In this case, you could
create a Custom List in the excel Options dialog box listing the partners in the
desired order, and then sort future reports based on that order.

Perhaps a better example
use of this feature would be to create a non-alphabetic custom list of your
chart of accounts, and then sort transactions to produce a general ledger in
chart of account order � even if your preferred chart of accounts is not
alphabetical. the partner seniority does not match the alphabetic names,
nor any

Filtering Data
— Using AutoFilter to filter data allows you to view a subset of your data in a
range of cells or table. Once you have filtered the data, you can apply
additional filters to further refine your data view. When you are done, you can
clear a filter to once again redisplay all of the data. To use this tool, start
with any list of data and turn on the AutoFilter tool. Then position your cursor
in the column you want to filter and use the drop down arrows to apply your
filters as shown in the screen below.

Once the filters are applied, you will see a
subset your data. For example, the screen presented below shows filtered data
for only Macon and Savannah properties.

As filters are applied, a small funnel appears in
the drop down arrow button to indicate that a filter has been applied. You can
apply filters for multiple columns simultaneously.

Key Points Concerning The
AutoFilter Command:

1.     
Contiguous Data
� The AutoFilter tools works best when you are working with data that is
contiguous. In other words, your data should contain no blank columns, no blank
rows, and the columns must all be labeled.

2.     
Filter by
Multiple Columns
—  You can filter by
more than one column.

3.     
Removing Filters
� In Excel 2003 and earlier, a faster way to remove multiple filters is to turn
off filtering and then turn filtering back on. In Excel 2007 you can simple
click the Clear button in the Sort and Filter Group as shown below.

4.     
Filters are
Additive
 — Each additional filter is
based on the current filter and further reduces the subset of data.

5.     
Three Types of
Filters
� You can filter based on
list values, by formats, or by criteria. Each of these filter types is mutually
exclusive for each range of cells or column table. For example, you can filter
by cell color or by a list of numbers, but not by both; you can filter by icon
or by a custom filter, but not by both.

6.     
Filters Enabled —
A drop-down arrow Filter drop-down arrow means that filtering is enabled but not
applied.

7.     
Filter Applied —
A Filter button Applied filter icon means
that a filter is applied.



 

 

8.     
Filter Spanning
— The commands under the All Dates in the Period menu, such as January or
Quarter 2, filter by the period no matter what the year. This can be useful, for
example, to compare sales by a period across several years.

9.     
This Year vs.
Year-to-Date
Filtering — This Year
and Year-to-Date are different in the way that future dates are handled. This
Year can return dates in the future for the current year, whereas Year to Date
only returns dates up to and including the current date.

10. 
Filtering Dates
— All date filters are based on the Gregorian calendar as  decreed by Pope
Gregory XIII, after whom the calendar was named, on 24 February 1582. The
Gregorian calendar modifies the Julian calendar’s regular four-year cycle of
leap years as follows: Every year that is exactly divisible by four is a leap
year, except for years that are exactly divisible by 100; the centurial years
that are exactly divisible by 400 are still leap years. For example, the year
1900 is not a leap year; the year 2000 is a leap year.

11. 
Filtering By Days
of Week —
If you want to filter by
days of the week, simply format the cells to show the day of the week.

12. 
Top & Bottom
Filtering
— On the Data tab, in the
Sort & Filter group, click Filter. Point to Number Filters and then select Top
10. To filter by number, click Items. To filter by percentage, click Percent.
Note — Top and bottom values are based on the original range of cells or table
column and not the filtered subset of data.

 

13. 
Above & Below
Average Filtering
— On the Data tab,
in the Sort & Filter group, click Filter. Point to Filter by Numbers that are
Above/Below Average. Note � These values are based on the original range of
cells or table column and not the filtered subset of data.

14. 
Filtering Out
Blanks
— To filter for blanks, in the
AutoFilter menu at the top of the list of values, clear (Select All), and then
at the bottom of the list of values, select (Blanks).

15. 
Filtering By
Color
— Select Filter by Color, and
then depending on the type of format, select Filter by Cell Color, Filter by
Font Color, or Filter by Cell Icon.

16. 
Filter by
Selection
— To filter by text,
number, or date or time, click Filter by Selected Cell’s Value and then: To
filter by cell color, click Filter by Selected Cell’s Color. To filter by font
color, click Filter by Selected Cell’s Font Color. To filter by icon, click
Filter by Selected Cell’s Icon.

17. 
Refreshing
Filters —
To reapply a filter after
the data changes, click a cell in the range or table, and then on the Data tab,
in the Sort & Filter group, click Reapply.


Data Form



Excel�s
2003 Data Form tool makes Excel look more and behave more like a
database, such as Microsoft Access. (The Form button has not been included on
the Office Fluent user interface Ribbon, but you can still use it in Office
Excel 2007 by adding the Form button to the Quick Access Toolbar.)

A data
form provides a convenient means to enter or display one complete row of
information in a range or table without scrolling horizontally. You may find
that using a data form can make data entry easier than moving from column to
column when you have more columns of data than can be viewed on the screen. Use
a data form when a simple form of text boxes that list the column headings as
labels is sufficient and you don’t need sophisticated or custom form features,
such as a list box or spin button.


Key
Points using data Form:


1.
     

You
cannot print a data form.


2.
     

Because
a data form is a modal dialog box, you cannot use either the Excel Print command
or Print button until you close the data form.


3.
     

You
might consider using the Windows Print Screen key to make an image of the form,
and then paste it into Microsoft Word for printing.


Data Subtotals



Excel
provides an automatic subtotaling which will automatically calculate and insert
subtotals and grand totals in your list or table. Once inserted, Excel
recalculates subtotal and grand total values automatically as you enter and edit
the detail data. The Subtotal command also outlines the list so that you can
display and hide the detail rows for each subtotal. Examples of a the Subtotal
dialog box and a resulting subtotaled table are shown below.

Key
points to Consider When Using Subtotaling are as follows:

1.     
Contiguous Data
� The Subtotal tools works best when you are working with data that is
contiguous. In other words, your data should contain no blank columns, no blank
rows, and the columns must all be labeled.

2.     

Sort
Before Your Subtotal

— You must sort the data by the column you wish to Subtotal by, else you will
receive erroneous results.

3.     

Other
Mathematical Applications —

The
Subtotal tool not only calculates subtotals, but it can also calculate minimums,
maximums, averages, standard deviations, and other functions.

4.     
Subtotals
in 2007 Tables
� Excel 2007 deploys
Subtotaling a little differently in that the Subtotal tool appears at the bottom
of each column in each table, as shown in the screen below.

5.     
Automatic
Outlining
— Subtotaling automatically
inserts Outlines, which is really cool. You can then condense and expand the
data in total and by subtotal. Some CPAs also like to copy and paste the
condensed subtotal information to another location but find that this process
copies and pastes all of the data. There are two ways to achieve a clean copy
and paste without grabbing all the hidden data as follows:

a.     
CTRL key
� Hold the Control Key down while you
individually click on each subtotal row. This will enable you to copy and paste
just the subtotal data. This approach can be problematic because if you mis-click,
you have to start over.

b.     
Select
Visible Cells
� A better approach is
to use the Select Visible Cells tool. This tool will select on the data you can
see, after which the copy and paste routine will  yield the desired results.
This option is better because it is faster and less error prone.

Data Validation

Data Validation can be
used to limit the data that can be entered into a cell. For example, you might
want the user to enter only values between 1% and 99%. You might also use this
tool to enable data input to a drop down list. This has two advantages in that
it can be faster and more accurate.  Start with the dialog box below to create
your drop down list functionality.

After making all the
necessary selections in the validation list dialog box, your worksheet will
behave as shown below.

You can also provide messages to define what input
you expect for the cell, and instructions to help users correct any errors. For
example, in a marketing workbook, you can set up a cell to allow only account
numbers that are exactly three characters long. When users select the cell, you
can show them a message such as this one:

Selected cell and input message

If users ignore this message and type invalid data
in the cell, such as a two-digit or five-digit number, you can show them an
actual error message. In a more advanced scenario, you might use data validation
to calculate the maximum allowed value in a cell based on a value elsewhere in
the workbook. In the following example, the user has typed $4,000 in cell E7,
which exceeds the maximum limit specified for commissions and bonuses.

Invalid data and warning message

If the payroll budget were to increase or
decrease, the allowed maximum in E7 would automatically increase or decrease
with it.


PivotTables

 

The
PivotTable report tool provides an interactive way to summarize large amounts of
data. Use should use the PivotTable tools to crunch and analyze numerical data
PivotTable reports are particularly useful in the following situations:

a.     
Rearranging rows
to columns or columns to rows (or «pivoting») to see different summaries of
the source data.

b.     
Filtering,
sorting, grouping, and conditionally formatting your data.

c.      
Preparing
concise, attractive, and annotated online or printed reports

d.     
Querying large
amounts of data.

e.     
Subtotaling and
aggregating numeric data.

f.       
Summarizing data
by categories and subcategories

g.     
Creating custom
calculations and formulas.

h.     
Expanding and
collapsing levels of data.

i.       
Drilling down to
details from the summary data

In essence, PivotTables present multidimensional data views
to the user � this process is often referred to as �modeling�, �data-cube
analysis�, or �OLAP data cubes�.  To re-arrange the PivotTable data, just drag
and drop column and row headings to move data around.  PivotTables are a great
data analysis tool for management. 

If you
have never used a PivotTable before, initially the concept can be difficult to
grasp. The best way to understand a PivotTable is to create a blank Pivot Table
and then drag and drop field names onto that blank table. This way you will see
the resulting pivot table magically appear and it will help you better
understand the important relationship between the pivot pallet and the field
name list.

Let�s create a simple
PivotTable. Start with an Excel worksheet data that contains several columns of
data � the data must include column and row headings and it helps if the data is
contiguous. Place your cursor anywhere in the data and select PivotTable from
the Data menu in Excel 2003 and click Finish; or from the insert Ribbon in Excel
2007.  This process is shown below: Let�s start with a page of data summarizing
the results of tax season as all of the time sheet entries have been entered
onto a single worksheet as shown below.

Place your cursor anywhere in the data and select
PivotTable from the Insert Ribbon as shown below:

For learning purposes let�s right mouse click on
the pivot table and select PivotTable Options, Display, Classic PivotTable
Layout. Your screen will now appear as follows:

I like for CPAs to learn how to use Pivot Tables
in this view because it visually helps them understand the all important
relationship better the blank pivot palette and the PivotTable field List, both
elements of which are shown in the screen above.

To proceed, simply drag and drop field names shown
on the right onto the blank Pivot palette shown on the left. With each drop,
your report grows larger. As an alternative you could use the check boxes next
to field names � this functionality is new in Excel 2007. After added some data
to your blank Pivot Palette, your data will look something like this:

Next format and filter the Pivot Report. Very
quickly your report comes together as shown below. Notice the filter button has
been applied and a Pivot table style has also been applied for appearance.

Double clicking on any number in a pivot report
will automatically produce a new worksheet complete with all supporting detail
that comprises the summary number.

There are a multitude of PivotTable options that
can be applied to alter the appearance or behavior of your Pivot table.

Key Points Concerning Pivot Tables are as
Follows:

a.      
You can create as many Pivot Reports as you want
from your initial raw data page. Your raw data remains unchanged as new
Pivot tables are created.

b.     
As your raw data changes, your pivot tables are
updated each time you press the refresh button. Or if you prefer you can set
your PivotTables to update themselves at regularly scheduled intervals � say
every ten minutes.

c.      
A key to understanding PivotTables is
understanding the relationship between the Blank Pivot palette and the
PivotTable Field list. As data is selected in the list, it appears on the
Pivot table Report.

d.     
You can alter the PivotTable simple by dragging
and dropping the field names in different locations on the Pivot palette, or
in different locations in the PivotTable Field list Box.

e.     
 PivotTables can be pivoted.

f.       
PivotTables can be sorted by any Column. (Or by
any row when sorting left to right)

g.      
PivotTables can be Filtered.

h.     
PivotTables can be Drilled.

i.        
PivotTables can be copied and pasted.

j.       
PivotTables can be formatted using PivotTable
Styles, as shown below.

k.      
Subtotals and grand totals can be displayed or
suppressed at the users desire.

l.        
PivotTable Data can be shown as numbers or
percentages at the users desire.

m.   
PivotTable can not only be summed, it can be
averaged, minimized, maximized, counted, etc.

n.     
Blank rows can be displayed or suppressed at the
users desire.

o.     
A new feature called �Compact Form� organized
multiple column labels into a neatly organized outline which is easier to
read.

p.     
PivotTables can query data directly from any
ODBC compliant database. The PivotTable tool for accomplishing this task is
not included in the ribbon � you will find it by Customizing the Quick
Access Tool Bar and searching the �Commands Not Shown in the Ribbon� tab to
find the PivotTable and PivotChart Wizard Option.

q.     
Many accounting systems can push data out of the
accounting system into an Excel PivotTable format � this is commonly
referred to as an OLAP Data Cube. OLAP data Cube is just a fancy word for
PivotTable � and there is no difference.

r.       
PivotTables can automatically combine data from
multiple data sources. The PivotTable tool for accomplishing this task is
not included in the ribbon � you will find it by Customizing the Quick
Access Tool Bar and searching the �Commands Not Shown in the Ribbon
tab to find the PivotTable and PivotChart Wizard Option.

s.      
Excel also provides a PivotChart function which
works similarly to PivotTables. Presented below is an example PivotChart.

Excel 2003 PivotTables work very similarly as
shown below. Excel creates a blank PivotTable, and the user must drag and drop
the various fields from the PivotTable Field List onto the appropriate column,
row, or data section. As you drag and drop these items, the resulting report is
displayed on the fly. Here is the blank Pivot Palette view.

Now drag and drop field
names from the Pivot Table field list onto the Pivot pallet. This action will
automatically create Pivot Table reports � and they will change each time you
drop additional field names, or move field names around. Presented below are but
a few examples of hundreds of possible reports that could be viewed with this
data through the PivotTable format.

This report shown above shows the total resulting
sales for each marketing campaign for each of the 4 months marketing campaigns
were conducted.

In this screen we see the same information is
shown as a percentage of the total. A few observations include the fact that
overall Radio Spots are the most profitable type of campaign, but only in April
and July. In January and October, local ads and direct mail, respectively,
produce better results. Further, April campaigns had the best response overall.

Further analysis in the screen above tells us that
our results vary widely from one city to the next. In New York, coupons were
least effective, but coupons were most effective in Columbus. Pivot charts based
on PivotTable data can be modified by pivoting and/or narrowing the data.  They
can also be published on the Internet (or on an Intranet) as interactive Web
pages.  This allows users to �play� with the data. The chart below provides a
visual look at the data shown above.


Filtering Pivot Tables

If you take a close look at your
resulting pivot tables, you will notice that Excel automatically inserts a
filter button on each field list as shown by the drop down arrows in the screen
below:

This drop down filter list makes it easy to refine
your report to include just the data you want.


Drilling Pivot Tables

Another nice feature in pivot
tables is that they are automatically drillable. Simply double click on any
number in a pivot report top have Excel automatically insert a new sheet and
produce the detailed report underlying the number you clicked on. An example of
this is shown below:


Pivot Table Options

By right mouse clicking on your pivot table you will reveal several option
settings boxes as shown below. For example, these options boxes control the
types of subtotals produced in your pivot reports. Excel also offers a pivot
table options box as well as a layout wizard that makes producing pivot tables a
little easier.


Data Table


(�What-if Analysis�)

Data tables are part of a suite of commands that
are called what-if analysis tools. When you use data tables, you are doing
�what-if analysis�. What-if analysis is the process of changing the values in
cells to see how those changes will affect the outcome of formulas on the
worksheet. For example, you can use a data table to vary the interest rate and
term length that are used in a loan to determine possible monthly payment
amounts.

Three categories of What-if Analysis Tools
— There are three kinds of what-if analysis tools in Excel:

1.     
Data Tables

2.     
Goal Seek

3.     
Scenarios

A data table cannot accommodate more than two
variables. If you want to analyze more than two variables, you should instead
use scenarios. Although it is limited to only one or two variables (one for the
row input cell and one for the column input cell), a data table can include as
many different variable values as you want. A scenario can have a maximum of 32
different values, but you can create as many scenarios as you want.



Loan Analysis —


In this exercise, we start by creating a simple Payment function to calculate
the payment amount of a loan given a loan amount, interest rate and number of
periods.

The next step is to create a �Two-Way Data Table�
displaying the resulting payment amount given a variety of lengths of the loan.
This process is started by creating a list of the alternative loan amounts, as
shown below in B8, B9, B10, etc. Cell C7 must reference the results you want to
be displayed in the table.

The next step is to highlight the data table range
and use the Data Table command under the Data menu (as shown below) to generate
the desired table.

This process will generate the following table:

This table tells us that the same loan amount will
require a monthly payment of $3,331 to pay the loan off in just 10 years, and a
monthly payment of $5,800 to repay the loan in just 5 years.

The next step in this exercise is to generate a
line chart based on the data table we just created. This line chart will provide
some interesting observations regarding the benefits and detriments of paying
off loans over longer periods.

The resulting chart is shown as follows:

Based on this, no one should ever obtain a fair
market loan for more than 15 years, the reduction in payments simply aren�t
worth the additional length of the loan. This same basic behavior is seen
whether the interest rate is 1% or 100%. The only time you might be justified in
obtaining a loan loner than 15 years might be when you are extended a favorable
interest � this better than a fair market interest rate.

Goal Seek

If you know the result that you want from a
formula, but are not sure what input value the formula needs to get that result,
use the Goal Seek feature. For example, suppose that you need to borrow some
money. You know how much money you want, how long you want to take 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 will need to secure in order to meet your
loan goal. Goal Seek works only with one variable input value. If you want to
accept more than one input value; for example, both the loan amount and the
monthly payment amount for a loan, you use the Solver add-in discussed at the
end of this manual.

Scenarios

Scenario Manager allows you to create and save
multiple �what if� scenarios (such as best case, most likely, and worst cases
scenarios). You can also create a summary table of the scenario results in
seconds.  It is particularly useful for worksheets such as budgets in which
users have often saved multiple copies of the same worksheet to accomplish the
same objective. An example is shown below. In this example, a tire company has
prepared a revenue budget for the coming year, and has created three alternative
scenarios to generate the revenues that will result given a variety of mark up
assumptions � in this case 100%, 110% and 120% markups.

Pressing the summary button in the scenario
manager dialog box will create the following Pivot Table of possible alternative
results. Here we see detailed revenue projections for all tires and labor fees
given all three possible scenarios of 100%, 110%, and 120% markup.

With a few simple copy paste commands, the newly
created data can be positioned and formatted next to the original projections as
shown in the screen below.

Of course the scenarios above could have been
created easily using simple formulas instead of using the scenario manager tool
as described above. This underscores that best purpose of scenario manager which
is to keep track of older and changing data through time, rather than producing
what-if scenarios. For example, a complex projection containing scenarios based
on original assumptions, revised assumptions, and final assumptions will allow
management to go back and review the assumptions used throughout the project,
and see how those assumptions changed as project planning progressed.


Data — Text to Columns

As discussed earlier in this manual, often CPAs
receive data from their clients or IT departments that is in text form. When
this happens, Excel can split the contents of one or more cells in a column and
distribute those contents as individual parts across other cells in adjacent
columns. For example, the worksheet below contains a column of full names and
amounts that you want to split into separate columns. The Text to Columns Wizard
parses the data automatically into separate

Select the cell, range (range: Two or more cells
on a sheet. The cells in a range can be adjacent or nonadjacent.), or entire
column that contains the text values that you want to split. Note   A range that
you want to split can include any number of rows, but it can include no more
than one column. You also should keep enough blank columns to the right of the
selected column to prevent existing data in adjacent


Data Consolidate

Excel can combine, summarize, and report
consolidated results from separate worksheets. The underlying worksheets can be
in the same workbook or in other separate workbooks. There are two different
sitautions as follows:

1.      
You Are Consolidating Similar Data � Such as
departmental budgets where every worksheet contains the exact same labels in the
exact same cells. In this case, you can write a �Spearing Formula� which can
consolidate the necessary information easily.

2.      
You Are Consolidating Dis-Similar Data � The
various worksheets contain different row and column descriptions located in
different locations on the worksheets. In this case you should use the Data
Consolidate command.

For example, assume that you have received budgets
from multiple departments, and you want to combine them together. In this case,
Excel will do the work for you. You can use a consolidation to roll up these
figures into a corporate budget worksheet, as shown below.


 



Data Grouping & Outlining


 

If you have a list of data that you want to group
and summarize, you can create an outline of up to eight levels, one for each
group. Each inner level, represented by a higher number in the outline symbols
displays detail data for the preceding outer level, represented by a lower
number in the outline symbols. Use an outline to quickly display summary rows or
columns, or to reveal the detail data for each group. You can create an outline
of rows (as shown in the example below), an outline of columns, or an outline of
both rows and columns.

Web Queries

Excel includes pre-designed �queries� that can
import commonly used data in 10 seconds. For example, you could use a web query
to create a stock portfolio. All you need is a connection to the Internet and of
course, some stock ticker symbols. In Excel 2003 select �Data, Import External
Data, Import Data� and walk through the web query wizard for importing stock
quotes. In Excel 2007 and later use the Data Ribbon, Existing Connections, Stock
Quotes option. In seconds, Excel will retrieve 20 minute delayed stock prices
from the web (during the hours when the stock market is open) and display a grid
of complete up-to-date stick price information that is synchronized to the stock
market�s changing stock prices. With each click of the �Refresh� button, the
stock price information in Excel is updated  — this sure beats picking numbers
out of the newspaper.

Completing the Stock
Portfolio

Next link the grid data to another worksheet,
and insert new columns containing the number of shares owned, as wells as an
additional column to computer the total value based on shares owned, as shown
below.

Refreshing the Stock Prices Once you have
created your portfolio, simply click the Refresh Data button on the �External
Data� Toolbar in Excel 2003 or on the �Data Ribbon� in Excel 2007 shown below to
update the current value of your Portfolio.

     

Query Parameters
There are numerous options to help
you extract exactly the data you want they way you want it. The �Web Query
Parameters Box�, �Web Query Options box� and �External Data Properties Box�
provide numerous options for controlling your web query.

Database Queries

 


Microsoft Excel can also query and retrieve data you want from an external data
source. For example, you can retrieve Microsoft Excel data about a specific
product by region. You can create a simple query by using the Query Wizard, or
you can create a more complex query by using the advanced features of Microsoft
Query.

To use Microsoft Query to retrieve external data,
you must:

1.     
Have access to an external data
source —
If the data is not on your local computer, you may need to see the
administrator of the external database for a password, user permission, or other
information about how to connect to the database.

2.     
Install Microsoft Query — If
Microsoft Query is not available, you might need to install it.

3.     
Specify a source to retrieve data
from, and then start using Microsoft Query
—   For example, if you want to
insert database information, display the Database toolbar, click Insert
Database, click Get Data, and then click MS Query.

For example, suppose we have some data in our
accounting system � Sage MAS 200 ERP that we would like to analyze in Excel.  We
can use the Database Query Wizard to build a query that will extract the data we
need and place it in an Excel spreadsheet.

The first step is to select the type of database
you want to query and to select the specific database.

Upon the selection of the desired database a list
of tables will be presented. Choose the desired tables, and select the desired
data fields to be imported. You will then have the option to filter and sort the
data before it is imported.  Finally you will be given the option to save the
query so that you can run it at a later date without having to start from
scratch. Excel will then return a table full of the data you requested as shown
in the screen below.



 

Microsoft Excel is one of the top in-demand skills on the market. Whether you’re starting to learn Excel or already an expert, having a cheat sheet in your pocket can help. An Excel cheat sheet gives you a brief overview of the functions, commands, formulas, and shortcuts in Excel—so you can focus on your work.

Let’s start with some of the basic terminology used in Excel so you can thrive in countless industries, including data analytics and finance. We will also cover the anatomy of a spreadsheet, relevant courses, and important functions. Need to buy a copy? You can get Excel from Microsoft.

Download Excel Cheat Sheet PDF

Click here to download our free Excel Cheat Sheet PDF.

Basic Terminology

Review your basic vocabulary before looking at functions and commands to fully understand how Excel formats its data.

Active Cell The currently active cell in the worksheet
Cell An individual box in the worksheet that can contain data, text, or a formula
Column A vertical group of cells in the worksheet. Columns are identified by letters (A, B, C, etc.)
Formula A set of instructions that performs calculations on values in the worksheet
Function A predefined formula is used to perform standard calculations, such as summing a range of values
Row A horizontal group of cells in the worksheet. Rows are identified by numbers (1, 2, 3, etc.)
Worksheet Also known as a spreadsheet; the grid of columns and rows that you can enter in Excel

The Anatomy of an Excel Sheet

The major definitions of an Excel sheet.

Excel Data Types

As a spreadsheet program, Excel focuses on storing data. Here are the data types that Excel frequently stores.

Text Also called labels, text values identify data in a worksheet or store things like names and descriptions. Example: Hello, World!
Numbers Numbers are used for calculations and can be formatted as currency, percentages, decimals, etc. Example: 1.12
Dates/Times Dates and times track and calculate data over time. Example: 2022-02-02
Logical Values Logical values are either true or false. Example: TRUE, FALSE
Arrays Array formulas perform calculations on a range of cells simultaneously. Example: SUM(A1:A4)

Want To Master Excel? Take This Course.
code academy excel course

Common Excel Functions

In Excel, a function is simply a preset formula or algorithm. They help parse information and display it for a variety of uses. Here are some of the most common Excel formulas in our Excel functions list cheat sheet.

SUM Adds the values of a range of cells Example: SUM(A1:A4)
SUMIFS Sums values that meet specific criteria. Example: SUMIFS(A1:A4,B1:B4,E1)
AVERAGE Calculates the average values in a range of cells Example: AVERAGE(A1:A4)
COUNT Counts the number of cells in a range that contains numbers Example: COUNT(A1:A4)
MIN Finds the smallest value in a range of cells Example: MIN(A1:A4)
MAX Finds the largest value in a range of cells Example: MAX(A1:A4)
TRIM Removes all white space from the front and back of a cell. Example: TRIM(A1)
IF Checks whether a condition is met and returns one value if true and another if false Example: IF(A1=‘Yes’, True, False)
CONCATENATE Combines the values of multiple cells into a single cell. Example: CONCATENATE(A1, B1)
VALUE Convert numbers that have been stored in text to integers. Example: VALUE(B1)
MIN Finds the minimum value of a set. Example: MIN(A1:O1)
MAX Finds the maximum value of a set. Example: MAX(A1:O1)
PROPER Formats text with the correct capitalization; useful when importing data from other sources. Example: PROPER(A1)
CEILING Round a number up to the first number of significance, e.g. 39.1 to either 39 or 40. Example: CEILING(A1,4)
FLOOR Round a number down to the first number of significance, e.g. 39.12 to either 39.1 or 39. Example: FLOOR(A1,4)
LEN Return the number of characters in a string, useful for data validation. Example: LEN(A1)
NOW Get the current date and time. Note that it will return the time of the system you’re on. Example: NOW()
TODAY Similar to now, but this just gives the date, rather than the date and time. You can also use DAY(), MONTH(), and YEAR(). Example: TODAY()

Advanced Excel Functions Cheat Sheet

These advanced Excel functions can be a little more difficult to use—but they’re sophisticated methods of processing and analyzing data.

VLOOKUP Looks up a value in the leftmost column of a table and returns a corresponding value from another column Example: VLOOKUP(“Text”,A1:C4,2,FALSE)
INDEX Performs a lookup based on a row and column number instead of a lookup value Example: INDEX(A1:A4,1,1)
HLOOKUP Looks up a value in the top row of a table and returns a corresponding value from another row in the table Example: HLOOKUP(“Text”, A1:C4, 2)

Excel Shortcuts

Shortcuts are a great way to increase productivity. Once shortcuts become a habit, you’ll find even simpler tasks faster. Here are some of the most common keyboard shortcuts to help you work faster in Excel.

F2 Edit the active cell.
F5 Go to a specific cell in the worksheet.
CTRL + Arrow Move to the edge of the worksheet’s data.
Shift + F11 Insert a new sheet.
Alt + = Sum the cells.
Ctrl + Shift + “+” Insert a new row/column.
Ctrl + “-” Delete a row/column.
Ctrl + “*” Select all cells with formulas.
Ctrl + ‘ Copy the value from above a cell.
Alt + Enter Insert a line break in a cell.

Excel Commands

In addition to shortcuts, Excel has many built-in commands that can be accessed using shortcut keys or the ribbon. Here are some of the most common.

Paste Special Opens the Paste Special dialog box, which allows you to choose how to paste data from the clipboard
Format Painter Copies formatting from one cell and applies it to another cell or range of cells
Fill Handle Allows you to quickly fill a range of cells with data that follows a pattern
AutoSum Automatically calculates the sum of a range of selected cells
Sparklines Creates small, graphical representations of data in a single cell

Excel Graphs

Not everything is readable in a series of columns and rows. When you need something human-readable, you need a graph. Excel offers several ways to create graphs and charts. Here are some of the most common.

Column Charts Used to compare data points side-by-side.
Bar Charts Used to compare data points side-by-side.
Line Charts Used to show trends over time.
Pie Charts Used to show percentages or proportions.
Scatter Plots Used to show relationships between data points.

Examples of Excel charts and graphs.

Tips and Tricks

Finally, here are a few tips and tricks to help you work faster in Excel.

  1. Learn how to use keyboard shortcuts. Keyboard shortcuts can save you a lot of time working in Excel. Pressing CTRL+C will copy the selected cells, while CTRL+V will paste them.
  2. Use the AutoFill feature when filling in similar values. The AutoFill feature in Excel is handy for filling in a data series. If you have a list of months, you can use AutoFill to fill in the days of the month automatically.
  3. Use conditional formatting to increase the readability of your sheet. Conditional formatting allows you to highlight cells that meet specific criteria. You could use conditional formatting to highlight all cells that contain a value greater than 10.
  4. Use data validation to ensure your sheet includes the right data types. You could use data validation to ensure cells only contain numbers—or only dates.
  5. Memorize the most common and useful formulas. Formulas are one of the most powerful features in Excel, but they can take some time to learn.
  6. Consider using macros. Macros are small programs that you can create to automate tasks in Excel. You could create a macro that automatically inserts the current date when you open a workbook or a macro that automatically saves and closes your files.
  7. Get comfortable with pivot tables. Pivot tables are a great way to summarize large amounts of data and sort it.
  8. Don’t be afraid of filters. Filters let you view only the data that you want to see. For example, you could use a filter only to view the data for a specific month.

Conclusion

A basic Excel cheat sheet or Excel commands cheat sheet can only do so much. It offers a quick alternative to building everything from scratch, and it helps users get started quickly. However, all spreadsheet users should learn the basics of Excel. Once you understand the capabilities, you should be able to look up things you need to know in the above Excel cheat sheet.

Frequently Asked Questions

1. How Do You Use the Cheat Sheet in Excel?

Use the above Excel function cheat sheet whenever you need to do something specific in Excel. You can review Excel cheat sheet formulas to refresh your memory or use CTRL+F to find a specific area of the Excel formula cheat sheet.

2. What are the 5 Functions in Excel?

Here’s a quick list of five basic Excel functions:

  • VLookup Formula
  • Text to Columns
  • Duplicate Removal
  • Pivot Tables
  • Concatenate Formula

3. What is the Fastest Way to Learn Excel Formulas?

Most formulas that you would need will pop up when you start typing in Excel. As long as you know what formulas are available in Excel, you should be able to look them up on this sheet.

4. What are the 7 Basic Excel Formulas?

The seven basic Excel formulas are SUM, AVERAGE, MIN, MAX, COUNT, COUNTA, and VLOOKUP. These are just a few of the many formulas available in Excel.

5. Where do you get Excel?

You can buy a copy of Excel from Microsoft as a stand-alone piece of software or get it as part of the Microsoft 365 suite of products. While Google offers a free alternative with their powerful sheets service, the original software has additional features professionals use every day.

People are also reading:

  • MySQL Create Database
  • Linux Cheat Sheet
  • GIT Cheat Sheet
  • CSS Cheat Sheet
  • PHP Cheat Sheet
  • HTML Cheat Sheet
  • SQL Cheat Sheet
  • Java Cheat Sheet
  • Bootstrap Cheat Sheet

Понравилась статья? Поделить с друзьями:
  • Data application vnd ms excel
  • Data analysis with microsoft excel
  • Data analysis tool for excel
  • Data analysis for microsoft excel
  • Data analysis excel как включить