Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default Multiple If/Vlookup/Match

I know this answer is out there somewhere...I just can't seem to get any to
work. What I want to do in Sheet1 is lookup cells A1,A2,A3,A4 in Sheet2
cells A1,A2,A3,A4. If it finds a match of all 4 criteria, then return "OK"
otherwise return "NO MATCH". I am very close with variations of Match,
Vlookup, etc....please help!

Thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Multiple If/Vlookup/Match

=INDEX(Sheet2!E1:E100,MATCH(1,(Sheet2!A1:A100=A1)* (Sheet12!B1:B100=A2)*(Shee
t2!C1:C100=A3)*(Sheet2!D1:D100=A4),0)

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"deeds" wrote in message
...
I know this answer is out there somewhere...I just can't seem to get any

to
work. What I want to do in Sheet1 is lookup cells A1,A2,A3,A4 in Sheet2
cells A1,A2,A3,A4. If it finds a match of all 4 criteria, then return

"OK"
otherwise return "NO MATCH". I am very close with variations of Match,
Vlookup, etc....please help!

Thanks in advance!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Multiple If/Vlookup/Match

Do you mean if the data in A1:A4 is the same as the data in Sheet2!A1:A4 (but
perhaps in a different order), then return "Match"?

Maybe
=IF(SUMPRODUCT(--(ISNUMBER(MATCH(A1:A4,Sheet2!A1:A4,0))))=ROWS(A1:A 4),"Match","No Match")



"deeds" wrote:

I know this answer is out there somewhere...I just can't seem to get any to
work. What I want to do in Sheet1 is lookup cells A1,A2,A3,A4 in Sheet2
cells A1,A2,A3,A4. If it finds a match of all 4 criteria, then return "OK"
otherwise return "NO MATCH". I am very close with variations of Match,
Vlookup, etc....please help!

Thanks in advance!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default Multiple If/Vlookup/Match

Thanks to both of you! I figured out a solution. Thanks for the ideas!

"JMB" wrote:

Do you mean if the data in A1:A4 is the same as the data in Sheet2!A1:A4 (but
perhaps in a different order), then return "Match"?

Maybe
=IF(SUMPRODUCT(--(ISNUMBER(MATCH(A1:A4,Sheet2!A1:A4,0))))=ROWS(A1:A 4),"Match","No Match")



"deeds" wrote:

I know this answer is out there somewhere...I just can't seem to get any to
work. What I want to do in Sheet1 is lookup cells A1,A2,A3,A4 in Sheet2
cells A1,A2,A3,A4. If it finds a match of all 4 criteria, then return "OK"
otherwise return "NO MATCH". I am very close with variations of Match,
Vlookup, etc....please help!

Thanks in advance!

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
Display multiple lines of text within a cell from multiple column. Zeeshan Zaheer Excel Worksheet Functions 3 August 23rd 06 10:08 AM
work with multiple workbooks on separate monitor for 2003 edition mathura Excel Worksheet Functions 1 July 18th 06 05:58 PM
Number of unique attributes that multiple people have rkhuntjr Excel Discussion (Misc queries) 4 July 26th 05 04:15 AM
How do i auto create multiple files from 1 with multiple sheets Kathy Excel Worksheet Functions 0 July 26th 05 01:23 AM
Adding multiple worksheets Craig Excel Worksheet Functions 1 July 6th 05 07:21 PM


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