#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Data Retrieval


I'm working with Job #'s and each Job # is specified with a name.
In the first cell I want to put the job# and have it retrieve the job name
in the next cell over.

As an example I put in 0001 in A1 and in A2 the text SampleJob will appear.
I understand this will have to pull from an outside list of information most
likely, but I'm not sure how to go about doing it.

Any help?

-K
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Data Retrieval

You'd want to use Vlookup().

Check out this web page of Debra Dalgleish on the subject:

http://www.contextures.com/xlFunctions02.html

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"pkpocket" wrote in message
...

I'm working with Job #'s and each Job # is specified with a name.
In the first cell I want to put the job# and have it retrieve the job name
in the next cell over.

As an example I put in 0001 in A1 and in A2 the text SampleJob will
appear.
I understand this will have to pull from an outside list of information
most
likely, but I'm not sure how to go about doing it.

Any help?

-K



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Data Retrieval

We can use something called VLOOKUP.

First we create the table from which we can look things up. Say in J1 thru
K10 we have:

1 butcher
2 baker
3 candlestick maker
4 doctor
5 lawyer
6 policeman
7 fireman
8 teacher
9 preacher
10 tired programmer

In A1 thru A20 we have:

7
1
5
8
2
4
3
8
5
8
3
7
4
9
4
2
2
9
5
8

In B2 enter:

=VLOOKUP(A1,$J$1:$K$20,2) and copy down. We see:

7 fireman
1 butcher
5 lawyer
8 teacher
2 baker
4 doctor
3 candlestick maker
8 teacher
5 lawyer
8 teacher
3 candlestick maker
7 fireman
4 doctor
9 preacher
4 doctor
2 baker
2 baker
9 preacher
5 lawyer
8 teacher

--
Gary''s Student - gsnu200748


"pkpocket" wrote:


I'm working with Job #'s and each Job # is specified with a name.
In the first cell I want to put the job# and have it retrieve the job name
in the next cell over.

As an example I put in 0001 in A1 and in A2 the text SampleJob will appear.
I understand this will have to pull from an outside list of information most
likely, but I'm not sure how to go about doing it.

Any help?

-K

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
Auto execute upon workbook retrieval TOMD Excel Discussion (Misc queries) 0 February 7th 07 08:12 PM
Excel Form and Data Retrieval Johnny New Englander Excel Worksheet Functions 0 April 4th 06 09:21 PM
Mass book data retrieval Nigel Excel Discussion (Misc queries) 3 March 22nd 06 09:30 AM
MAC Retrieval sparx Excel Discussion (Misc queries) 0 March 19th 06 08:51 PM
Information retrieval functions Jasen Excel Worksheet Functions 5 February 27th 06 04:57 AM


All times are GMT +1. The time now is 12:53 PM.

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"