TRIM function: I have given here about the formula syntax and usage of the TRIM function in Microsoft Excel. Description: Removes all spaces from text except for single spaces between words. Use TRIM on text that you have received from another application that may have irregular spacing. Important: The TRIM function was designed to trim the 7-bit ASCII space character (value 32) from text. In the Unicode character set, there is an additional space character called the nonbreaking space character that has a decimal value of 160. This character is commonly used in Web pages as the HTML entity, . By itself, the TRIM function does not remove this nonbreaking space character. Syntax: TRIM(text) The TRIM function syntax has the following arguments: Text Required. The text from which you want spaces removed. Q: How to trim both space characters from text in a cell? Type the function as follows in the cell that you would like to get the result in: =TRIM(A2) For more understanding, look at the screenshot please: EXACT function: I have given here about the formula syntax and usage of the EXACT function in Microsoft Excel. Description: Compares two text strings and returns TRUE if they are exactly same, FALSE otherwise. EXACT is case-sensitive but ignores formatting differences. Use EXACT to test text being entered into a document. Syntax: EXACT(text1, text2) The EXACT function syntax has the following arguments: Text1 Required. The first text string. Text2 Required. The second text string. Q: How to use Exact function to test the two texts/words? Type the function as follows in the cell that you would like to get the result in: =EXACT(A2,B2) For more understanding, look at the screenshot please: FIXED function: I have given here about the formula syntax and usage of the FIXED function in Microsoft Excel. Description: Rounds a number to the specified number of decimals, formats the number in decimal format using a period and commas, and returns the result as text. Syntax: FIXED(number, [decimals], [no_commas]) The FIXED function syntax has the following arguments: Number Required. The number you want to round and convert to text. Decimals Optional. The number of digits to the right of the decimal point. No_commas Optional. A logical value that, if TRUE, prevents FIXED from including commas in the returned text. Remarks: Numbers in Microsoft Excel can never have more than 15 significant digits, but decimals can be as large as 127. If decimals is negative, number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2. If no_commas is FALSE or omitted, then the returned text includes commas as usual. The major difference between formatting a cell containing a number by using a command (On the Home tab, in the Number group, click the arrow next to Number, and then click Number.) and formatting a number directly with the FIXED function is that FIXED converts its result to text. A number formatted with the Cells command is still a number. Q: How to use Fixed function to convert the normal number to decimal format? = Type the function as follows in the cell that you would like to get the result in: =FIXED(99966,2,FALSE) For more understanding, look at the screenshot please:
0 Comments
|
Archives |