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:
the_clasik_ely
Femeie
24 ani
Hunedoara
cauta Barbat
24 - 80 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEL] Sort Data Alphabetically with Formula [COUNTIF, INDEX, MATCH] Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 748
Say you would like to create a list of alphabetically sorted data but without the use of a filter or Table.

I have some data extracted from a website in column J that I would like to keep in the order set on that website (which is non-alphabetical).

For this I could use a helper column K and in column L there will be the alphabetical sorting.

- in range J4:J125 I have my non-alphabetical data.
- in range K4:K125 I will have the following formula dragged down from K4: =COUNTIF($J$4:$J$125;"<="&J4)
- in range L4:L125 I will have the following formula dragged down from L4: =INDEX($J$4:$J$125;MATCH(ROWS($K$4:K4);$K$4:$K$125;0))

Now in column L there are the names in column J but sorted alphabetically.

Or I could do it WITHOUT a helper column, but I have to use an array formula (CTRL+SHIFT+ENTER):

=INDEX($J$4:$J$125;MATCH(ROWS($J$4:J4);COUNTIF($J$4:$J$125;"<="&$J$4:$J$125);0))

Source:

Modificat de TRaP (acum 4 ani)


pus acum 4 ani
   
Pagini: 1  

Mergi la