Excel should play --3 so named table: reinvent the formula

Previous introduced by naming formula column address references removed, so that the formula easier to understand. But before naming only for a single column of the table, how to reference other columns of the table are Benpian main content.
1, create a table named
Create a table named form the premise of this operation one has been introduced, a cell selected data area, press Ctrl + T to. This part to product sales, for example, create the product table, as follows:
And then navigate to the menu of the formula -> Name Manager:
In the pop Name Manager dialog box, select the table you just created corresponding entry, click on the Edit button at the top:
Modify the form name:
Edit Name dialog box, you can see a table of references to the C5 position A2 from the area. If you insert new rows or columns of data, a reference position is automatically expanded. Of course, when deleting rows or columns referenced position will be reduced. Below, in the right of the table will have a blue marker to identify the effective range of the table.
If for some reason does not cover all forms of data (e.g., a blank line, preferably avoid blank lines), you can use the mouse to drag a blue marker to expand the range of the table, as shown below:
2. Create Sales table
Create a table of sales process is omitted (and the product can be in different table Sheet), when asked to enter Item out the name and price, the number of inputs come subtotals. The following table:
3, writing a formula
Find the name of the Item achieve by way of the most common ways are:
Wherein the first parameter is VLOOKUP to find the cell; the second is to find parameter region, referred to by names and column Sheet; third parameter to the value of the column; fourth parameter indicating whether the fuzzy match.
Table and column names naming using a method to modify the formula into the first parameter VLOOKUP named columns, and rename the second parameter tables, formulas immediately become more readily appreciated:
4, optimization formula
There is a number 2 in the formula above, represents finds the first two products in the table. After seeing this formula, first look at the first two product table is what it takes to understand the meaning. If you insert one before the first two, this formula error occurs. How to make the formula easier to understand and avoid errors column after adjustment, the solution or the use of named columns.
Here the number 2 into the COLUMN (product [Name]), this formula means the search "product", "name" column of the table number column. As a result of the name references, even if the column does not happen adjustment error, and easier to understand.
5. Summary
To express the meaning of the preceding three articles is the same, is not easy to understand the numbers you want, change the address reference to refer by name to improve readability formula. Fan art is like a friend about visiting Guangzhou party, you can give him the latitude and longitude, most people killed could not find a place. But he was told in Guangzhou City Address Tianhe Road 383 Pacific Exchange MU Floor, Shop No. 35, so it can find. Remember that formula is posters, and as long as no syntax errors the computer can understand, but logic formula to determine whether you need the right people.
 
Tips
When entering a formula, Excel will list several candidates, if not enter the full formulas, only when a candidate, press the "Tab" key will automatically append the rest of the letters.
When finished entering the name of a formula, press Ctrl + A, function parameters box will pop up, as shown below:
About the last parameter VLOOKUP, here to comment is wrong. When FALSE exact match, fuzzy match to TRUE, need to pay attention when in use.
 

 

 

Reproduced in: https: //www.cnblogs.com/conexpress/p/4023153.html

Guess you like

Origin blog.csdn.net/weixin_34289744/article/details/94202136