vlookup-function one-to-many searchThe following are several ways to use the Vlook-up function to do one-to-many searches:
** 1. Using auxiliary columns and nesting Vlookups (applicable to versions that do not support TEXTJoin)**
1. ** insert auxiliary column and set formula **
- Enter the formula in the auxiliary column (assuming column C):= IFEND (B2 "," VLOOkUP(A2,A3:C8,3,0),B2). The search principle here was, for example, to find the relevant content of cell A2 (such as the marketing department). The data source was staggered downwards (A3:C8), and the result was the third column (which was the auxiliary column). In this way, the employees from the bottom to the top would be added in order.
2. ** Search for a match **
- On the right, use a simple search matching formula: =VLOOkUP(E2,A:C,3,0) to get the result in one go.
** 2. Create a special auxiliary column to achieve a one-to-many search (a more complicated Vlook-up method)**
1. ** Create auxiliary column **
- Add a column in front of column B (set it as column A) and enter the formula in cell A2:=B2&Countifs($B$2:B2,B2). This formula accumulated the data in the auxiliary column and connected the original text, making the auxiliary column data a unique value. For example, if you want to find the second employee in the marketing department, the search value is "Market2"(assuming that the marketing department is the department name in column B).
2. ** Formula optimized for filling **
- In order to make the number change automatically when filling the formula to the right (such as 1 automatically changing to 2, 3, etc.), use the Column(A1) formula to replace the number 1 (because the Column(A1) represents the column in which A1 cell is returned, and A1 is in the first column, so the result is 1), and update the formula to: =VLOOkUP($E2&Column(A1),$A:$C,3,0). At the same time, pay attention to the appropriate fixed reference to the column label (such as E2) and the search range (such as A:C)(such as pressing the F4 key).
3. ** Masked error value **
- You can add a formula of IFEND,= IFEND (VLOOkUP($E2&COLOMMN (A1),$A:$C,3,0),"").
"Choose" was equally exciting. Everyone was welcome to read it!
excel's choose functionIn Excel, the choose function was mainly used to select and return a value from a list of parameters. Its basic form was Choise (Sequence number, what is returned if sequence number is 1, what is returned if sequence number is 2, what is returned if sequence number is 3,... what is returned if the serial number is N), where the range of the first argument serial number is 1 - 254.
For example, it could be used in some judgment scenarios, such as determining gender (the 17th digit of a woman's ID number is an even number, and the male is an odd number. Divide the remainder by 2 with the MOD function to determine the odd-even number. If the remainder is 0, it is female, and if the odd number is 1, it is male. Then MOD+1 can be used to choose whether it is male or female.)
It can also be used in conjunction with other functions, such as the VLOOkUP function to achieve reverse search, and the WUEKDY function to calculate future dates.(For example, to calculate the date of the next Monday. If you meet at the club every Monday night, you can find the date of the next Monday based on the current date), and it can also be used in formulas with the SUM function (For example, to obtain the total sales of a specified store, you can enter a number in the ChoOSe function and list the cell area of the total sales of each store. In the sum function, you first find the value of the ChoOSe function and return the correct area of the selected store for the sum function).
In addition, there are literal related functions such as ChooseCOLS and ChooseRows, where the ChooseCOLS function (= ChooseCOLS(array, number 1, number 2...)) It is used to select columns. The first argument is an array. The subsequent numbers represent the corresponding number of columns to be extracted by numbers (if the number is positive, the columns will be extracted in normal order. If the number is negative, the columns will be extracted from right to left). ChooseRows is used to select rows.
"Choose" was equally exciting. Everyone was welcome to read it!
The use of the match function in excelThe use of the Match function in Excel is as follows:
1. ** grammar structure **
- The expression is "Match(Lookup_value,Lookup_array,[Match_type])", where Lookup_value is the value to be found, which can be a numerical value, or a cell reference to a number, text, or logical value;Lookup_array is a continuous cell range that contains the value to be found;Match_type is the way to specify the query. There are three modes,-1, 0, and 1 (if it is empty, the default is generally 1).
- When Match_type is-1, find the smallest value greater than or equal to the search value, and the specified area must be sorted in descending order; when Match_type is 0, find the first value equal to the search value; when Match_type is 1, find the largest value less than or equal to the search value, and the specified area must be sorted in ascending order.
2. ** Function Usage **
- ** Precise Match **: For example, to view the rankings of different total scores, if you enter the formula = Match(G2,E2:E8,0) in cell H2, you can see the corresponding rankings by modifying the total score in cell G2. Here, G2 is the search value, E2:E8 is the search area, and 0 represents an exact match.
- ** Less than Match **: To find the maximum value (e.g. 258) that is less than or equal to a specified value (e.g. total score of 260) and its ranking (5th), you can enter the formula = Match(G2,E2:E8,1). Note that when the search fails or the cell range is sorted in descending order, the error value #N/A will be returned.
- ** Greater than Match **: Find the smallest value (such as 263) that is greater than or equal to a specified value (such as 260) and its ranking (2nd place). The formula is = Match(G2,E2:E8,-1). The data here needs to be sorted in descending order.
- ** Using ** with the Indexfunction: For example, to find Zhao Wu's total score, enter the formula = Index1 (E2:E8,Match(G2,A2:A8,0)) in H2; if you want to search for a name based on two conditions (such as total score and language score), enter the formula = Index1 (A2:A8,Match(G2&H2,E2:E8&B2:B8,0)) in I2.
"Choose" was equally exciting. Everyone was welcome to read it!
How to use excel's if function formulaThe IF function was used to make judgments based on conditions and return different values. Its basic formula was: =if(Condition, the result is true, the result is not true). Here are some common examples:
1. ** Simple judgment of task quantity **: If the task quantity of each department and each product in the table is 200, the formula to judge whether the task is completed can be used: =IF(actual task quantity cell>200,"completed","incomplete").
2. ** Judging whether the result is passable **: If the language score is less than 60, it is a fail, less than 80 is a good, and 80 and above is an excellent. The formula can be used: =IF(result cell <60,"fail",IF(result cell <80,"good","excellent")).
3. ** Multi-condition judgment of missing exams **: If the blank scores of three courses represent missing exams, it will be displayed in the remarks column. You can use the formula: =IF(AND(Course 1 score cell <> " ", Course 2 score cell <> " ", Course 3 score cell <> " "),"Normal","Missing exams").
4. ** Set inventory warning **: If the inventory is less than 5 pieces, this condition will be met and the warning will be returned. If it is not met, it can be returned that the inventory is sufficient or empty. The formula can be set to: =IF(inventory quantity cell <5,"replenishment required","inventory sufficient").
5. ** Multi-nesting judgment according to specific conditions **: For example, if the level is calculated according to the employee's KP score, if cell B2 is the KP score, it will be "A" when B2<60,"B" when 60 <= B2<80,"C" when 80 <= B2<90, and "D" when B2>=90. The formula is: =IF(B2<60,"A",IF(B2<80,"B", if (B2<90,"C","D"))).
6. ** Find matching content according to specific conditions (combined with other functions)**: For example, the left side is the employee number, name, and salary data. To find the employee number according to the employee name (reverse search), you can use the formula: =VLOOkUP(search value, IF({1,0}, search column, result column), 2,0). For multi-criteria matching, if you want to find matching salary data based on two criteria, you can use the formula: =VLOOkUP(Find Value 1& Find Value 2, IF({1,0}, Find column 1& Find column 2, result column), 2,0).
"Choose" was equally exciting. Everyone was welcome to read it!
How to calculate the inverse function of the power equation in excelTo calculate the inverse function of the power equation in Excel, the following methods can be used according to the specific situation:
1. If the power equation is an exponential function with base e (y = e^x), its inverse function is the natural log function (x = In (y)), which can be calculated using the LM function in Excel. For example, if there is a value in cell A1, to calculate the inverse function of its exponential function with e as the base, you can enter = TN (A1) in other cells.
2. If the power equation is y = a^x (a is a non-e constant), its inverse function is x = log (y). In Excel, there was no way to directly find a log function with any non-e constant as the base, but it could be calculated by the base change formula log (y)= In (y)/In (a). Assuming a = 2, the value of y is in cell A1. You can enter = TN (A1)/TN (2) in other cells to get the value of the inverse function.
3. If the power equation was constructed using the Powers function, for example, y = Powers (x,n)(find x to the power of n), then the inverse function was x = Powers (y,1/n)(find y to the power of 1/n). In Excel, if the value of y is in cell A1 and the value of n is in cell B1, you can enter = Powers (A1,1/B1) in other cells to calculate its inverse function.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
How to input the inverse trigonometric-function symbol in excel?The method to enter the inverse trigonometrigram symbol in Excel is as follows:
For the arc-sin function (ASIN), arc-cosine function (ACOS), and arc-tan function (ATAN), you can directly enter the function name. For example, enter "=ASIN(value)" in the cell. The value here is the value you want to calculate with the arcsin. It has to be between-1 and 1. Similarly, the arccosine-function "=ACOS(value)" and the arctangent-function "=ATAN(value)".
If you wanted to display the mathematical symbols of the inverse trigonometrigram function, you could use the "insert function" function in the formula editor bar to find the corresponding inverse trigonometrigram function. This way, the function symbol would appear in the formula. You could also use the input method's symbol inserting function to insert these mathematical symbols. However, the symbols inserted in this way might only be used to explain formulas and not directly participate in calculations.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
TMT to excelHere are a few ways to convert txts to excel and sort them out:
** 1. Use the data import wizard **
1. ** Choose Data Source **
- In Excel, click the [Data] tab, select [Obtain Data]-[From a file]-[From Text/dsv], and then select the TMT file that needs to be modified and confirm to enter the [Text import wizard] interface.
2. ** Confirm Separator **
- Observe how the imported content is separated. For example, if the name, contact information, department, and other information are separated by spaces, select [Space] in the [Separator] column on the [Text import wizard] page, and then click [load].
- If the content in the TMT is separated by the Chinese symbol ",", enter the "Text import wizard", select the "Separator", click "Next", and then select "Other", enter a coma, and click "Finish". If it was a space, a semi-colon and a commas in English could be directly checked.
** 2. First copy and paste before sorting **
1. ** Copy-paste content **
- First, he copied the contents of the txt-text by pressing and pressing Ctrl-C, and then pressed and pressed Ctrl-V to paste it into the Excel document.
2. ** Split operation **
- After selecting the pasted content, he chose Data-Split, clicked Next, and selected the corresponding operation according to the content's splitter. For example, he selected Other and entered the corresponding splitter, and finally clicked Finish.
** 3. Dealing with special circumstances **
1. ** Conversion from text to numbers **
- If the cell format was found to be text format before splitting, set it to regular format before splitting.
2. ** Processing of Continuous Separators **
- If there are continuous separating symbols in the data, such as the number of spaces in the middle of the data is inconsistent, you can check the option of "Treating continuous separating symbols as a single process" when sorting.
3. ** Special Character Separation **
- For example, when the golden tax tray was used to export the commodity code data, it used two "~~" as the separating characters. It was necessary to first replace the two "~~" with one "~"(In Excel,"~" was an escape character. If one wanted to replace a "~", one had to enter "~~" in the replacement box) before separating the data.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
How to excel in examsHere are some tips to help you do better on the test:
1. Stay calm: It is very important to stay calm and composed during the exam. You can relieve tension by taking deep breaths, relaxing your muscles, and focusing.
2. Familiarize yourself with the exam: Before the exam, make sure you are familiar with the format, questions, and requirements of the exam. This will help you better prepare and plan your answer strategy.
3. Arrange your time reasonably: During the exam period, it is very important to arrange your time reasonably. You should spend enough time on each problem, but also make sure you have enough time to complete all the problems.
4. Read the question: Before answering the question, read the question carefully and understand its requirements. This will help you answer questions better and avoid unnecessary mistakes.
5. Organizing your answers: When answering questions, organizing your answers is very important. You can use a paragraph, a list, or a chart to organize your answers to make them easier to read and understand.
6. Check your answers: After completing all the questions, take some time to check your answers. This will help you find any mistakes or oversights and correct them in time.
7. Maintain a positive attitude: It is very important to maintain a positive attitude during the exam. Believe in your own ability and that you have made sufficient preparations. This will help you to perform at your best in the exam.
be ignorant of
While waiting for the anime, you can also click on the link below to read the classic original work of The King's Avatar!
50 essential functions for excelThe following are some common functions in Excel:
1. **SUM function **: It is used to calculate the sum of a set of values. For example,=SUM(A1:A10) is used to calculate the sum of the values in cells A1 to A10.
2. ** AVERGE function **: Calculating the average value of a set of values, such as = AVERGE (A1:A10), calculating the average value of A1 - A10 values.
3. **Max function **: Find the maximum value in a set of values, like =Max(A1:A10) returns the maximum value from A1 to A10.
4. **Min function **: Find the smallest value in a set of values. For example,=Min(A1:A10) returns the smallest value from A1 to A10.
5. Count function: Count the number of non-empty cells in a set of values. For example,=Count(A1:A10) counts the number of non-empty cells in A1 to A10.
6. **IF function **: Executes logical judgment and returns different values according to the specified conditions. For example,=IF(A1>10, "Greater than 10", "Less than or equal to 10") returns the result according to the value of A1.
7. **VLOOkUP function **: searches vertically in the data and returns the value of the specified column in the row where the value is found. For example,=VLOOkUP(A1, B1:C10,2, False) searches for the value of A1 in the range of B1 - C10 and returns the value of the second column in the row where the value is found.
8. **HLOOkUP function **: Similar to the VLOOkUP function, but it performs horizontal search. For example,=HLOOkUP(A1, B1:E10,3, False) searches for the value of A1 in the range of B1 - E10 and returns the value of the third row of the column where the value is found.
9. **Concatenate function **: Condense multiple text strings. For example,=Concatenate("Hello", " ", "World") returns "Hello World".
10. **LEFT function **: Extracting a specified number of characters from the left side of the text string. For example,=LEFT(A1,5) will extract the five characters from the left side of the A1 text string.
11. **Right Function **: Extracting a specified number of characters from the right side of the text string. For example,=Right(A1,5) will extract the five characters from the right side of the A1 text string.
12. **LEN function **: Calculating the length of the text string. For example,=LEN(A1) returns the length of the text string in A1.
13. **Date function **: Creation date, for example,=Date(2022,12,31) returns the date of December 31, 2022.
14. ** TODY function **: Return the current date.
15. **XLOOkUP function **: Simple and efficient to use. It only needs 3 parameters to solve most problems. Usage: =XLOOkUP(Find Value, Find Region, Results Region).
16. ** FilterFormula **: Used for filtering. Usage: = FilterResults, FilterCondition = FilterValue.
17. [**Unqiue Formula **: Quickly remove duplicate values from the data area. For example,=Unique(A1:A7) will remove duplicate values from cells A1 - A7 to obtain a unique value.]
18. ** ROOM Function **: The format is ROOM (numerical value, the number of decimals retained).
These were just some of the commonly used functions. There were many other useful functions in Excel. Different work scenarios might use different combinations of functions to improve work efficiency.
"Choose" was equally exciting. Everyone was welcome to read it!
excel is ranked by gradesThere were several ways to rank in Excel by grades:
1. [Ranking Method: This is the most basic method.] After selecting the column with the results, he clicked the "sort" button in the "Data" tab, and then selected the results column in the "Main Keyword", and then selected "Descending"(high results first, low results later) or "Ascending"(low results first, high results later).
2. **Rank Function Method **: The Rank function is used to calculate the ranking of a certain value in a certain area. The grammar is =Rank(value, quote,[ranking method]). For example, if the score data is in column C, enter the formula =Rank(C2,C:C) in the target cell (if the third argument is omitted, the default order is descending, that is, ranking from large to small; if you want to arrange it in ascending order, you can fill in a non-zero number in the third argument, such as =Rank(C2,C:C,1)), then click enter, and then pull down to fill in other cell data.
3. **Countif Function Method **: Countif function counts the number of values in the data area that are greater than its own value, and then add 1 to obtain the ranking.
4. ** Summer product function method **:"$B$2:$B$7>B2" determines whether the value in the data area is greater than its own value. This function multiplied and accumulated the corresponding values of the array to obtain the number of people greater than its own value. Then, it added 1 to obtain the ranking.
5. ** Combined application of FRuler and Index functions **: The FRuler function obtains the distribution frequency of a certain score in the data area. The Index function is used to extract the number of numbers greater than the score value. Add 1 to obtain the ranking of the score value.
6. [Large+Match+ Array Formula (suitable for office gods)]: The Large function ranks a column of data to generate an array. Then, the Match function is used to obtain the ranking value of a certain score in the array. The difficulty was that after entering the formula, he needed to press the [Control +Shift+Enter] key combination to turn it into an array formula.