How to Fix Romanian Month Names in Excel TEXT Formulas
Question details
The user needs to extract Romanian month names as literal text strings from date cells to concatenate with other values and create reliable lookup keys.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Generating complex lookup keys by concatenating project codes with text-based month names extracted from date cells.
- Observed behavior
- Standard cell formatting changes only the visual appearance, leaving the underlying date serial number unchanged, which causes text-based concatenation and comparisons to return FALSE.
Verify that your source cells contain valid Excel date values (serial numbers) rather than plain text strings before applying formatting or extraction formulas.
Use Explicit Locale Codes in the TEXT Formula
Applying a specific locale code inside the TEXT function forces Excel to output the month name in Romanian, regardless of your computer's regional settings.
The TEXT function converts a numerical date value into a literal text string. By embedding the Romanian locale code [$-ro-RO] directly into the custom format string, you ensure the output is exactly the text you need for reliable concatenation.
Click on the empty cell where you want to output the extracted Romanian month name.
Type =TEXT(C8,"[$-ro-RO]mmmm") into the formula bar, replacing C8 with the cell reference containing your original date.
Use the result in your concatenation formula, for example: =A8 & "-" & TEXT(C8,"[$-ro-RO]mmmm") to create your final lookup key.

Use the MONTH Function for Universal Reliability
Extracting the numerical month value avoids language-specific mismatches altogether when generating lookup keys.
Apply Custom Cell Formatting (Visual Display Only)
If you only need to display the month name in Romanian visually without altering the underlying data structure, use Excel's Custom Format feature.
Effortlessly Handle Date Formats with WPS Spreadsheet
WPS Spreadsheet provides robust and accurate formula support, including precise locale-based TEXT functions, helping you manipulate dates and generate complex lookup keys without compatibility issues.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your date values.
- 2. Apply the TEXT formula: Use =TEXT(C8,"[$-ro-RO]mmmm") in a new column to safely extract the localized month name as a text string.
- 3. Build your lookup keys: Combine the newly extracted text with your project codes using the & operator or the CONCATENATE function.

Frequently Asked Questions
Why does formatting a date cell as a month not work for VLOOKUP?
Cell formatting only changes the visual display on your screen. The underlying value remains a numerical date serial number. When text-based lookup functions like VLOOKUP try to match the visually formatted cell against actual text strings, the mismatch causes the formula to fail.
What does [$-ro-RO] mean in the Excel TEXT formula?
It is a specific language locale code. It instructs the spreadsheet software to format and output the date or time in Romanian, completely bypassing the default regional settings configured on the user's operating system.
Can I extract the abbreviated Romanian month name instead of the full name?
Yes. You can adjust the formula to =TEXT(C8,"[$-ro-RO]mmm") by using three 'm's instead of four. This will output the standard three-letter abbreviated month name in Romanian.




