Hello people,
This is my first query so please for give me if I am not as clear as I could be whilst explaining my problem, I have spent ages looking for a solution on the internet (probably looking for the wrong thing due to my lack of knowledge!) and hope that someone here can shed a little light on the situation!
I have a column of data like this:
DNPAL901
DNPAL902
DNPAL903
DNPAN901
DNPAN902
DNPAR001
DNPAR002
DNPAR003
DNPAR004
DNPAR005
DNPAR006
DNPAR015
DNPAR017
DNPAR020
DNPAR021
DNPAR022
DNPAR901
DNPAR902
DNPAR903
I need to be able to find the largest number matching my criteria, for example if D1 was "DNPAR" the result would be 903 or even if D1 was "DNPAR0" the result would be "022" and if D1 was "DNPAM" then it would return "000" (as a not found value).
I hope that my explanation is clear enough, thanks for reading!
Bookmarks