Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ivan Thorn
 
Posts: n/a
Default How can VLOOKUP identify between multiple choices for > 1 batch?

We are a manufacturing unit and produce mulitple items from one job. So Job
"A" may result in products "B" & "C". VLOOKUP will only find the first
instance when running stock reports as it only searches on 1 column. Is
there a way to have this function look at multiple (2 columns) and return a
value?


  #2   Report Post  
arno
 
Posts: n/a
Default

Hi Ivan,

Is there a way to have this function look at multiple (2
columns) and return a value?


you can add a column to your data that combines the 2 columns just by
eg. formula in A1 =B1&C1. if this formula is in the first column of
your data, vlookup will find it. However, this will only work correctly
if B1&C1 is a unique value.

arno

  #3   Report Post  
Franz
 
Posts: n/a
Default

"Ivan Thorn" <Ivan ha scritto nel messaggio


We are a manufacturing unit and produce mulitple items from one job.
So Job "A" may result in products "B" & "C". VLOOKUP will only find
the first instance when running stock reports as it only searches on
1 column. Is there a way to have this function look at multiple (2
columns) and return a value?



Maybe you can find some ideas at Chip Pearson's site:

http://www.cpearson.com/excel/lookups.htm

--
Hoping to be helpful...

Regards

Franz

----------------------------------------------------------------------------------------
To reply translate from italian InVento (no capital letters)
----------------------------------------------------------------------------------------


  #4   Report Post  
Ivan
 
Posts: n/a
Default

Thankyou, I feel so stupid to have missed this, but it works a treat

Thanks again



"arno" wrote:

Hi Ivan,

Is there a way to have this function look at multiple (2
columns) and return a value?


you can add a column to your data that combines the 2 columns just by
eg. formula in A1 =B1&C1. if this formula is in the first column of
your data, vlookup will find it. However, this will only work correctly
if B1&C1 is a unique value.

arno


  #5   Report Post  
arno
 
Posts: n/a
Default

Hi Ivan,

...it works a treat


glad to hear that. However, pls. consider the link franz suggested. in
my solution you need an extra column with formulas with the "key" to
the database and a simple lookup. the other solution does not require
an extra column, however, the lookup is a bit tricky.

arno

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 do I use vlookup for multiple occurrences of the same value bj Excel Worksheet Functions 0 April 27th 05 10:43 PM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM
vlookup with multiple lines of same value lostinexcel Excel Worksheet Functions 1 December 17th 04 02:06 PM
vlookup over multiple worksheets Neil Excel Worksheet Functions 3 December 16th 04 08:19 PM
Multiple Vlookup? changeable Excel Worksheet Functions 0 November 9th 04 11:52 AM


All times are GMT +1. The time now is 07:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"