Program code garden posting address: Skills of using vlookup function in Excel-Program code garden novels, Java, HTML, Java Gadgets, Program code garden, http://www.byqws.com/ , Skills of using vlookup function in Excel http ://www.byqws.com/blog/1062.html
Problem Description:
At work, I receive store sales (POS) data from the supermarket. When doing data analysis, there is no brand, category and other information, so it is difficult to do analysis. It is time-consuming and labor-intensive to copy and paste the corresponding brand, category and other information for each barcode. Also low error prone.
Solution:
The vlookup function is often used in work, and its function is also very powerful. The following describes how to use the vlookup function.
Step 1: Prepare data, "store POS data" form, "commodity basic information" form
Step 2: The "store POS data" table and the "commodity basic information" table must have common columns, such as "item number" and "barcode" columns
Step 3: Insert "Brand" and "Category" into the "Store POS Data" table at the end. Select "Formula" -> "Insert Function" in the menu bar.
Step 4: In the pop-up window, select the tab "All Functions", enter the function name "vlookup" in "Find Function(s)", and click "OK".
Step 5: Enter 4 parameters in the pop-up window,
Parameter 1: search value, and the cell where the common column "article number" is located;
Parameter 2: data table, search range, from the common column "barcode" to the return value "brand" column in the "commodity basic data" table;
Parameter 3: column serial number, which column the return value "brand" is in the previous parameter range;
Parameter 4: Matching condition, here is "exact match", input 0;
After setting the 4 parameters, click OK to get the brand data corresponding to the barcode.
Note: You can also directly enter the function formula and fill in the relevant 4 parameters directly.
Step 6: Put the mouse on the lower right corner of the cell to make a "+" shape, double-click the cell, and apply the formula to the entire column to get the final data.
Program code garden posting address: Skills of using vlookup function in Excel-Program code garden novels, Java, HTML, Java Gadgets, Program code garden, http://www.byqws.com/ , Skills of using vlookup function in Excel http ://www.byqws.com/blog/1062.html