• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

find a date in between 2 different dates for a repeated customer entry

Francis80

New Member
Hi,

Please find the attached file.

I have 2 sheets in it.

first sheet is "Entry", where I have the entries of the customer's booked dates. I have repeated customers have booked for the show for some days (Eg: customer "C" booked


Customer Start Date End Date
C 02-Feb-15 05-Feb-15

C 23-Feb-15 27-Feb-15

In sheet to I have the customer's name in unique.

I want to display "B" for which dates the customer booked for ..

Can any one help me to put the formula here.

-Francis
 

Attachments

In Status worksheet B2:
=IF(SUMPRODUCT((Entry!$A$2:$A$19=$A2)*(Entry!$B$2:$B$19<=B$1)*(Entry!$C$2:$C$19>=B$1)),"B","")
Copy across and down
 
Hi Francis,

My try.

=IFERROR(INDEX(Entry!$C$2:$C$19,MATCH(Status!$A2&Status!B$1,Entry!$A$2:$A$19&Entry!$B$2:$B$19,0)),"")
+Ctrl+shift+Enter
 

Attachments

Back
Top