Hi
I have an array formula which is supposed to find the maximum code for a specific set of initials.
For example, I have codes such as
GRP1
GRP2
GRP3
SOA1
SOA2
SOA3
What I am trying to do is to automatically generate the next number in the sequence based on which group it belongs in - so if I put GRP in column C I want column D to populate the cell with GRP4 - as that's the next number in the sequence.
I thought I could do this with a lookup showing the MAX of those initials - using:
{=MAX(IF(criteria_range=criteria,values_range))}
but it doesn't seem to be working!
Any ideas or suggestions for other ways of doing this?
I have an array formula which is supposed to find the maximum code for a specific set of initials.
For example, I have codes such as
GRP1
GRP2
GRP3
SOA1
SOA2
SOA3
What I am trying to do is to automatically generate the next number in the sequence based on which group it belongs in - so if I put GRP in column C I want column D to populate the cell with GRP4 - as that's the next number in the sequence.
I thought I could do this with a lookup showing the MAX of those initials - using:
{=MAX(IF(criteria_range=criteria,values_range))}
but it doesn't seem to be working!
Any ideas or suggestions for other ways of doing this?