Lookup with Multiple criteria within a date range or open ended date

shameela patel

New Member
Joined
Mar 16, 2014
Messages
6
Good Day please can you kindly assist with a formula, I have managed to find half of the formula, where the formula takes a check-out date and check-in date into account,
however I need a formula to take an open ended date into account. as well ,
where Check in Date ="0" .

The formula is looking up the RA from 2 different spreadsheet, taking the tracking Id , date range into account,
Please let me know if you have a simpler formula or 2 separate formulas needs to be used.

You will notice the example given below has both open end date and a check in date

The current formula I am using
LOOKUP(3,1/( 'ASR02'!$K:$K<E3)/( 'ASR02'!$U:$U>=E3)/( 'ASR02'!$B:$B= 'Voucher Engine Raw data'!J3), 'ASR02'!$E:$E)

TRACKING ID
ASR SPREADSHEET
RA NOCHECK OUT BRANCHCHECK OUT DATECHECK IN DATE
1844​
190561516​
PEDT
16/09/2021​
20/09/2021​
1844​
190593474​
PEDT
26/09/2021​
0​

DateTracking IDRA NUMBER
17/09/2021
1844​
190561516​
19/9/2021
1844​
190561516​
08/10/2021
1844​
#N/A​
15/10/2021
1844​
#N/A​
22/10/2021
1844​
#N/A​
27/09/2021
1844​
#N/A​
04/10/2021
1844​
#N/A​
05/10/2021
1844​
#N/A​
08/10/2021
1844​
#N/A​
12/10/2021
1844​
#N/A​
15/10/2021
1844​
#N/A​
19/10/2021
1844​
#N/A​
22/10/2021
1844​
#N/A​
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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