>= in match formula with multiple criteria

eggman2001

New Member
Joined
Jun 18, 2011
Messages
6
Let's say I have a date in A1 and dates in B:C where the date in column B is always smaller than the date in column B.

I'd like to find the row in B:C where A1 >= B and A1 <= C. I'm thinking that I should use something like:
match(A1&A1, ">="&B:B&"<="&C:C, 0) although I know the second argument isn't structured correctly.

Can someone tell me the correct structure here?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi

Try this array formula:

=MATCH(1,(A1>=B:B)*(A1<=C:C),0)

Confirm with Ctrl+Shift+Enter
 
Upvote 0
1. Are there 'gaps' in the column B:C dates? What I mean by that: Is it possible that a date in cell A1 does not fall into any of the date ranges in B:C?

2. Are the dates in column B sorted ascending? Or could they be?
 
Upvote 0
1. Are there 'gaps' in the column B:C dates? What I mean by that: Is it possible that a date in cell A1 does not fall into any of the date ranges in B:C?

2. Are the dates in column B sorted ascending? Or could they be?

1 - There are no gaps. The date in cell A1 will fall into one of the date ranges in B:C

2 - The dates in B:C are descending and do not overlap
 
Upvote 0
2 - The dates in B:C are descending and do not overlap
Could they be ascending as asked in my last post? If so, I think this is what you are asking.

Excel Workbook
BCDEF
1Date 1Date 2Date of Interest:19-Mar-11
201-Jan-1115-Jan-11Row:7
316-Jan-1130-Jan-11
431-Jan-1114-Feb-11
515-Feb-1101-Mar-11
602-Mar-1116-Mar-11
717-Mar-1131-Mar-11
801-Apr-1115-Apr-11
916-Apr-1130-Apr-11
1001-May-1115-May-11
Date Row
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,348
Members
452,907
Latest member
Roland Deschain

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top