=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:
TRIM function is used to remove the additional spaces (i.e. spaces before/after/between the words) except for single space between words.
MATCH function performs lookup for a value in a range and returns its position sequence number as output. It has two required and one optional arguments
Microsoft Excel “NOW” function is used to get the current Date and Time. It is very useful function and can be used in many ways.
Watch: How to use TODAY & NOW Function in Excel? What is TODAY Function? The TODAY function in Excel returns the current date in a serial number format. Click here to Read full Tutorial What is…
The tutorial demonstrates how to find a date any number of days before or after today, counting either all days or only business days.
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…