- Why does LEFT sometimes return a number instead of text?
- LEFT always returns text, but if the source cell contains a number, Excel first coerces the number to a string. The displayed result may look numeric, yet its underlying type is text, which can affect downstream numeric calculations.
- Can LEFT handle arrays or ranges in a single cell?
- In modern Excel, LEFT is array-compatible, so =LEFT(A2:A5,2) will spill a column of the first two characters from each cell. In Google Sheets the behavior is similar, but older Excel versions will return only the result for the first cell.
- What happens if I omit the num_chars argument?
- When num_chars is omitted, LEFT defaults to 1, returning only the very first character of the supplied text. This is handy for quick checks like extracting the first letter of a code.
- How do I extract characters from a date without converting it to text first?
- Dates are stored as serial numbers, so LEFT cannot operate directly on them. Wrap the date in TEXT with a format string (e.g., TEXT(E5,"yyyy-mm-dd")) and then apply LEFT to the formatted string.