search
HomeTopicsexcelWhat are the excel functions?

What are the excel functions?

1. Mathematical functions

1. Take the absolute value function: abs (target number). For example: abs(5)=5; abs(-5)=5.

2. Rounding function: round (target number, how many decimal places to keep). For example: round(5.3347,3)=5.335.

3. Rounding function: int (target number). The int() function does not round but directly deletes the decimal part. For example int(5.78)=5.

4. Remainder function: mod (divisor, divisor). For example: mod(7,3)=1.

5. Find the power function: power (base, exponent). For example: power(10,2)=100.

6. Find the random number function: rand(). This function can generate random numbers greater than or equal to 0 and less than 1.

7. Find the random number function: randbetween(min,max). This function can generate random integers greater than or equal to mix and less than or equal to max.

8. Sum function: sum (area), there is no limit to the number of parameters of the sum function. You can use the mouse to select continuous areas, and you can hold down the ctrl key to select discontinuous areas.

9. Average function: average (area), the usage is the same as the sum() function.

2. Counting functions

1.count(area): Calculate the number of numbers in the area, both text and empty cells Not calculated.

2.counta (area): Count the number of non-empty cells in the area, regardless of format.

3.countblank(area): Count the number of empty cells in a certain area.

4.countif (area, condition) function: Calculate the number of areas that meet a certain condition. The condition must be quoted in English double quotes. If it is a number, it does not need to be used. The condition can also directly quote a cell.

5. Multi-condition counting function: countifs (area 1, condition 1, area 2, condition 2...).

3. Conditional summation function

1. Conditional summation function: sumif (conditional area, condition, summation area). This function can find the area sum of a certain condition.

2. Multi-condition summation function: sumifs (summation area, condition 1 area, condition 1, condition 2 area, condition 2...). This function can find the area sum of multiple conditions.

Related recommendations: "excel basic tutorial"

4. Extreme value ranking functions

1. Find the maximum function: max(area). The maximum value of a certain area can be found.

2. Find the minimum value function: min (area). The minimum value of a certain area can be found.

3. Find the nth maximum value function: large (area, n). The nth maximum value in a certain area can be found.

4. Find the nth minimum value function: small (area, n). The nth minimum value in a certain area can be found.

5. Sorting function: rank (find sorting value, area, order). You can rank a certain area value. The order is 0 or omitted, which means the area is sorted in descending order; if it is not 0, it means it is sorted in ascending order.

5. Text functions

1. Left and right functions: left (text, character n) and right (text, character n). The meaning of these two functions is to intercept n characters on the left and right sides of the text.

2. Interception function: mid (text, starting position k, number of words n). The meaning of this function is to intercept n characters starting from the k-th character of the text.

3. Text query function: find (text 1, text 2, search starting from the nth position). The meaning of this function is to find the character of text 1 when it appears in article 2.

4. I will expand two text functions for you. One is the len() function. len(cell) is used to calculate the length of characters in a certain cell; the second is the text() function. You can convert the contents of cells into the format you want.

6. Query functions

1.match (query value, area, query type): This function can query a certain text in a specific area specific location. The query type is generally 0, which means precise search.

2.index (area, row, column): This function means to return the specified position of the area.

3.vlookup (search target, search range, number of columns of return value, query type). The last parameter query type is generally 0, which means precise search. This function is the most useful function in work, and everyone must learn it.

When the formula is filled downwards, the search range must be referenced absolutely, otherwise the area will change. The vlookup function is very powerful and can be used when the two tables are not in the same excel table. The combined nested use of match() and index() functions can also realize the function of vlookup() function.

4.row(): Returns the number of rows of the current cell

5.column(): Returns the number of columns of the current cell

6. Give you some expansions There are query functions lookup(), hlookup(), and offset(). Interested students can consult relevant information to learn.

7. Date and time functions

1.today(): Get the current date without any parameters.

2.now(): Get the current date and time, without any parameters.

3.year(date): Extract the year of the given date.

4.month(date): Extract the month of the given date.

5.day(date): Extract the day of the given date.

6.hour(time): Extract the number of hours of a given time.

7.minute(time): Extract the minutes of the given time.

8.second(time): Extract the number of seconds of the given time.

9.weeknum(date): Get the week number of this year for a given date.

10.weekday(date): Get the day of the week for a given date.

11.datedif (date 1, date 2, format): This function represents the date difference between date 1 and date 2. The format can be: "y" represents the year; "m" represents the month; " d" represents the day, date 1 is the start time, and date 2 is the end time.

8. Judgment functions

1.if (condition, result 1, result 2) function: if the condition is judged to be true, return result 1; if the condition is judged to be false , return result 2.

2. Nested use of if() function: This function can often be used nested within itself.

3.if error(parameter 1, parameter 2) function: If parameter 1 is an error, it returns parameter 2; if parameter 1 has no error, it returns the normal result of parameter 1.

The above is the detailed content of What are the excel functions?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
MEDIAN formula in Excel - practical examplesMEDIAN formula in Excel - practical examplesApr 11, 2025 pm 12:08 PM

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

Google Spreadsheet COUNTIF function with formula examplesGoogle Spreadsheet COUNTIF function with formula examplesApr 11, 2025 pm 12:03 PM

Master Google Sheets COUNTIF: A Comprehensive Guide This guide explores the versatile COUNTIF function in Google Sheets, demonstrating its applications beyond simple cell counting. We'll cover various scenarios, from exact and partial matches to han

Excel shared workbook: How to share Excel file for multiple usersExcel shared workbook: How to share Excel file for multiple usersApr 11, 2025 am 11:58 AM

This tutorial provides a comprehensive guide to sharing Excel workbooks, covering various methods, access control, and conflict resolution. Modern Excel versions (2010, 2013, 2016, and later) simplify collaborative editing, eliminating the need to m

How to convert Excel to JPG - save .xls or .xlsx as image fileHow to convert Excel to JPG - save .xls or .xlsx as image fileApr 11, 2025 am 11:31 AM

This tutorial explores various methods for converting .xls files to .jpg images, encompassing both built-in Windows tools and free online converters. Need to create a presentation, share spreadsheet data securely, or design a document? Converting yo

Excel names and named ranges: how to define and use in formulasExcel names and named ranges: how to define and use in formulasApr 11, 2025 am 11:13 AM

This tutorial clarifies the function of Excel names and demonstrates how to define names for cells, ranges, constants, or formulas. It also covers editing, filtering, and deleting defined names. Excel names, while incredibly useful, are often overlo

Standard deviation Excel: functions and formula examplesStandard deviation Excel: functions and formula examplesApr 11, 2025 am 11:01 AM

This tutorial clarifies the distinction between standard deviation and standard error of the mean, guiding you on the optimal Excel functions for standard deviation calculations. In descriptive statistics, the mean and standard deviation are intrinsi

Square root in Excel: SQRT function and other waysSquare root in Excel: SQRT function and other waysApr 11, 2025 am 10:34 AM

This Excel tutorial demonstrates how to calculate square roots and nth roots. Finding the square root is a common mathematical operation, and Excel offers several methods. Methods for Calculating Square Roots in Excel: Using the SQRT Function: The

Google Sheets basics: Learn how to work with Google SpreadsheetsGoogle Sheets basics: Learn how to work with Google SpreadsheetsApr 11, 2025 am 10:23 AM

Unlock the Power of Google Sheets: A Beginner's Guide This tutorial introduces the fundamentals of Google Sheets, a powerful and versatile alternative to MS Excel. Learn how to effortlessly manage spreadsheets, leverage key features, and collaborate

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use