Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default Possible -- a custom format on text, similar to a VLOOKUP() function?

Is there a way to create a custom format for text data? Basically, I
am looking for the format to be a description lookup, while the cell
itself has the value of the item being looked up. I realize I could do
this with a separate column and use the VLOOKUP() on a table of the
values and the descriptions. However, I am just wondering if it is
possible to do the same thing with a custom format, within the cell
itself.

As an example, the following list might be some examples of values and
the descriptions I would like to see displayed:

a = Alpha
b = Beta
b1 = Beta One
83 = Category 83

So, if I enter "a" in a cell, that would be the value of the cell, but
"Alpha" would be what is displayed for the cell. Similar to what can
be done with months (i.e. 1=Jan, 2=Feb, ..., 12-Dec), but on text data.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Possible -- a custom format on text, similar to a VLOOKUP()function?

I don't think so using custom formats.

But maybe an alternative.

Use nice unique strings and then use tools|autocorrect to change them to what
you want.

@@a could be replaced with Alpha
@@b
@@b1

If you decide to use this technique, make sure you don't use any real word or
any excel function/word.



Randy Harmelink wrote:

Is there a way to create a custom format for text data? Basically, I
am looking for the format to be a description lookup, while the cell
itself has the value of the item being looked up. I realize I could do
this with a separate column and use the VLOOKUP() on a table of the
values and the descriptions. However, I am just wondering if it is
possible to do the same thing with a custom format, within the cell
itself.

As an example, the following list might be some examples of values and
the descriptions I would like to see displayed:

a = Alpha
b = Beta
b1 = Beta One
83 = Category 83

So, if I enter "a" in a cell, that would be the value of the cell, but
"Alpha" would be what is displayed for the cell. Similar to what can
be done with months (i.e. 1=Jan, 2=Feb, ..., 12-Dec), but on text data.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using VLOOKUP to match similar text? lrb Excel Worksheet Functions 10 June 2nd 09 09:45 AM
Want to custom formatting a number similar to @,@ for text. QuasiChameleon Excel Discussion (Misc queries) 1 November 10th 06 05:50 AM
Text Function - Custom Format ( Re-posted from Misc still looking for answer ) Ron Rosenfeld Excel Programming 0 July 29th 03 04:18 AM
Text Function - Custom Format ( Re-posted from Misc still lookingfor answer ) Dave Peterson[_3_] Excel Programming 0 July 29th 03 04:06 AM
Text Function - Custom Format ( Re-posted from Misc still looking for answer ) Lance[_2_] Excel Programming 1 July 29th 03 01:58 AM


All times are GMT +1. The time now is 10:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"