canarycat123
New Member
- Joined
- Sep 1, 2021
- Messages
- 27
- Office Version
- 365
- 2019
- Platform
- Windows
Hi there, I’m hoping someone can help me with this question.
I have a series of formula being used to generate unique reference numbers, finishing with CONCATENATE, as seen in the screencap attached. I am using a simple =IF(H60=””,””,ROW()-2) formula to generate the final four digits of the reference number. However, what I am trying to achieve is slightly more complex.
The first portion of characters, in this example KGV and MISC (produced in another cell using VLOOKUP), represent different geographical areas. What I would like to achieve is a formula that can identify the next number in the series related to each geographical area. So, in the attached example I would like MISC to return MISC-LS-020-001 (rather than -0058), as that would be the first KGV record in the worksheet. If I were then to add another MISC I want it to return 002 and so on. If I were then to add another KGV record it should start with the next number in the sequence related to KGV, 0058 in this example.
Any help/advice would be appreciated!
I have a series of formula being used to generate unique reference numbers, finishing with CONCATENATE, as seen in the screencap attached. I am using a simple =IF(H60=””,””,ROW()-2) formula to generate the final four digits of the reference number. However, what I am trying to achieve is slightly more complex.
The first portion of characters, in this example KGV and MISC (produced in another cell using VLOOKUP), represent different geographical areas. What I would like to achieve is a formula that can identify the next number in the series related to each geographical area. So, in the attached example I would like MISC to return MISC-LS-020-001 (rather than -0058), as that would be the first KGV record in the worksheet. If I were then to add another MISC I want it to return 002 and so on. If I were then to add another KGV record it should start with the next number in the sequence related to KGV, 0058 in this example.
Any help/advice would be appreciated!