Encountered a problem: Exporting from the database two tables, two tables related content, how to merge excel directly into a table;
my system: mac
excel versions: excel 2016
using the function: excel vlookup function;
the specific operation:
the actual production data more columns, the situation is complicated. I'll just give a simple example, to facilitate later retrieval method can be.
- Design two tables
Table 1:
Table 2: - The Table 1: "Number" in Table 2 were combined to
insert a column where you want to insert;
input function = vlookup function.
Tip a first value, need to match the selected column;
second value: matching range, select the data of Table 1, the selected data must contain the same column, where we have selected two.
Third values: Table 1 matched to the first columns of data, a digital to fill several; for example we select a two-column table 1, it is necessary to generate the first two figures, filling 2;
Fourth values: 0/1 search mode, pinpoint represents 0, 1 represents a fuzzy search
content filled out function, i.e. the transport generates a first value.
- After generating table:
Other commonly used excel functions:
Second, how to count the number of characters in excel occur =COUNTIF(A:A,"某字符")
such as in a blank space, type: = COUNTIF (C: C, " Zhang 1")
This is the exact match for the character.
excel with too little, used functional down, after the check up easily.