Search code examples
google-sheetsexcel-formulagoogle-sheets-formulaarray-formulasautonumber

change the serial number of letters by year


how to change the serial number of letters by year, I got the formula in microsoft excel but how to use the formula in googlesheet with the array method formula to those who understand please guide me, just an illustration of the formula I use in excel I include in the following picture

excel formula into arrayformula on googlesheet


Solution

  • use in C2:

    =INDEX(IF(B2:B="";;COUNTIFS(B2:B; B2:B; ROW(B2:B); "<="&ROW(B2:B))
    

    enter image description here