Mark if checkin date is within 30 days of checkout date wherename is the same.
Forget to mention another step.
Drag the D2 cell formula to the remaining cells of Column-D based on
the A and B Column Data.
-----------------------
Ms-Exl-Learner
-----------------------
On Jul 12, 3:42*pm, steve1040 wrote:
Data looks like this
1 Name|Checkin|Checkout
2 Dan Jones|Jan-1-10|Jan-2-10
3 Dan Jones|Mar-5-10|Mar-6-10
4 Dan Jones|May-1-10|May-8-10
5 John Doe|May-15-10|May-16-10
6 John Doe|May-30-10|Jun-3-10
7 John Doe|Jul-6-10|Jul-9-10
8 Sarah Cakes|Jan-10-10|Jan-15-10
9 Sarah Cakes|May-3-10|May-5-10
10 Sarah Cakes|Jul-17-10|Jul-18-10
11 Sarah Cakes|Jul-20-10|Jul-27-10
Row number 5 & 11 should be marked with a "X"
Thanks again
Steve
On Jul 10, 2:23*am, "Bob Phillips" wrote:
It is very hard to hep without knowing what the data looks like and what all
of the argument values are when called.
--
HTH
Bob
|