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:
simpacurly69 pe Simpatie
Femeie
24 ani
Bucuresti
cauta Barbat
35 - 70 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEL] Multiple Index Numbering For the Same Column Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
Mrrrr
AdMiN

Inregistrat: acum 18 ani
Postari: 2318
In column E I have multiple locations, and in column F I want to generate an Index column starting from 1 for each of the locations.

E.g.:

E  F
A  1
A  2
A  3
A  4
B  1
B  2
B  3
C  1
C  2
C  3
C  4
D  1
D  2


Classical solution (drag down on all rows) - works on all Excel versions:

= COUNTIF($E$2:E2; E2)


Spill solution - works on Excel 2024 & 365

=LET(
    loc; E2:E766;
    MAP(
      SEQUENCE(ROWS(loc));
      LAMBDA(i; COUNTIF(TAKE(loc; i); INDEX(loc; i)))
  )
)


Source: ChatGPT


_______________________________________


pus acum 2 saptamani
   
Pagini: 1  

Mergi la