Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Member
 
Location: Birmingham
Posts: 35
Default IF ARRAY with multiple conditions.

Need help with this formula... An example of data split between two sheets...

'Sheet 1'

|----A----|----B----
1 18/01/12-----1
2 14/05/10-----2
3 12/10/11-----5
4 26/01/08-----5
5 10/11/12-----4
6 04/02/09-----7
7 10/11/12-----9

'Sheet 2'

|----A----|----B----
1 16/11/12-----2
2 07/12/10-----2
3 26/01/08-----3
4 09/08/12-----1
5 30/06/08-----6
6 10/11/12-----4
7 03/05/11-----1

In 'Sheet 2' I want to look up the date in A1 against all the dates in column A of 'Sheet 1'

I know to do this is to put in C1 =IF(A6=(Sheet1!$A$1:$A$6),"Possible Match","No Match")

This would make cells C3 & C6 say 'Possible Match' as both of the dates in A3 & A6 can be found in the range of dates in 'Sheet 1'

Following on from that, all cells in column C which then read "Possible Match", I need to look up the value in colum B.

If that's do-able then only C6 should read "Possible Match" as the date in A6 can be found in the range of dates in 'Sheet 1' TWICE but only B6 the same value of the matching date.



Hope that makes sense.

Thanks in advance.

Jay
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Jay07 View Post
Need help with this formula... An example of data split between two sheets...

'Sheet 1'

|----A----|----B----
1 18/01/12-----1
2 14/05/10-----2
3 12/10/11-----5
4 26/01/08-----5
5 10/11/12-----4
6 04/02/09-----7
7 10/11/12-----9

'Sheet 2'

|----A----|----B----
1 16/11/12-----2
2 07/12/10-----2
3 26/01/08-----3
4 09/08/12-----1
5 30/06/08-----6
6 10/11/12-----4
7 03/05/11-----1

In 'Sheet 2' I want to look up the date in A1 against all the dates in column A of 'Sheet 1'

I know to do this is to put in C1 =IF(A6=(Sheet1!$A$1:$A$6),"Possible Match","No Match")

This would make cells C3 & C6 say 'Possible Match' as both of the dates in A3 & A6 can be found in the range of dates in 'Sheet 1'

Following on from that, all cells in column C which then read "Possible Match", I need to look up the value in colum B.

If that's do-able then only C6 should read "Possible Match" as the date in A6 can be found in the range of dates in 'Sheet 1' TWICE but only B6 the same value of the matching date.



Hope that makes sense.

Thanks in advance.

Jay
Any chance of a sample workbook, please?
Makes it far easier to provide a useful and prompt reply...
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default IF ARRAY with multiple conditions.

Try this:

=IF((Sheet1!$A$1:$A$5=$A3)*(Sheet1!$B$1:$B$5=Sheet 2!$B3),"Possible Match","No Match")
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
Array Average - Multiple Conditions? Ted[_5_] Excel Worksheet Functions 2 August 3rd 09 10:59 PM
Array Formula With Multiple Conditions JR573PUTT Excel Discussion (Misc queries) 3 February 16th 06 11:37 PM
Array formula with 2 conditions... JR573PUTT Excel Discussion (Misc queries) 0 February 16th 06 08:44 PM
Multiple Conditions Setup with an Array?? Not Working?? TEAM Excel Worksheet Functions 2 August 5th 05 08:40 PM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


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