TheJonWithNoH
New Member
- Joined
- Sep 8, 2017
- Messages
- 30
I have a worksheet that pulls a list of data from another sheet and I was able to create the formula so repeating data does not reoccur on my list. My problem now is that I need to edit this formula further to only include data for a certain date range. Here is an example of the data sheet:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Group Name[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]ABC Group[/TD]
[TD]9/22/2017[/TD]
[/TR]
[TR]
[TD]ABC Group[/TD]
[TD]9/23/2017[/TD]
[/TR]
[TR]
[TD]ABC Group[/TD]
[TD]9/24/2017[/TD]
[/TR]
[TR]
[TD]XYZ Group[/TD]
[TD]9/15/2017[/TD]
[/TR]
[TR]
[TD]XXX Group[/TD]
[TD]10/1/2017[/TD]
[/TR]
[TR]
[TD]XXX Group[/TD]
[TD]10/2/2017[/TD]
[/TR]
[TR]
[TD]QQQ Group[/TD]
[TD]9/30/2017[/TD]
[/TR]
[TR]
[TD]ZZZ Group[/TD]
[TD]11/1/2017[/TD]
[/TR]
[TR]
[TD]ZZZ Group[/TD]
[TD]11/2/2017[/TD]
[/TR]
</tbody>[/TABLE]
My current formula is an array formula that removes duplicates and just provides me with a list of Group Names:
{=INDEX(Data!A$1:INDEX(Data!A:A,MATCH("zzz",Data!A:A)),MATCH(0,COUNTIF(Z$1:Z1,Data!A$1:INDEX(Data!A:A,MATCH("zzz",Data!A:A))&""),0))}
This formula provides me with these results:
[TABLE="width: 500"]
<tbody>[TR]
[TD]ABC Group[/TD]
[/TR]
[TR]
[TD]XYZ Group[/TD]
[/TR]
[TR]
[TD]XXX Group[/TD]
[/TR]
[TR]
[TD]QQQ Group[/TD]
[/TR]
[TR]
[TD]ZZZ Group[/TD]
[/TR]
</tbody>[/TABLE]
How can I modify this formula to only provide me the data for September groups? (ABC, XYZ, QQQ Groups should only be listed)
Thank you in advance for your help!
[TABLE="width: 500"]
<tbody>[TR]
[TD]Group Name[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]ABC Group[/TD]
[TD]9/22/2017[/TD]
[/TR]
[TR]
[TD]ABC Group[/TD]
[TD]9/23/2017[/TD]
[/TR]
[TR]
[TD]ABC Group[/TD]
[TD]9/24/2017[/TD]
[/TR]
[TR]
[TD]XYZ Group[/TD]
[TD]9/15/2017[/TD]
[/TR]
[TR]
[TD]XXX Group[/TD]
[TD]10/1/2017[/TD]
[/TR]
[TR]
[TD]XXX Group[/TD]
[TD]10/2/2017[/TD]
[/TR]
[TR]
[TD]QQQ Group[/TD]
[TD]9/30/2017[/TD]
[/TR]
[TR]
[TD]ZZZ Group[/TD]
[TD]11/1/2017[/TD]
[/TR]
[TR]
[TD]ZZZ Group[/TD]
[TD]11/2/2017[/TD]
[/TR]
</tbody>[/TABLE]
My current formula is an array formula that removes duplicates and just provides me with a list of Group Names:
{=INDEX(Data!A$1:INDEX(Data!A:A,MATCH("zzz",Data!A:A)),MATCH(0,COUNTIF(Z$1:Z1,Data!A$1:INDEX(Data!A:A,MATCH("zzz",Data!A:A))&""),0))}
This formula provides me with these results:
[TABLE="width: 500"]
<tbody>[TR]
[TD]ABC Group[/TD]
[/TR]
[TR]
[TD]XYZ Group[/TD]
[/TR]
[TR]
[TD]XXX Group[/TD]
[/TR]
[TR]
[TD]QQQ Group[/TD]
[/TR]
[TR]
[TD]ZZZ Group[/TD]
[/TR]
</tbody>[/TABLE]
How can I modify this formula to only provide me the data for September groups? (ABC, XYZ, QQQ Groups should only be listed)
Thank you in advance for your help!