Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
zan123
 
Posts: n/a
Default Data in column predetermined by what has been entered in previous

Example: If a code (i.e., 1, 2, 3, etc.) is placed in column A, can the
choice of the code in column A assign a predetermined entry (always the same
for each code) in column B? If so how do you assign each "code" the specific
statement that will follow in column B?

I.E. Placing #1 in column A with automatically (and always) put "blue eyes"
in column B.
  #2   Report Post  
Gary Brown
 
Posts: n/a
Default

Check out the VLookup function in HELP.
HTH,
Gary Brown


"zan123" wrote:

Example: If a code (i.e., 1, 2, 3, etc.) is placed in column A, can the
choice of the code in column A assign a predetermined entry (always the same
for each code) in column B? If so how do you assign each "code" the specific
statement that will follow in column B?

I.E. Placing #1 in column A with automatically (and always) put "blue eyes"
in column B.

  #3   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

create a table of codes and explanations

In B2 for example put in a formula

=if(A2<"",vlookup(A2,Table,0,2),False),"")

where table would be something like

sheet2!A1:B30

--
Regards,
Tom Ogilvy


"zan123" wrote in message
...
Example: If a code (i.e., 1, 2, 3, etc.) is placed in column A, can the
choice of the code in column A assign a predetermined entry (always the

same
for each code) in column B? If so how do you assign each "code" the

specific
statement that will follow in column B?

I.E. Placing #1 in column A with automatically (and always) put "blue

eyes"
in column B.



  #4   Report Post  
zan123
 
Posts: n/a
Default

Thanks!

"zan123" wrote:

Example: If a code (i.e., 1, 2, 3, etc.) is placed in column A, can the
choice of the code in column A assign a predetermined entry (always the same
for each code) in column B? If so how do you assign each "code" the specific
statement that will follow in column B?

I.E. Placing #1 in column A with automatically (and always) put "blue eyes"
in column B.

  #5   Report Post  
zan123
 
Posts: n/a
Default

Did I thank you? If not - Thanks!

"Tom Ogilvy" wrote:

create a table of codes and explanations

In B2 for example put in a formula

=if(A2<"",vlookup(A2,Table,0,2),False),"")

where table would be something like

sheet2!A1:B30

--
Regards,
Tom Ogilvy


"zan123" wrote in message
...
Example: If a code (i.e., 1, 2, 3, etc.) is placed in column A, can the
choice of the code in column A assign a predetermined entry (always the

same
for each code) in column B? If so how do you assign each "code" the

specific
statement that will follow in column B?

I.E. Placing #1 in column A with automatically (and always) put "blue

eyes"
in column B.






  #6   Report Post  
zan123
 
Posts: n/a
Default

Thanks!

"Gary Brown" wrote:

Check out the VLookup function in HELP.
HTH,
Gary Brown


"zan123" wrote:

Example: If a code (i.e., 1, 2, 3, etc.) is placed in column A, can the
choice of the code in column A assign a predetermined entry (always the same
for each code) in column B? If so how do you assign each "code" the specific
statement that will follow in column B?

I.E. Placing #1 in column A with automatically (and always) put "blue eyes"
in column B.

  #7   Report Post  
Gord Dibben
 
Posts: n/a
Default

Sounds like VLOOKUP could do the trick.

For more on that Function see Debra Dalgleish's site.

http://www.contextures.on.ca/xlFunctions02.html

Also see Debra's site for info on Data Validation lists with drop-down box for
entering the code numbers.

http://www.contextures.on.ca/xlDataVal01.html

Might be useful.


Gord Dibben Excel MVP

On Wed, 23 Feb 2005 10:57:02 -0800, zan123
wrote:

Example: If a code (i.e., 1, 2, 3, etc.) is placed in column A, can the
choice of the code in column A assign a predetermined entry (always the same
for each code) in column B? If so how do you assign each "code" the specific
statement that will follow in column B?

I.E. Placing #1 in column A with automatically (and always) put "blue eyes"
in column B.


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 Cells and Displaying Data Keith Brown Excel Worksheet Functions 1 February 9th 05 05:42 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
filling a forumla down a column from data across a row Doug Excel Worksheet Functions 2 December 9th 04 08:55 PM
Can you average data in 1 column based on a range of values in another? kman24 Excel Worksheet Functions 2 November 17th 04 02:09 PM
getting data from 2 excel sheets automatically pinar Excel Worksheet Functions 0 November 9th 04 11:47 AM


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