Data in column predetermined by what has been entered in previous

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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
 
Did I thank you? If not - Thanks!

Tom Ogilvy said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top