Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Display numerical code

How do I make a phrase like "cherry bed" display as a numerical code like
"0042" once it is entered into the spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Display numerical code

On Fri, 22 Dec 2006 16:56:00 -0800, catwoman
wrote:

How do I make a phrase like "cherry bed" display as a numerical code like
"0042" once it is entered into the spreadsheet?


Construct a table with the equivalences, and use one of the LOOKUP functions.
--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Display numerical code

This formula , if put in the next (or any) cell will display 0042 if a1
contains cherry red.........if you want the cell itself to convert over to
0042 when you type in cherry bed, that would take change-event
VBA...........

Vaya con Dios,
Chuck, CABGx3



"catwoman" wrote in message
...
How do I make a phrase like "cherry bed" display as a numerical code like
"0042" once it is entered into the spreadsheet?



  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Display numerical code

"CLR" wrote:
This formula , if put in the next (or any) cell will display 0042 if a1
contains cherry red


Chuck, think you forgot to paste the formula ? <g
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #5   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Display numerical code

Lol............sorry, it was past my sleepy-time............thanks for
catching it Max........
here's the formula, depending on how it's spelled <g

=IF(A1="cherry bed","0042","")

....and of course a VLOOKUP could be used instead if there were many
"phrases".

Merry Christmas to all............

Vaya con Dios,
Chuck, CABGx3



"Max" wrote in message
...
"CLR" wrote:
This formula , if put in the next (or any) cell will display 0042 if a1
contains cherry red


Chuck, think you forgot to paste the formula ? <g
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---






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
Cell value not recognized by code. Brady Excel Discussion (Misc queries) 8 December 21st 06 02:56 AM
Can someone help me put psuedo code into actual excel macro?? bxc2739 Excel Discussion (Misc queries) 1 April 22nd 06 02:58 PM
t-distribution puzzle in Excel [email protected] Excel Discussion (Misc queries) 8 November 11th 05 10:27 AM
How to display weeknumber with year code Lubo Excel Worksheet Functions 2 November 8th 05 12:42 PM
Macro for changing text to Proper Case JPriest Excel Worksheet Functions 3 August 8th 05 09:31 PM


All times are GMT +1. The time now is 04:43 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"