Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Receive data in column with pull down

Hello,

I have a question regarding a pull down. I have two worksheets. In the fist
worksheet i have a pull down. In the second worksheet i have about 30 columns
that look like this

Column1 Column2 Column3 ...etc

Name1 Name2 Name3 ... etc
2 3 1
3 1 3
1 5 6
5 3 9
4 8 5
3 4 1
6 8 6
7 9 3
etc etc etc

What i would like to have is that if i select a name in the pull down
(sheet1) it receives the data of the whole column. So when i select name1,
the data under the pull down will be the same as the data that is under name1
in sheet2.

Hopefully i made clear what i want. Any help is appreciated

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 376
Default Receive data in column with pull down

Hi

assuming your dropdown is in cell B1 of Sheet1 then
enter in B2
=INDEX(Sheet2!$A:$AD,ROWS($1:2),MATCH(Sheet1!$B$1, Sheet2!$A$1:$AD$1,0))
Copy down as far as required
--
Regards
Roger Govier

TooN wrote:
Hello,

I have a question regarding a pull down. I have two worksheets. In the fist
worksheet i have a pull down. In the second worksheet i have about 30 columns
that look like this

Column1 Column2 Column3 ...etc

Name1 Name2 Name3 ... etc
2 3 1
3 1 3
1 5 6
5 3 9
4 8 5
3 4 1
6 8 6
7 9 3
etc etc etc

What i would like to have is that if i select a name in the pull down
(sheet1) it receives the data of the whole column. So when i select name1,
the data under the pull down will be the same as the data that is under name1
in sheet2.

Hopefully i made clear what i want. Any help is appreciated

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Receive data in column with pull down

With names in Row1 of Sheet2; and the lookup name in Sheet1 cell A1 apply the
below formula to cell A2 and copy down as required.......Try changing the
names in cell A1.

=IF(OFFSET(Sheet2!$A$1,ROW()-1,MATCH($A$1,Sheet2!$1:$1,0)-1)="","",
OFFSET(Sheet2!$A$1,ROW()-1,MATCH($A$1,Sheet2!$1:$1,0)-1))

--
Jacob (MVP - Excel)


"TooN" wrote:

Hello,

I have a question regarding a pull down. I have two worksheets. In the fist
worksheet i have a pull down. In the second worksheet i have about 30 columns
that look like this

Column1 Column2 Column3 ...etc

Name1 Name2 Name3 ... etc
2 3 1
3 1 3
1 5 6
5 3 9
4 8 5
3 4 1
6 8 6
7 9 3
etc etc etc

What i would like to have is that if i select a name in the pull down
(sheet1) it receives the data of the whole column. So when i select name1,
the data under the pull down will be the same as the data that is under name1
in sheet2.

Hopefully i made clear what i want. Any help is appreciated

Thanks

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
How to pull in rows based on Column A data? Chris Lukowski Excel Worksheet Functions 2 August 5th 08 03:59 PM
Send and Receive Data From Web Site Into UserForm TextBoxes Minitman Excel Discussion (Misc queries) 0 August 4th 08 05:33 PM
Pull value from column heading Cecilia Excel Worksheet Functions 1 June 19th 07 12:37 AM
can vlookup pull from 2 columns into 1 column? jennifer Excel Worksheet Functions 4 May 11th 07 04:48 AM
How do I pull out every nth value from a column of data in excel? m.mines Excel Discussion (Misc queries) 8 August 9th 06 09:16 PM


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