In excel 2010 how to you get it to imput a name associated with a number, ex. tab 1 has list of employees and equiptment with a number associated to each, on tab 2 in A1 I inputthe number 10, it auto inputs Joe Smith in B1 because it listed like that on tab 1

tab 1

joe smith -1

joe vos - 2

bob smith - 3

radio 14 - R14

radio 21 - R21

 

tab 2

A1 - I enter 1

B1 - auto enters Joe Smith
by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

2 Answers

by
You need to write an =if( ) function to do this.  It would look something like this

 

=IF(A1=Sheet1!B1,Sheet1!A1,IF(A1=Sheet1!B2,Sheet1!A2,0))

Place this in sheet 2 cell b1

This means that when you type 1 into sheet 2 in cell a1, cell b1 on sheet 2 will automatically be set to the value of cell b1 on sheet 1.
by

Related questions

Welcome to Tech Support Questions, where you can ask questions and receive answers from other members of the community.

Post questions regarding any technology problem including problems with phones and tablets, computers and laptops, windows and apple devices and more. Help other members of the community by answering questions.

Note: Please do not post private information such as passwords or usernames.

5,769 questions
2,928 answers
141 comments
31,545 users