How Excel vlookup quickly find table contents

Source: Internet
Author: User
Tags numeric value vlookup function

the VLOOKUP function of Excel is a longitudinal lookup function, which is a function of the lookup function and the HLOOKUP function, which helps us to find the numeric value by column, and ultimately returns the values for the query sequence that the column needs, and HLOOKUP is looked up by the column.

To give a chestnut, different customers recently bought a lot of goods, need to tidy up, but how quickly can one of the items purchased by a person list for easy inquiry?

For example, in the table below, we enter the function =vlookup (e3,a:b,2,0) on the E3 cell, only to extract the first item John Purchase.

At this time if you want to extract three of other items purchased, and the results will automatically follow the changes and changes, how to achieve?

In fact, the use of VLOOKUP column query function, you can easily achieve. First, in the current table in Excel, insert a column to the left, casually name, such as auxiliary, then in A2 cell Enter Formula =b2&countif (B$2:B2,B2), then click A2 Cell and drag Drop-down, cover the entire list of lists, This would be equivalent to adding a serial number to all customer names to facilitate subsequent inquiries.

Next, in the F4 cell, enter the formula =iferror (VLOOKUP (F$3&row (A1), a:c,3,0), ""), and click the cell drop-down copy.

In this way, all the items purchased by John will be automatically listed here. What, is it easy? Hlookup and VLOOKUP also have similar effect Oh, this needs you to extrapolate!

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.