reachsuresh87
New Member
- Joined
- Jul 10, 2017
- Messages
- 2
Hi,
I need some Excel expert guidance on achieving a requirement as mentioned in attached sheet and also explained below:
From C5 to N8 in 'Required Format', for every user in ‘Required Format sheet’, we need to check whether the corresponding user in exists in ‘Usage’ sheet with dates between StartDate and EndDate.
I entered Yes or No from C5 to N8 for your reference
[TABLE="width: 1046"]
<colgroup><col><col><col><col span="11"></colgroup><tbody>[TR]
[TD] [/TD]
[TD]Week[/TD]
[TD="align: right"]201710[/TD]
[TD="align: right"]201711[/TD]
[TD="align: right"]201712[/TD]
[TD="align: right"]201713[/TD]
[TD="align: right"]201714[/TD]
[TD="align: right"]201715[/TD]
[TD="align: right"]201716[/TD]
[TD="align: right"]201717[/TD]
[TD="align: right"]201718[/TD]
[TD="align: right"]201719[/TD]
[TD="align: right"]201720[/TD]
[TD="align: right"]201721[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]StartDate[/TD]
[TD="align: right"]02/13/17[/TD]
[TD="align: right"]02/20/17[/TD]
[TD="align: right"]02/27/17[/TD]
[TD="align: right"]03/06/17[/TD]
[TD="align: right"]03/13/17[/TD]
[TD="align: right"]03/20/17[/TD]
[TD="align: right"]03/27/17[/TD]
[TD="align: right"]04/03/17[/TD]
[TD="align: right"]04/10/17[/TD]
[TD="align: right"]04/17/17[/TD]
[TD="align: right"]04/24/17[/TD]
[TD="align: right"]05/01/17[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]EndDate[/TD]
[TD="align: right"]03/12/17[/TD]
[TD="align: right"]03/19/17[/TD]
[TD="align: right"]03/26/17[/TD]
[TD="align: right"]04/02/17[/TD]
[TD="align: right"]04/09/17[/TD]
[TD="align: right"]04/16/17[/TD]
[TD="align: right"]04/23/17[/TD]
[TD="align: right"]04/30/17[/TD]
[TD="align: right"]05/07/17[/TD]
[TD="align: right"]05/14/17[/TD]
[TD="align: right"]05/21/17[/TD]
[TD="align: right"]05/28/17[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]AA1[/TD]
[TD]Check if name in A5 present in 'Usage' sheet with dates between StartDate and EndDate[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]Check if name in A6 present in 'Usage' sheet with dates between StartDate and EndDate[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]Check if name in A7 present in 'Usage' sheet with dates between StartDate and EndDate[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]AA4[/TD]
[TD]Check if name in A8 present in 'Usage' sheet with dates between StartDate and EndDate[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 225"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Day[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/13/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/13/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/23/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/24/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/24/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/24/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]3/1/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]3/1/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]3/7/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]3/10/2017[/TD]
[/TR]
[TR]
[TD]AA1[/TD]
[TD]4/6/2017[/TD]
[/TR]
[TR]
[TD]AA1[/TD]
[TD]4/6/2017[/TD]
[/TR]
[TR]
[TD]AA4[/TD]
[TD]4/25/2017[/TD]
[/TR]
[TR]
[TD]AA4[/TD]
[TD]5/3/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5/7/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5/7/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5/7/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5/7/2017[/TD]
[/TR]
[TR]
[TD]AA1[/TD]
[TD]5/22/2017[/TD]
[/TR]
</tbody>[/TABLE]
I need some Excel expert guidance on achieving a requirement as mentioned in attached sheet and also explained below:
From C5 to N8 in 'Required Format', for every user in ‘Required Format sheet’, we need to check whether the corresponding user in exists in ‘Usage’ sheet with dates between StartDate and EndDate.
I entered Yes or No from C5 to N8 for your reference
[TABLE="width: 1046"]
<colgroup><col><col><col><col span="11"></colgroup><tbody>[TR]
[TD] [/TD]
[TD]Week[/TD]
[TD="align: right"]201710[/TD]
[TD="align: right"]201711[/TD]
[TD="align: right"]201712[/TD]
[TD="align: right"]201713[/TD]
[TD="align: right"]201714[/TD]
[TD="align: right"]201715[/TD]
[TD="align: right"]201716[/TD]
[TD="align: right"]201717[/TD]
[TD="align: right"]201718[/TD]
[TD="align: right"]201719[/TD]
[TD="align: right"]201720[/TD]
[TD="align: right"]201721[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]StartDate[/TD]
[TD="align: right"]02/13/17[/TD]
[TD="align: right"]02/20/17[/TD]
[TD="align: right"]02/27/17[/TD]
[TD="align: right"]03/06/17[/TD]
[TD="align: right"]03/13/17[/TD]
[TD="align: right"]03/20/17[/TD]
[TD="align: right"]03/27/17[/TD]
[TD="align: right"]04/03/17[/TD]
[TD="align: right"]04/10/17[/TD]
[TD="align: right"]04/17/17[/TD]
[TD="align: right"]04/24/17[/TD]
[TD="align: right"]05/01/17[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]EndDate[/TD]
[TD="align: right"]03/12/17[/TD]
[TD="align: right"]03/19/17[/TD]
[TD="align: right"]03/26/17[/TD]
[TD="align: right"]04/02/17[/TD]
[TD="align: right"]04/09/17[/TD]
[TD="align: right"]04/16/17[/TD]
[TD="align: right"]04/23/17[/TD]
[TD="align: right"]04/30/17[/TD]
[TD="align: right"]05/07/17[/TD]
[TD="align: right"]05/14/17[/TD]
[TD="align: right"]05/21/17[/TD]
[TD="align: right"]05/28/17[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]AA1[/TD]
[TD]Check if name in A5 present in 'Usage' sheet with dates between StartDate and EndDate[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]Check if name in A6 present in 'Usage' sheet with dates between StartDate and EndDate[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]Check if name in A7 present in 'Usage' sheet with dates between StartDate and EndDate[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]AA4[/TD]
[TD]Check if name in A8 present in 'Usage' sheet with dates between StartDate and EndDate[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 225"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Day[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/13/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/13/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/23/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/24/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/24/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]2/24/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]3/1/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]3/1/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]3/7/2017[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]3/10/2017[/TD]
[/TR]
[TR]
[TD]AA1[/TD]
[TD]4/6/2017[/TD]
[/TR]
[TR]
[TD]AA1[/TD]
[TD]4/6/2017[/TD]
[/TR]
[TR]
[TD]AA4[/TD]
[TD]4/25/2017[/TD]
[/TR]
[TR]
[TD]AA4[/TD]
[TD]5/3/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5/7/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5/7/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5/7/2017[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5/7/2017[/TD]
[/TR]
[TR]
[TD]AA1[/TD]
[TD]5/22/2017[/TD]
[/TR]
</tbody>[/TABLE]