Search code examples
google-sheetsgoogle-sheets-formulaarray-formulas

Enumerate different elements of a column


I'm struggling to elaborate an Arrayformula to enumerate the different elements of a column, I have five different type of jobs and I have each job numerated independently. I've prepared a Spreadsheet with the elements in Column A and the desired result in orange

https://docs.google.com/spreadsheets/d/1IYlXY_HyO3lihs4NHilhPXPWyX_L86WRjGUEHQZtEpY/edit?usp=sharing

Thanks


Solution

  • You may try:

    =map(A:A;lambda(Σ;if(Σ="";;Σ&" "&countif(A1:Σ;Σ))))
    

    enter image description here