TEXT
Definition: The TEXT function in Excel is used to convert a value to text in a specific format.
Syntax: ==TEXT(value, format_text).
Situation: This formula is appropriate in situations where you need to convert a value to text in a specific format.
Example: If you have a date in cell A1 that says “January 1, 2020”, and you want to convert it to the format “01-01-2020”, you would use the formula =TEXT(A1, “mm-dd-yyyy”). This would return the text string “01-01-2020”.