Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ab565
 
Posts: n/a
Default Assigning text values to numeric fields


How do I assign a text value to a numeric field? For example, If the
pre-determined value in a field is 1, I want it to automatically update
to "Marketing". Thanks


--
ab565
------------------------------------------------------------------------
ab565's Profile: http://www.excelforum.com/member.php...o&userid=26199
View this thread: http://www.excelforum.com/showthread...hreadid=395050

  #2   Report Post  
Michael
 
Posts: n/a
Default

If you have a set number of numeric values, you could create a separate table
of those, for example, in A1 thru B4:

ID No. Department
1 Marketing
2 Accounting
3 Sales

You could then use VLOOKUP: If your numeric item is in C2, the formula
would be
=VLOOKUP(C2,A$1$:B$4$,2,False). I find it best to have the data table on a
separate sheet. Use the VLOOKUP function from the formula bar (Excel 2003).
HTH

--
Sincerely, Michael Colvin


"ab565" wrote:


How do I assign a text value to a numeric field? For example, If the
pre-determined value in a field is 1, I want it to automatically update
to "Marketing". Thanks


--
ab565
------------------------------------------------------------------------
ab565's Profile: http://www.excelforum.com/member.php...o&userid=26199
View this thread: http://www.excelforum.com/showthread...hreadid=395050


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
Comparing text and returning boolean values nicoleeee Excel Discussion (Misc queries) 9 December 2nd 05 10:43 AM
How do I LOOKUP text values Amber C-W Excel Worksheet Functions 4 July 20th 05 05:27 PM
Database text converted to numeric Estie Excel Discussion (Misc queries) 2 April 21st 05 01:19 AM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
text and values combined in one cel Bart Excel Discussion (Misc queries) 1 December 14th 04 08:36 AM


All times are GMT +1. The time now is 06:29 AM.

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"