Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Greg
 
Posts: n/a
Default vLookup - display multiple rows

I have the following information:
A B C D
1 Part
2 12345
3 12345 nut galv 3/4"

I created a vlookup in cell A2 and wish to display multiple rows of data
from A3 thru A200, and over 4 columns. Everytime the part number changes I'd
like the rows to change. Any help would be appreciated. Thanks, Greg


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default vLookup - display multiple rows

Hi Greg

If you have multiple lines of data with the same part number, Vlookup isn't
going to allow you to display all of the rows. It will only display
information from the row where it finds the first occurrence of the part in
column A.

Instead, take a look at Autofilter.
Create headings in row 1 of your sheet.
DataFilterAutofilter and use the dropdown on Part to select the number
required, and all rows with that data will be visible.

Regards

Roger Govier


Greg wrote:
I have the following information:
A B C D
1 Part
2 12345
3 12345 nut galv 3/4"

I created a vlookup in cell A2 and wish to display multiple rows of data
from A3 thru A200, and over 4 columns. Everytime the part number changes I'd
like the rows to change. Any help would be appreciated. Thanks, Greg


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Greg
 
Posts: n/a
Default vLookup - display multiple rows

Roger,
I agree with you, however I was hoping to have some vb code support to
provide automation. I rather save my key strokes. But thanks anyways. Greg

"Roger Govier" wrote:

Hi Greg

If you have multiple lines of data with the same part number, Vlookup isn't
going to allow you to display all of the rows. It will only display
information from the row where it finds the first occurrence of the part in
column A.

Instead, take a look at Autofilter.
Create headings in row 1 of your sheet.
DataFilterAutofilter and use the dropdown on Part to select the number
required, and all rows with that data will be visible.

Regards

Roger Govier


Greg wrote:
I have the following information:
A B C D
1 Part
2 12345
3 12345 nut galv 3/4"

I created a vlookup in cell A2 and wish to display multiple rows of data
from A3 thru A200, and over 4 columns. Everytime the part number changes I'd
like the rows to change. Any help would be appreciated. Thanks, Greg



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
Count on multiple values with duplicate rows Carla Excel Worksheet Functions 1 November 22nd 05 09:25 PM
Multiple if or multiple vlookup Robo Excel Worksheet Functions 4 November 14th 05 01:48 PM
Can VLookup function find and list multiple records? Rich - SG Excel Worksheet Functions 11 July 5th 05 07:44 PM
How to display multiple pages on one large monitor mrkrug3 Excel Discussion (Misc queries) 1 June 24th 05 01:33 AM
Multiple rows of data on a single axis (charting) ramseysgirl Charts and Charting in Excel 8 December 29th 04 06:00 PM


All times are GMT +1. The time now is 07:25 AM.

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"