Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default how to generate data from a list on excel from another worksheet?

hi, i'm stuck.

I'm trying generate a data from a list on excel. Basically I have a table
on one worksheet and I have a list on another selecting the first value in
each row. This bit works fine.
What I am trying to do is generate the rest of the data on that row for the
thing I select from the list.

Please Help!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 527
Default how to generate data from a list on excel from another worksheet?

Hi Carole

I think you need VLOOKUP. say you have the following table named SalesTeam
in A1:B5

Ref Sales Person
Jne Jane Willoughby
Jon John Slazinger
Ptr Peter Atherton
Tom Tomas Radzinski

If you type jne (the value to look up) in say d2 and
=VLOOKUP(D2,SalesTeam,2,0) in E2. E2 will return Jane Willoughby. Change the
2 to 3 in F2 to add another column to return and so on.

The table must be sorted on the ref column for LOOKUP to work correctly. If
the lookup value is not in the table Excel returns #N/A

Regards
Peter

"carole" wrote:

hi, i'm stuck.

I'm trying generate a data from a list on excel. Basically I have a table
on one worksheet and I have a list on another selecting the first value in
each row. This bit works fine.
What I am trying to do is generate the rest of the data on that row for the
thing I select from the list.

Please Help!!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default how to generate data from a list on excel from another workshe

I tried what you said and it works now.
Thank you very much.

Carole x

"Billy Liddel" wrote:

Hi Carole

I think you need VLOOKUP. say you have the following table named SalesTeam
in A1:B5

Ref Sales Person
Jne Jane Willoughby
Jon John Slazinger
Ptr Peter Atherton
Tom Tomas Radzinski

If you type jne (the value to look up) in say d2 and
=VLOOKUP(D2,SalesTeam,2,0) in E2. E2 will return Jane Willoughby. Change the
2 to 3 in F2 to add another column to return and so on.

The table must be sorted on the ref column for LOOKUP to work correctly. If
the lookup value is not in the table Excel returns #N/A

Regards
Peter

"carole" wrote:

hi, i'm stuck.

I'm trying generate a data from a list on excel. Basically I have a table
on one worksheet and I have a list on another selecting the first value in
each row. This bit works fine.
What I am trying to do is generate the rest of the data on that row for the
thing I select from the list.

Please Help!!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 527
Default how to generate data from a list on excel from another workshe

Carole

Your'e welcome

Regards
Peter

"carole" wrote:

I tried what you said and it works now.
Thank you very much.

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
generate a list from a single row of data Fred Excel Discussion (Misc queries) 4 February 16th 07 05:01 PM
How do I query a List to generate source data for a chart? WaucomaPam Excel Worksheet Functions 0 October 7th 06 01:52 AM
How to generate a function from the given data list(Y and X) Kerry Excel Worksheet Functions 2 May 11th 06 02:14 AM
generate a random number and use if function to generate new data Dogdoc1142 Excel Worksheet Functions 4 April 26th 06 03:44 AM
Compare worksheets and generate list of missing data? Minuette Excel Worksheet Functions 4 November 3rd 05 01:37 PM


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