=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 VLOOKUP Function in Excel? What is VLOOKUP Function? The VLOOKUP function in Excel searches for a value in a table and returns a corresponding value from another column in the same row…
Calculations With Date In Excel Dates function also be used to subtract the Year, Month and Days from the existing dates. Sometimes we need to subtract specific period from the date. In case you are…
TRIM function is used to remove the additional spaces (i.e. spaces before/after/between the words) except for single space between words.
SUBSTITUTE function is used to substitute the existing old text to new text.
WORKDAY Function in Excel Are you working today? or Do you have Work Off or holiday today? I am asking this question because I am gonna tell you the most commonly used function in Excel…
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…