Young_Money
New Member
- Joined
- Jul 8, 2011
- Messages
- 23
I am trying to make a UDF that prints the text next to the column that is entered.
Here is an example of what my excel sheet looks like
A / B / C
Customer Initials Location
blahblah JJ Virginia
blah GL Texas
hello LO California
ohai FE Georgia
lalala SL New York
adsf JL Washington
I want to be able to type in the initials and get the location returned.
For example, if i type in =getlocation(SL) into any cell, it would return New York
You cannot really see what the sheet looks like here, but it is supposed to be three different columns.
Can anybody help me out with how to do this please?
Here is an example of what my excel sheet looks like
A / B / C
Customer Initials Location
blahblah JJ Virginia
blah GL Texas
hello LO California
ohai FE Georgia
lalala SL New York
adsf JL Washington
I want to be able to type in the initials and get the location returned.
For example, if i type in =getlocation(SL) into any cell, it would return New York
You cannot really see what the sheet looks like here, but it is supposed to be three different columns.
Can anybody help me out with how to do this please?