Five persons, A, B, C, D and E, belonging to different religions were asked to state their preferences for four festivals each, which they would like to celebrate with like minded people. Their preferences are:
A quicker route is to eliminate first on the two festivals that must be absent, and only then check the two that must be present.
Step 1, remove anyone who has Diwali or Christmas: A has Diwali, C has both Christmas and Diwali, and E has both Christmas and Diwali. So A, C and E are eliminated straight away, leaving only B and D as possible candidates.
Step 2, check the two survivors for Holi and Eid: B's list is Shivratri, Christmas, Onam, Eid. It does contain Eid, but it has no Holi, and worse, it still carries Christmas, which already disqualifies it. So B fails. D's list is Holi, Dussehra, Guru Nanak Birthday, Eid. It contains both Holi and Eid, and it carries neither Diwali nor Christmas, so D clears both the required and the forbidden tests.
Step 3, conclude: D is the only name left standing after applying both filters, so D has to be the person the question is looking for.
The person who enjoys Holi and Eid but not Diwali and Christmas is D, the third option in this question. $\boxed{D}$