sudeep
New Member
- Joined
- Nov 28, 2006
- Messages
- 39
Hi Experts,
I come back to you for help with another problem.
I have 2 workbooks.
Workbook 1 contains:
Date
Group
Workbook 2 contains:
From Date
To Date
Criterion
Problem:
I want a formula that would perform a vlookup on a criterion to fetch group (text) only if the date in workbook 1 is within the range of From date and to date of workbook 2.
Explanation:
Workbook 1
Date Group Section
12/1/2012 Apple a1
3/24/2011 Grapes a1
12/1/2012 Apple b4
Workbook 2
From Date To Date Section Criterion
1/1/2012 1/31/2012 a1 Requesting a formula that will perform vlookup for given criterion (a1) in this example on data where date is within the date range given (1/1/2012 to 1/31/2012 in this example).
Expected Result:
Workbook 2
Criterion Apple (1st filter is date - We get two options: record nos. 1 and 3 in workbook 1. 2nd filter is section a1, so that leaves out record no. 3 and displays Apple in the criterion column.
As usual, I will appreciate if we can do it using functions instead of VBA.
Thanks in advance.
Regards,
Sudeep
I come back to you for help with another problem.
I have 2 workbooks.
Workbook 1 contains:
Date
Group
Workbook 2 contains:
From Date
To Date
Criterion
Problem:
I want a formula that would perform a vlookup on a criterion to fetch group (text) only if the date in workbook 1 is within the range of From date and to date of workbook 2.
Explanation:
Workbook 1
Date Group Section
12/1/2012 Apple a1
3/24/2011 Grapes a1
12/1/2012 Apple b4
Workbook 2
From Date To Date Section Criterion
1/1/2012 1/31/2012 a1 Requesting a formula that will perform vlookup for given criterion (a1) in this example on data where date is within the date range given (1/1/2012 to 1/31/2012 in this example).
Expected Result:
Workbook 2
Criterion Apple (1st filter is date - We get two options: record nos. 1 and 3 in workbook 1. 2nd filter is section a1, so that leaves out record no. 3 and displays Apple in the criterion column.
As usual, I will appreciate if we can do it using functions instead of VBA.
Thanks in advance.
Regards,
Sudeep