I have a list of files' names that I would like to sort based on the date that's impeded within the file name text (Column A folder). When sorting them, the number 10 comes after 1 instead of 1,2,3,4,5....etc. So, I came up with a new column (G) that has the number of day only being extracted from the file name (Column A) by this formula:
=ArrayFormula(iferror(Right(REGEXEXTRACT(A2:A,"/.."),2)))
But still I can't sort the rows as expected... 10 comes after 1, 20 after 2 and 30 after 3.. Any idea how to solve this issue?
A
? We cannot see all of it in the image. Also. Is it formatted as text, as number or what. As always, none of these questions would exist if you could share a test sheet. Since you create quite a few questions, create a sheet for all of them and a new tab for each question. Just a thought.=ArrayFormula(SORT(TEXT(VALUE(REGEXEXTRACT(FILTER(A2:A,A2:A<>""),"/(\d+)")),"00"),1,1))
If still in trouble, let us know.