Excel2016 How to use 6 large formula query

Source: Internet
Author: User

First we assume that there is such a sales form, which records the book data of readers all over the country.

This example enters the following query formula in cell F3 (red cells):

=lookup (2,1/(A2:A18=F2)/(C2:C18=F4), (B2:B18))

It does this by entering the address in cell F2 and entering a number in the F4 cell to find out which books are sold in the area. Lookup here is one of the query functions of Excel. Of course, you can modify this formula to suit your needs according to your own needs.

For example, there is a form that records some information about the employees of the company. In this example, in cell D10, the lookup function is still used to query with the following formula:

=lookup (1,1/(A2:A7=C10), C2:C7)

The role of the company, according to the user input conditions to compare, get the desired results. This example is based on the user entered the name criteria to inquire about the qualifications of the employee.

Of course, the query in Excel is not only lookup, but also multiple functions and their combination (the arguments in brackets can be omitted). For specific use of these functions, you can refer to the Help documentation for Excel. In Excel 2016, you can click on "Tell me what I want to do", and then enter the name of the function you want to know, such as VLOOKUP, click Get help, you can get the explanation, and even the relevant video teaching tutorials.

Formula 1:vlookup

Format: =vlookup (Lookup_value,table_array,col_index_num,[range_lookup])

Formula 2:dget

Format: =dget (Database,field,criteria)

Formula 3:offset+match

Format: =offset (Reference,match (lookup_value,lookup_array,[match_type],cols,[height],[width))

Formula 4:index+match

Format: =index (Array,match (Lookup_value,lookup_array,[match_type],[column_num))

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.