Methods of data reference in Excel

Source: Internet
Author: User
Tags numeric sumif function vlookup function

methods of data reference in Excel

The first step is to see if the target name is duplicated, without duplicate names in the data that needs to be referenced, you can use the VLOOKUP function, have duplicate names, and you can use the SUMIF function. As shown in the following illustration:

vlookup= (name A, data range A, column A of data, 0 or 1, the meaning of the function is expressed in "data range a" will and "name a" corresponding to the "column A data" reference, the last 0 for accurate reference, 1 for fuzzy Reference, the basic default is 0;

Note: When the number of series, must be from the data range of the first column, the number of the column name a must be the first column.

If you need to refer to more columns of data, you can add 123 outside the table yourself, so that you don't have to count the numbers every time you reference the data.

After you enter a formula, you can refer the data in the table on the left to the table on the right, as shown in the figure;

Note: The VLOOKUP function does not apply to the case where the same name a corresponds to two numeric values, in which case the system defaults to the first value and does not reference the second value.

When "name a" corresponds to 2 numeric values, there are two ways to do this, one is to use the SUMIF function to add 2 values to the penalty operation, and reference 2 numeric values. Another method is to modify the name of name a, and then use VLOOKUP to refer to it.

sumif= (corresponding to the name range, name a, data range), the function meaning is to sum the corresponding value in the data range with the same name as "name a" in the corresponding name range.

Summary: vlookup function, just a simple reference value. The SUMIF function can also be additive based on the reference.

However: SUMIF function, the main role in the addition operation, if the reference data is not a number, but words, then the SUMIF function is not available, and VLOOKUP functions, whether text or numbers can be referenced.

Compare the following figure

Attention matters

The VLOOKUP function and the SUMIF function, regardless of the function, must ensure that name A is exactly the same name as the data that needs to be referenced, otherwise the data cannot be referenced.

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.