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!