Hi,
I have a series of cells that contain some texts of varying lengths.
I'd like to vlookup each and every single character of a particular text. If the result is found, great. If the result is null, I want to return a particular character. If the looked up character cannot be found, I want to return another character. In the end, I want to combine all of these results into a single text string.
So for example, if my lookup table is like this:
A apple
B bean
C computer
D
And say the null qualifier is *null* and the not found qualifier is *NA*, here are some expected results of my formula F():
F("ABC") = "applebeancomputer"
F("BD") = "bean*null*"
F("CDE") = "computer*null**NA*"
F("") = ""
Any ideas to do this with a nested formula?
If not, UDFs would also be fine (although less desirable).
I have a series of cells that contain some texts of varying lengths.
I'd like to vlookup each and every single character of a particular text. If the result is found, great. If the result is null, I want to return a particular character. If the looked up character cannot be found, I want to return another character. In the end, I want to combine all of these results into a single text string.
So for example, if my lookup table is like this:
A apple
B bean
C computer
D
And say the null qualifier is *null* and the not found qualifier is *NA*, here are some expected results of my formula F():
F("ABC") = "applebeancomputer"
F("BD") = "bean*null*"
F("CDE") = "computer*null**NA*"
F("") = ""
Any ideas to do this with a nested formula?
If not, UDFs would also be fine (although less desirable).
Last edited: