Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joe Gieder
 
Posts: n/a
Default Using Match with multiple criteria

First, thank you in advance for helping and sorry for the lenghty post, I
tried to be clear and give a sample of the data I use.
I use this array entered formula:
=IF(ISNA(MATCH($K3&$W3, PN&Supplier*(Quoted<"Yes")*(Updated<"Yes"),
0)),"",INDEX(Certs,MATCH($K3&$W3, PN
&Supplier*(Quoted<"Yes")*(Updated<"Yes"), 0)))
but it doesn't work. The problem is in the *(Quoted<"Yes")*(Updated<"Yes")
part because if I leave it out it works but it gives the wrong result. A
sample of the information I use is:

PN Certs Supplier Quoted Updated
01034AY218201-101 ABC Yes Yes
980452-101 ABC Yes Yes
B44222004-101 ABC Yes Yes
B44506001-101 XYZ Yes
B44506003-101 XYZ Yes
B44506004-107 XYZ Yes
B44506005-101 XYZ Yes
B44506006-101 XYZ Yes
B44506007-101 XYZ Yes
B44663041-101 ABC Yes Yes
B44663041-102 ABC Yes Yes
B44663075-101 ABC Yes Yes
B44663075-102 ABC Yes Yes
GSK112-1-C XYZ Yes
GSK90-1-C XYZ Yes
B44223090-101 ABC Yes Yes
B44506006-101 XYZ Yes
B44506001-101 XYZ Yes
B44506003-101 XYZ Yes
B44506004-107 XYZ Yes
B44506005-101 XYZ Yes
B44506007-101 XYZ Yes
01034DL218202-101 $550.00 ABC
944483-107 $550.00 ABC
B44222009-101 ABC Yes Yes
B44223094-103 ABC Yes Yes
GSK90-1-C $550.00 XYZ
B44506006-101 $550.00 XYZ
B44506003-101 $550.00 XYZ
B44506001-101 $550.00 XYZ
B44506007-101 $550.00 XYZ
B44506005-101 $550.00 XYZ
B44506004-107 $550.00 XYZ
GSK112-1-C $550.00 XYZ
01034AY218201-101 $100.00 ABC
980452-101 $100.00 ABC
B44222004-101 $100.00 ABC
B44223090-101 $100.00 ABC
B44663041-101 $100.00 ABC
B44663041-102 $100.00 ABC
B44663075-101 $100.00 ABC
B44663075-102 $100.00 ABC
B44223094-103 $100.00 ABC
B44222009-101 $100.00 ABC

On a separate tab I have these part numbers and suppliers:
944483-107 ABC
01034DL218202-101 ABC
01034AY218201-101 ABC
980452-101 ABC
B44222004-101 ABC
B44223090-101 ABC
GSK90-1-C XYZ
B44506006-101 XYZ
B44506003-101 XYZ
B44506001-101 XYZ
B44506007-101 XYZ
B44506005-101 XYZ
B44506004-107 XYZ
GSK112-1-C XYZ
B44663041-101 ABC
B44663041-102 ABC
B44663075-101 ABC
B44663075-102 ABC
B44222009-101 ABC
B44223094-103 ABC

What I'm trying to get the above formula to do is:
GSK90-1-C $550.00 XYZ
B44506006-101 $550.00 XYZ
B44506003-101 $550.00 XYZ
B44506001-101 $550.00 XYZ
B44506007-101 $550.00 XYZ
B44506005-101 $550.00 XYZ
B44506004-107 $550.00 XYZ
GSK112-1-C $550.00 XYZ
01034AY218201-101 $100.00 ABC
980452-101 $100.00 ABC
B44222004-101 $100.00 ABC
B44223090-101 $100.00 ABC
B44663041-101 $100.00 ABC
B44663041-102 $100.00 ABC
B44663075-101 $100.00 ABC
B44663075-102 $100.00 ABC
B44223094-103 $100.00 ABC
B44222009-101 $100.00 ABC

Joe
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

What is the actual value of K3&W3?

PN&Supplier*(Quoted<"Yes")*(Updated<"Yes")

If that portion was constructed properly, that is the lookup_array for K3&W3

The proper syntax for something like that would be:

(PN&Supplier=some_logical_test)*(Quoted<"Yes")*(U pdated<"Yes")

