Excel函数-vlookup(),if(),isna()

1. vlookup (): useful for matching various

Here Insert Picture Description

1.1 Variable Explanation

  • lookup_value: data (general is a data) you need to match [the following example: A2: A7]
  • table_array: you need to match in which columns of data inside, you can use across files under ** [Example: E: G **]
  • col_index_num is: you need to match and display of columns in table_array data under Example [**: ** 3]
  • [range_lookup]: True: Fuzzy query; FALSE: precise queries. General inquiries with accurate bar. The following example [: 0]

Example 1.2

  • Problem Description :
  1. Now we have a table as shown below:

  1. We need the right in three (EFG), Find A column names corresponding telephone number and fill in the C column.
  • Official :
  1. First, in the cell C2 enter the formula ** vlookup (A2: A7, E: G, 3,0) ** then return, at the time of pulling down the cell bottom right Crosses:

  1. Thus, G of the column matched to the contact position C corresponding column.

1.3 Extended
  • From the above chart we can see that the cell C7 appear ** # N / A **, explained in this match we did not find Zhu eight Contacts
  • We have to get this ugly ** # N / A ** appears as a space how to do it? See below:

2. ISNA () function with the if () function:

  • Simple and crude, direct to the formula:

  • After a carriage return, he disappeared.
  • Explain if ()
  1. logical_test : You have to judge the logical value
  2. [the value_if_true] : If you want to judge the logical value true, it displays a
  3. [the value_if_false] : If you want to judge the logical value is false, it displays a
  • Explain ISNA () :
  1. This value is determined not empty i.e., is not ** # N / A **

Series value is false, it displays a

  • Explain ISNA () :
  1. This value is determined not empty i.e., is not ** # N / A **
Published 16 original articles · won praise 2 · Views 1283

Guess you like

Origin blog.csdn.net/yx185/article/details/96020250