
This formula says: Take values from the right of the string, starting from the point immediately after the decimal point.

the number of characters to extract) or, in the case of the MID() function, you don't know the start_num (where to start extracting text from). The FIND function is very useful in the above functions if you don't know the num_chars (i.e.

the last character) in the cell (A3 in this example). the five characters taken from a starting point of the right-most value (i.e. The value shown in the third cell is the result of the formula, i.e. To use the RIGHT() function, follow these steps:Ĭlick on a cell and enter the RIGHT() function:Įnter the two arguments for the function as shown in the following example: Example of the RIGHT() function in action The RIGHT() function works by taking the specified number of characters starting from the right end of the text value entered. The RIGHT() function has the following syntax:

You may also need to use the LEN() function, which calculates the length of a value in a cell. To do this, you can use one of the text manipulation functions available in Excel. For example, you may have a cell that contains a combination of text and numbers, or a cell that contains two numbers separated by a delimiter such as a comma. The rest of the cells in the C column are marked as TRUE because the formula found a match.Sometimes it is useful (or necessary) to extract part of a cell into another cell in Excel. After you have done that, you should notice the FALSE value in C6, C9, C11, and C14. This will copy and apply the formula to all the other cells. To check all the other cells, you can drag the fill handle, which is a small square located in the bottom-right corner of the cell, all the way down.As the numbers from cells A1 and B1 don’t match, you will notice that Excel returned a FALSE value and stored the result in cell C1.So, if you want to compare cells A1 and B1, type “ A1” in the Text1 box and then “ B1” in the Text2 box and click OK.

In this window, you need to specify exactly which cells you want to compare. After clicking on EXACT, a window called Function Arguments will appear.Choose EXACT from the drop-drown menu, the Exact formula works on numbers as well.To locate the Exact function, click on the Formulas tab and then select the Text button.When you use this function, Excel will return a value of TRUE if the numbers match, and the value of FALSE if they don’t. For example, if you want to check cells A1 and B1, you can use the Exact function in the C1 cell. To make sure that cells from column A don’t have a duplicate in the corresponding column B cells, use the Exact function.