But that will return an array of TRUE'S (or 1's) and FALSES (or 0's) and
K3&W3 doesn't look like it evaluates to either.

Biff

"Joe Gieder" wrote in message
...
First, thank you in advance for helping and sorry for the lenghty post, I
tried to be clear and give a sample of the data I use.
I use this array entered formula:
=IF(ISNA(MATCH($K3&$W3, PN&Supplier*(Quoted<"Yes")*(Updated<"Yes"),
0)),"",INDEX(Certs,MATCH($K3&$W3, PN
&Supplier*(Quoted<"Yes")*(Updated<"Yes"), 0)))
but it doesn't work. The problem is in the
*(Quoted<"Yes")*(Updated<"Yes")
part because if I leave it out it works but it gives the wrong result. A
sample of the information I use is:

PN Certs Supplier Quoted Updated
01034AY218201-101 ABC Yes Yes
980452-101 ABC Yes Yes
B44222004-101 ABC Yes Yes
B44506001-101 XYZ Yes
B44506003-101 XYZ Yes
B44506004-107 XYZ Yes
B44506005-101 XYZ Yes
B44506006-101 XYZ Yes
B44506007-101 XYZ Yes
B44663041-101 ABC Yes Yes
B44663041-102 ABC Yes Yes
B44663075-101 ABC Yes Yes
B44663075-102 ABC Yes Yes
GSK112-1-C XYZ Yes
GSK90-1-C XYZ Yes
B44223090-101 ABC Yes Yes
B44506006-101 XYZ Yes
B44506001-101 XYZ Yes
B44506003-101 XYZ Yes
B44506004-107 XYZ Yes
B44506005-101 XYZ Yes
B44506007-101 XYZ Yes
01034DL218202-101 $550.00 ABC
944483-107 $550.00 ABC
B44222009-101 ABC Yes Yes
B44223094-103 ABC Yes Yes
GSK90-1-C $550.00 XYZ
B44506006-101 $550.00 XYZ
B44506003-101 $550.00 XYZ
B44506001-101 $550.00 XYZ
B44506007-101 $550.00 XYZ
B44506005-101 $550.00 XYZ
B44506004-107 $550.00 XYZ
GSK112-1-C $550.00 XYZ
01034AY218201-101 $100.00 ABC
980452-101 $100.00 ABC
B44222004-101 $100.00 ABC
B44223090-101 $100.00 ABC
B44663041-101 $100.00 ABC
B44663041-102 $100.00 ABC
B44663075-101 $100.00 ABC
B44663075-102 $100.00 ABC
B44223094-103 $100.00 ABC
B44222009-101 $100.00 ABC

On a separate tab I have these part numbers and suppliers:
944483-107 ABC
01034DL218202-101 ABC
01034AY218201-101 ABC
980452-101 ABC
B44222004-101 ABC
B44223090-101 ABC
GSK90-1-C XYZ
B44506006-101 XYZ
B44506003-101 XYZ
B44506001-101 XYZ
B44506007-101 XYZ
B44506005-101 XYZ
B44506004-107 XYZ
GSK112-1-C XYZ
B44663041-101 ABC
B44663041-102 ABC
B44663075-101 ABC
B44663075-102 ABC
B44222009-101 ABC
B44223094-103 ABC

What I'm trying to get the above formula to do is:
GSK90-1-C $550.00 XYZ
B44506006-101 $550.00 XYZ
B44506003-101 $550.00 XYZ
B44506001-101 $550.00 XYZ
B44506007-101 $550.00 XYZ
B44506005-101 $550.00 XYZ
B44506004-107 $550.00 XYZ
GSK112-1-C $550.00 XYZ
01034AY218201-101 $100.00 ABC
980452-101 $100.00 ABC
B44222004-101 $100.00 ABC
B44223090-101 $100.00 ABC
B44663041-101 $100.00 ABC
B44663041-102 $100.00 ABC
B44663075-101 $100.00 ABC
B44663075-102 $100.00 ABC
B44223094-103 $100.00 ABC
B44222009-101 $100.00 ABC

Joe



  #3   Report Post  
Biff
 
Posts: n/a
Default

After thinking about it some more, this may be what you want:

=INDEX(Certs,MATCH(1,(PN&Supplier=$K3&$W3)*(Quoted <"Yes")*(Updated<"Yes"),
0))

Biff

"Biff" wrote in message
...
Hi!

What is the actual value of K3&W3?

PN&Supplier*(Quoted<"Yes")*(Updated<"Yes")

If that portion was constructed properly, that is the lookup_array for
K3&W3

The proper syntax for something like that would be:

(PN&Supplier=some_logical_test)*(Quoted<"Yes")*(U pdated<"Yes")

But that will return an array of TRUE'S (or 1's) and FALSES (or 0's) and
K3&W3 doesn't look like it evaluates to either.

Biff

"Joe Gieder" wrote in message
...
First, thank you in advance for helping and sorry for the lenghty post, I
tried to be clear and give a sample of the data I use.
I use this array entered formula:
=IF(ISNA(MATCH($K3&$W3, PN&Supplier*(Quoted<"Yes")*(Updated<"Yes"),
0)),"",INDEX(Certs,MATCH($K3&$W3, PN
&Supplier*(Quoted<"Yes")*(Updated<"Yes"), 0)))
but it doesn't work. The problem is in the
*(Quoted<"Yes")*(Updated<"Yes")
part because if I leave it out it works but it gives the wrong result. A
sample of the information I use is:

PN Certs Supplier Quoted Updated
01034AY218201-101 ABC Yes Yes
980452-101 ABC Yes Yes
B44222004-101 ABC Yes Yes
B44506001-101 XYZ Yes
B44506003-101 XYZ Yes
B44506004-107 XYZ Yes
B44506005-101 XYZ Yes
B44506006-101 XYZ Yes
B44506007-101 XYZ Yes
B44663041-101 ABC Yes Yes
B44663041-102 ABC Yes Yes
B44663075-101 ABC Yes Yes
B44663075-102 ABC Yes Yes
GSK112-1-C XYZ Yes
GSK90-1-C XYZ Yes
B44223090-101 ABC Yes Yes
B44506006-101 XYZ Yes
B44506001-101 XYZ Yes
B44506003-101 XYZ Yes
B44506004-107 XYZ Yes
B44506005-101 XYZ Yes
B44506007-101 XYZ Yes
01034DL218202-101 $550.00 ABC
944483-107 $550.00 ABC
B44222009-101 ABC Yes Yes
B44223094-103 ABC Yes Yes
GSK90-1-C $550.00 XYZ
B44506006-101 $550.00 XYZ
B44506003-101 $550.00 XYZ
B44506001-101 $550.00 XYZ
B44506007-101 $550.00 XYZ
B44506005-101 $550.00 XYZ
B44506004-107 $550.00 XYZ
GSK112-1-C $550.00 XYZ
01034AY218201-101 $100.00 ABC
980452-101 $100.00 ABC
B44222004-101 $100.00 ABC
B44223090-101 $100.00 ABC
B44663041-101 $100.00 ABC
B44663041-102 $100.00 ABC
B44663075-101 $100.00 ABC
B44663075-102 $100.00 ABC
B44223094-103 $100.00 ABC
B44222009-101 $100.00 ABC

On a separate tab I have these part numbers and suppliers:
944483-107 ABC
01034DL218202-101 ABC
01034AY218201-101 ABC
980452-101 ABC
B44222004-101 ABC
B44223090-101 ABC
GSK90-1-C XYZ
B44506006-101 XYZ
B44506003-101 XYZ
B44506001-101 XYZ
B44506007-101 XYZ
B44506005-101 XYZ
B44506004-107 XYZ
GSK112-1-C XYZ
B44663041-101 ABC
B44663041-102 ABC
B44663075-101 ABC
B44663075-102 ABC
B44222009-101 ABC
B44223094-103 ABC

What I'm trying to get the above formula to do is:
GSK90-1-C $550.00 XYZ
B44506006-101 $550.00 XYZ
B44506003-101 $550.00 XYZ
B44506001-101 $550.00 XYZ
B44506007-101 $550.00 XYZ
B44506005-101 $550.00 XYZ
B44506004-107 $550.00 XYZ
GSK112-1-C $550.00 XYZ
01034AY218201-101 $100.00 ABC
980452-101 $100.00 ABC
B44222004-101 $100.00 ABC
B44223090-101 $100.00 ABC
B44663041-101 $100.00 ABC
B44663041-102 $100.00 ABC
B44663075-101 $100.00 ABC
B44663075-102 $100.00 ABC
B44223094-103 $100.00 ABC
B44222009-101 $100.00 ABC

Joe





  #4   Report Post  
Joe Gieder
 
Posts: n/a
Default

Thank you. It works perfectly. To answer your previous question the value for
K3 is 944483-107 and for W3 is ABC.
What does the portion of the formula "MATCH(1,(" do?

Again, thank you
Joe

"Biff" wrote:

After thinking about it some more, this may be what you want:

=INDEX(Certs,MATCH(1,(PN&Supplier=$K3&$W3)*(Quoted <"Yes")*(Updated<"Yes"),
0))

Biff

"Biff" wrote in message
...
Hi!

What is the actual value of K3&W3?

PN&Supplier*(Quoted<"Yes")*(Updated<"Yes")

If that portion was constructed properly, that is the lookup_array for
K3&W3

The proper syntax for something like that would be:

(PN&Supplier=some_logical_test)*(Quoted<"Yes")*(U pdated<"Yes")

But that will return an array of TRUE'S (or 1's) and FALSES (or 0's) and
K3&W3 doesn't look like it evaluates to either.

Biff

"Joe Gieder" wrote in message
...
First, thank you in advance for helping and sorry for the lenghty post, I
tried to be clear and give a sample of the data I use.
I use this array entered formula:
=IF(ISNA(MATCH($K3&$W3, PN&Supplier*(Quoted<"Yes")*(Updated<"Yes"),
0)),"",INDEX(Certs,MATCH($K3&$W3, PN
&Supplier*(Quoted<"Yes")*(Updated<"Yes"), 0)))
but it doesn't work. The problem is in the
*(Quoted<"Yes")*(Updated<"Yes")
part because if I leave it out it works but it gives the wrong result. A
sample of the information I use is:

PN Certs Supplier Quoted Updated
01034AY218201-101 ABC Yes Yes
980452-101 ABC Yes Yes
B44222004-101 ABC Yes Yes
B44506001-101 XYZ Yes
B44506003-101 XYZ Yes
B44506004-107 XYZ Yes
B44506005-101 XYZ Yes
B44506006-101 XYZ Yes
B44506007-101 XYZ Yes
B44663041-101 ABC Yes Yes
B44663041-102 ABC Yes Yes
B44663075-101 ABC Yes Yes
B44663075-102 ABC Yes Yes
GSK112-1-C XYZ Yes
GSK90-1-C XYZ Yes
B44223090-101 ABC Yes Yes
B44506006-101 XYZ Yes
B44506001-101 XYZ Yes
B44506003-101 XYZ Yes
B44506004-107 XYZ Yes
B44506005-101 XYZ Yes
B44506007-101 XYZ Yes
01034DL218202-101 $550.00 ABC
944483-107 $550.00 ABC
B44222009-101 ABC Yes Yes
B44223094-103 ABC Yes Yes
GSK90-1-C $550.00 XYZ
B44506006-101 $550.00 XYZ
B44506003-101 $550.00 XYZ
B44506001-101 $550.00 XYZ
B44506007-101 $550.00 XYZ
B44506005-101 $550.00 XYZ
B44506004-107 $550.00 XYZ
GSK112-1-C $550.00 XYZ
01034AY218201-101 $100.00 ABC
980452-101 $100.00 ABC
B44222004-101 $100.00 ABC
B44223090-101 $100.00 ABC
B44663041-101 $100.00 ABC
B44663041-102 $100.00 ABC
B44663075-101 $100.00 ABC
B44663075-102 $100.00 ABC
B44223094-103 $100.00 ABC
B44222009-101 $100.00 ABC

On a separate tab I have these part numbers and suppliers:
944483-107 ABC
01034DL218202-101 ABC
01034AY218201-101 ABC
980452-101 ABC
B44222004-101 ABC
B44223090-101 ABC
GSK90-1-C XYZ
B44506006-101 XYZ
B44506003-101 XYZ
B44506001-101 XYZ
B44506007-101 XYZ
B44506005-101 XYZ
B44506004-107 XYZ
GSK112-1-C XYZ
B44663041-101 ABC
B44663041-102 ABC
B44663075-101 ABC
B44663075-102 ABC
B44222009-101 ABC
B44223094-103 ABC

What I'm trying to get the above formula to do is:
GSK90-1-C $550.00 XYZ
B44506006-101 $550.00 XYZ
B44506003-101 $550.00 XYZ
B44506001-101 $550.00 XYZ
B44506007-101 $550.00 XYZ
B44506005-101 $550.00 XYZ
B44506004-107 $550.00 XYZ
GSK112-1-C $550.00 XYZ
01034AY218201-101 $100.00 ABC
980452-101 $100.00 ABC
B44222004-101 $100.00 ABC
B44223090-101 $100.00 ABC
B44663041-101 $100.00 ABC
B44663041-102 $100.00 ABC
B44663075-101 $100.00 ABC
B44663075-102 $100.00 ABC
B44223094-103 $100.00 ABC
B44222009-101 $100.00 ABC

Joe






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
match multiple criteria & return value from array Tat Excel Worksheet Functions 2 June 21st 05 04:31 PM
Multiple Criteria IF Nesting BethB Excel Worksheet Functions 2 May 17th 05 12:14 AM
Finding a record using multiple combo boxes as my search criteria sdg8481 Excel Discussion (Misc queries) 8 March 8th 05 08:36 PM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
Counting "rows", i.e. simultaneous criteria for multiple cells gkline Excel Worksheet Functions 2 November 19th 04 07:30 AM


All times are GMT +1. The time now is 04:36 AM.

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"