#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default VLookup

Hi Experts,
In Sheet 3 of my workbook I'm using an
=IF(ISNA(VLOOKUP('Sheet2'!B2,'Sheet1'!E2:E40770,1, FALSE)),"",VLOOKUP('Sheet2'!B2,'Sheet1'!E2:E40770, 1,FALSE)))
command to return matching part numbers of a small list in column B of Sheet2
from a large list of 40,000 part numbers in Column E of Sheet 1. this is
simple enough, but what I'd like to be able to do is also list values such as
warehouse# (Column A, Sheet 1) and the stock code (Column B, Sheet 2) for the
part that would be on the same row on Sheet 1. How can I write a command
that when there is a vlookup match of the part number, it returns values of
other columns from the same row aswell???
Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default VLookup

I am sure this can be done with formula's, but it might be worth it to look
into using SQL on sheet ranges.
If you want to give this a try look at the post in this NG on 2 December
2005:
Count duplicates in an array.

RBS


"DA@PD" wrote in message
...
Hi Experts,
In Sheet 3 of my workbook I'm using an
=IF(ISNA(VLOOKUP('Sheet2'!B2,'Sheet1'!E2:E40770,1, FALSE)),"",VLOOKUP('Sheet2'!B2,'Sheet1'!E2:E40770, 1,FALSE)))
command to return matching part numbers of a small list in column B of
Sheet2
from a large list of 40,000 part numbers in Column E of Sheet 1. this is
simple enough, but what I'd like to be able to do is also list values such
as
warehouse# (Column A, Sheet 1) and the stock code (Column B, Sheet 2) for
the
part that would be on the same row on Sheet 1. How can I write a command
that when there is a vlookup match of the part number, it returns values
of
other columns from the same row aswell???
Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default VLookup

Thanks for your help, I think I found the solution to my problem in the
"Vlookup & Offset" post from 12/1.


"DA@PD" wrote:

Hi Experts,
In Sheet 3 of my workbook I'm using an
=IF(ISNA(VLOOKUP('Sheet2'!B2,'Sheet1'!E2:E40770,1, FALSE)),"",VLOOKUP('Sheet2'!B2,'Sheet1'!E2:E40770, 1,FALSE)))
command to return matching part numbers of a small list in column B of Sheet2
from a large list of 40,000 part numbers in Column E of Sheet 1. this is
simple enough, but what I'd like to be able to do is also list values such as
warehouse# (Column A, Sheet 1) and the stock code (Column B, Sheet 2) for the
part that would be on the same row on Sheet 1. How can I write a command
that when there is a vlookup match of the part number, it returns values of
other columns from the same row aswell???
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
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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