Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Lista Forumurilor Pe Tematici
|
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
POZE MRRRR'S FORUM (VIEW ONLY)
Nu sunteti logat.
|
Nou pe simpatie: Kitana
 | Femeie 25 ani Bucuresti cauta Barbat 25 - 48 ani |
|
|
TRaP
Moderator
Inregistrat: acum 7 ani
Postari: 875
|
|
In a table in Column "Invoice date" I have dates inserted as text in the format DD.MM.YY.
I need an actual date to be able to filter the data. I don't want to modify the original date, just have another column with the correct date next to the raw data table.
=DATE(2000+RIGHT([@[Invoice date]];2); MID([@[Invoice date]];4;2); LEFT([@[Invoice date]];2))
Source: ChatGPT
|
|
| pus acum 1 an |
|
|
TRaP
Moderator
Inregistrat: acum 7 ani
Postari: 875
|
|
Encountered date in this format: 04.02.2026.
So with an ending dot.
Made this formula:
=LET( rng; D28; dot; RIGHT(rng;1)="."; convert; IF(dot=TRUE;TEXTBEFORE(rng;".";3;0);rng); datetext; TEXT(convert;"dd.mm.yyyy"); DATE(RIGHT(datetext;4); MID(datetext;4;2); LEFT(datetext;2)) ) |
Of course, can use on entire range, or spill range:
=LET( rng; CHOOSECOLS(A19#;1); dot; RIGHT(rng;1)="."; convert; IF(dot=TRUE;TEXTBEFORE(rng;".";3;0);rng); datetext; TEXT(convert;"dd.mm.yyyy"); DATE(RIGHT(datetext;4); MID(datetext;4;2); LEFT(datetext;2)) ) |
|
|
| pus acum 6 zile |
|