=TEXT(value,format_text)
value argument [Required] is used to give the text or cell reference for which formatting is to be changed
format_text [Required], is used to give the formatting code as per the requirement
Here we have some examples, where “Column A” has various values, “Column B” represents format_text and “Column C” shows the output of the function.
We will be using TEXT function as follows:
– Format of cell can also be changed by following CTRL+1 (or MAC Command button +1) and select the desired format/appearance
– If cell reference is not correctly provided in the function, then it will give output as an error
– Function should give output in “General” format, however if output is not as per the desired format then we need to change the cell format to “GENERAL”
Hope you learnt this Function,
Don’t forget to leave your valuable comments!
If you liked this article and want to learn more similar tricks, please Subscribe us or follow us on Social Media by clicking below buttons:
Watch: How to use MODE & MODEIF Function in Excel? What is MODE Function? In Excel, the “MODE” function is a statistical tool that identifies and returns the most frequently occurring value within a set…
Watch Video: Rand and Randbetween Excel Functions Generate Random Numbers using Excel Functions We have got many instances where we needed to generate a random database or values. “RAND function” is very useful for users…
Count Non Blank Cells in Excel helps you to ignore blank ones and focus only on cells with values that matter to you. Some cells in an Excel worksheet may look blank but aren’t actually…
Excel Function COUNTIF COUNTIF Excel Function is also one of the most used function in excel. This helps the user to calculate the number of counts based on single logic given by the user. You…
AVERAGEIF function is used to get the “average” of values for matching criteria across range. Average = Sum of all values / number of items.
You must have faced a condition when your data cells contain extra spaces, leading spaces or trailing spaces and you wanted to remove these extra spaces to standardize the data. So here you may use…