#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default VLOOKUP values

Is there a way to write a vlookup using multiple lookup_values in 1 formula?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default VLOOKUP values

Hi,

It can be done with Vlookup in some circumstances but more often is done
with Index match. What are you trying to do?

Mike

"dannyboy8" wrote:

Is there a way to write a vlookup using multiple lookup_values in 1 formula?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default VLOOKUP values

Absolutely.

Concatenate your data into one column and make sure that the resulting data
is also a cell in the left column of your look-up array (table range).

For example: IF cell B1 contains an "A" and C1 contains a "B" and D1
contains "C" and you need to lookup "ABC", then in column A1 enter the
concatenating forumla:

=B1&C1&D1

to get "ABC".

Now, assuming there is a cell with "ABC" in the left column of the lookup
range, BINGO ... your vLookUp formula will work.

Good Luck.

"dannyboy8" wrote:

Is there a way to write a vlookup using multiple lookup_values in 1 formula?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default VLOOKUP values

I am trying to lookup 2 values in the same column A and get the sum of these
2 lookup values, which are also in the same column (say column B for
arguements sake)

"Mike H" wrote:

Hi,

It can be done with Vlookup in some circumstances but more often is done
with Index match. What are you trying to do?

Mike

"dannyboy8" wrote:

Is there a way to write a vlookup using multiple lookup_values in 1 formula?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default VLOOKUP values

maybe this

=SUMPRODUCT((A1:A20={"cat","Dog"})*(B1:B20))

Which finds cat or dog and sums the corresponding cells in B

Mike

"dannyboy8" wrote:

I am trying to lookup 2 values in the same column A and get the sum of these
2 lookup values, which are also in the same column (say column B for
arguements sake)

"Mike H" wrote:

Hi,

It can be done with Vlookup in some circumstances but more often is done
with Index match. What are you trying to do?

Mike

"dannyboy8" wrote:

Is there a way to write a vlookup using multiple lookup_values in 1 formula?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default VLOOKUP values

Mike, is this a CTRL+SHIFT+ENTER formula?

"Mike H" wrote:

maybe this

=SUMPRODUCT((A1:A20={"cat","Dog"})*(B1:B20))

Which finds cat or dog and sums the corresponding cells in B

Mike

"dannyboy8" wrote:

I am trying to lookup 2 values in the same column A and get the sum of these
2 lookup values, which are also in the same column (say column B for
arguements sake)

"Mike H" wrote:

Hi,

It can be done with Vlookup in some circumstances but more often is done
with Index match. What are you trying to do?

Mike

"dannyboy8" wrote:

Is there a way to write a vlookup using multiple lookup_values in 1 formula?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default VLOOKUP values

Nope

"dannyboy8" wrote:

Mike, is this a CTRL+SHIFT+ENTER formula?

"Mike H" wrote:

maybe this

=SUMPRODUCT((A1:A20={"cat","Dog"})*(B1:B20))

Which finds cat or dog and sums the corresponding cells in B

Mike

"dannyboy8" wrote:

I am trying to lookup 2 values in the same column A and get the sum of these
2 lookup values, which are also in the same column (say column B for
arguements sake)

"Mike H" wrote:

Hi,

It can be done with Vlookup in some circumstances but more often is done
with Index match. What are you trying to do?

Mike

"dannyboy8" wrote:

Is there a way to write a vlookup using multiple lookup_values in 1 formula?

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 multiple values - sum returned values into single cell se7098 Excel Worksheet Functions 12 April 2nd 23 07:32 PM
vlookup not looking through all the values vlad Excel Worksheet Functions 1 September 5th 07 07:10 PM
vlookup between values [email protected] Excel Discussion (Misc queries) 1 August 16th 06 09:35 AM
vlookup, multiple values, sum values into one cell?? Phillips L Excel Worksheet Functions 4 November 9th 05 12:31 AM
vlookup with 2 values NITESH G Excel Discussion (Misc queries) 2 November 8th 05 08:24 AM


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