LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Data entry and lookup

I would like to create an Excel form in which I can enter a value into a
cell, and that value would be replaced by a different value taken from a
table. For instance, if I type in the value 102 in cell A1, then cell A1
would display the string "Text 3" which would be obtained from column two of
Table 1. Other values for A1 would be substituted similarly with the values
from Column 2, based on the value of Column 1.

Table 1

Column 1 Column 2
100 Text 1
101 Text 2
102 Text 3
103 Text 4
104 Text 5

I have seen the Match and Lookup commands used to do these sorts of things.
However, in the examples that I have seen, the value that is used to look up
the value in column 2 is incorporated into the formula; i.e., it is a fixed
value. Is there a way to use these or other commands to accept the value
entered into the cell as the value to use in the lookup process to return a
different value for the cell?

I am new to this so is this something that is best acheived using VBA, one
of Excel's built in macros, or ?? Finally, is there a good reference article
or book for people that don't do much programming that describes how to do
these sorts of things.

Much thanks!

--
Duane
 
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
Control Data Entry - push entry to next cell Ofelia Excel Discussion (Misc queries) 0 July 7th 08 04:19 PM
Auto entry of data based on entry of text in another column or fie Judy Rose Excel Discussion (Misc queries) 2 May 21st 08 01:14 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing [email protected] Excel Discussion (Misc queries) 0 March 20th 08 12:45 PM
Cell Entry That Locks Selected Cells From Any Data Entry. ron Excel Worksheet Functions 5 February 16th 07 09:52 PM
Bypass entry of data from Lookup Table Jim May Excel Programming 2 October 8th 05 09:53 PM


All times are GMT +1. The time now is 05:16 AM.

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

About Us

"It's about Microsoft Excel"