Read dates in (several) local languages

DeepButi

New Member
Joined
Jul 14, 2015
Messages
41
Office Version
  1. 365
Platform
  1. Windows
I can easily display a date in any local language using TEXT :

1700482855496.png


but I need to do exactly the opposite. I get a file with dates in diferent local languages and want to convert them to dates:

1700482895804.png


In fact, just the month name is the problem. Any ideas?

Obviously, I cannot change the local language of the file because there is a mix of languages, so please don't tell me to do so! :)

Thks
 

Attachments

  • 1700482558534.png
    1700482558534.png
    7.9 KB · Views: 1
  • 1700482668546.png
    1700482668546.png
    6.1 KB · Views: 1

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
With known mix of LCID-language codes, maybe you could list them if it's just a handfull:

Book1
AB
105 gener 202344931
205 January 202344931
305 jasyteĩ 202344931
Sheet4
Cell Formulas
RangeFormula
B1:B3B1=--MAP(A1:A3,LAMBDA(s,LEFT(s,2)&"/"&MAX(IF(COUNTIF(A1,TEXT("1-"&SEQUENCE(12),"[$-"&{403,407,474}&"]\* mmmm \*")),SEQUENCE(12)))&"/"&RIGHT(s,4)))
Dynamic array formulas.
 
Upvote 0
Wow! Nice try. I assume COUNTIF(A1 must be COUNTIF(s
It doesn't exactly work (try diferent days on column A) because the sequence inside COUNTIF generates months in a language order: Gener (403) Februar (407) jasyapy (474) ...
I will work on it.
Thanks
 
Upvote 0
Solved! Thks

=--MAP(A9:A11;LAMBDA(s;LEFT(s;2) & "/" & MAX(IF(COUNTIF(s;TEXT("1-" & SEQUENCE(12);"[" & OFFSET(s;0;1) & "]\* mmmm \*"));SEQUENCE(12))) & "/"&RIGHT(s;4)))

1700566358680.png
 
Upvote 1
Solution
Ah yes I meant to write the 's' variable there. Cool to see you got it sorted!!
 
Upvote 0

Forum statistics

Threads
1,215,147
Messages
6,123,297
Members
449,095
Latest member
Chestertim

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top