I have a table with a varying number of rows depending on the current data set within it. I then look through the rows and add either 'approve' or 'decline' to column C (called "Status" in my table). If the row is 'Approved" then it needs a unique reference number which is made up as follow 'XXX/22/1' with the "1" being a sequential number. Currently I have to add the sequential number manually into column A having checked back through my previous approvals to find the latest number.
Is there a way I can get my refence number which is in column B (named "Ref No" in table) to be generated automatically if "Approved" is added to column C with the next available number but sticking with my existing reference number format of three letters, "/", two number (current year), "/" and then the unique number?
I should add, that the rows may not necessarily be 'approved' or 'declined' in order of row so rows 20-30 may be approved today and will get a reference number but next week rows 3&4 might then be 'approved' so I need the next sequential number in the whole column and not simply an increase of one from the last cell with an entry.
Thanks
Is there a way I can get my refence number which is in column B (named "Ref No" in table) to be generated automatically if "Approved" is added to column C with the next available number but sticking with my existing reference number format of three letters, "/", two number (current year), "/" and then the unique number?
I should add, that the rows may not necessarily be 'approved' or 'declined' in order of row so rows 20-30 may be approved today and will get a reference number but next week rows 3&4 might then be 'approved' so I need the next sequential number in the whole column and not simply an increase of one from the last cell with an entry.
Thanks