Forum Discussion

AcquaRegia's avatar
AcquaRegia
Copper Contributor
Jul 30, 2021
Solved

Table for invoice number

Hello, i have a simple question to ask. I have a file in excel that i use to print the invoice for my work and also to store the data of the client and the link to the previous invoice.   In one of...
  • HansVogelaar's avatar
    HansVogelaar
    Aug 02, 2021

    AcquaRegia 

    For example in row 1:

     

    =TEXT(MOD(QUOTIENT(ROW()-1,3),12)+1,"00")&"."&QUOTIENT(ROW()-1,36)+18&"."&MOD(ROW()-1,3)+1

     

    And then fill down as far as you want. This version will start with 01.18.1 for 2018. If you want to start in a different year, change 18 in the formula.