GlennC Posted May 27, 2003 Posted May 27, 2003 Hello, After importing some excel files I get a place-name field which is the first three letters of place names; there are about 50 in all. What would be the best way to store a list of the full names, and have them automatically displayed based on the initial three letters, or do I have to lookup an 'If' formula with 50 possibilities?? Glenn
Lee Smith Posted May 27, 2003 Posted May 27, 2003 Hi Glenn, If I'm understanding you correctly, can't you do a simple sort on the field? Lee
GlennC Posted May 27, 2003 Author Posted May 27, 2003 Hi Lee, I don't think I understand what will a sort do here. At the moment I have after importing the first three letters of a place name eg 'bri'. Now I know this means "Brisbane", but the full name has been parsed out in the import process. So I want it to look somewhere to know that "Bri" means "Brisbane", and to display the full name, and to do this for around 50 possible names in total. I know I could create a simple calculated field ie. Case("Bri","Brisbane", etc etc, but there would be 50 possibilities in that calculation. My question is simply, is there are simpler/better way?
Lee Smith Posted May 27, 2003 Posted May 27, 2003 I think I more fully understand what you are trying to say now. If I am, you are saying that the Full Name is not available to you, only the Three letters? If that is true, it is my opinion that you will have to do a reverse calculation, either by replace function, or case as you stated, that is unless I have missed something Lee
GlennC Posted May 28, 2003 Author Posted May 28, 2003 Hi Lee, Thanks for all your help - here and elsewhere Glenn
Philland Posted May 29, 2003 Posted May 29, 2003 If these locations arre fairly static, always the same places, perhaps you could set up a separate table (file) of the locations and their abreviations and then set up a relationship based on the three letter abreviation in each file and then display the related city. Phil
Recommended Posts
This topic is 7850 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now