Imran Azam
Board Regular
- Joined
- Mar 15, 2011
- Messages
- 103
HI GUYS,
I am trying to get the min and max date for a customer from the data below
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Name[/TD]
[TD]item[/TD]
[TD]qty[/TD]
[TD]start date[/TD]
[TD]end date[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Alan[/TD]
[TD]S[/TD]
[TD]3[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]01/09/2013[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]31/12/2014[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Alan[/TD]
[TD]S[/TD]
[TD]5[/TD]
[TD]01/11/2015[/TD]
[TD]31/12/2016[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Alan[/TD]
[TD]S[/TD]
[TD]2[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, align: right"]01/01/2016[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]31/12/2017[/TD]
[/TR]
</tbody>[/TABLE]
i want so show the below
which is the name the item , sum of qty and min start date and max end date
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]item[/TD]
[TD]QTY[/TD]
[TD]start date[/TD]
[TD]end date[/TD]
[/TR]
[TR]
[TD]Alan[/TD]
[TD]S[/TD]
[TD]10[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]01/09/2013[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]31/12/2017[/TD]
[/TR]
</tbody>[/TABLE]
how can i get the min and max dates?
I am trying to get the min and max date for a customer from the data below
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Name[/TD]
[TD]item[/TD]
[TD]qty[/TD]
[TD]start date[/TD]
[TD]end date[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Alan[/TD]
[TD]S[/TD]
[TD]3[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]01/09/2013[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]31/12/2014[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Alan[/TD]
[TD]S[/TD]
[TD]5[/TD]
[TD]01/11/2015[/TD]
[TD]31/12/2016[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Alan[/TD]
[TD]S[/TD]
[TD]2[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, align: right"]01/01/2016[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]31/12/2017[/TD]
[/TR]
</tbody>[/TABLE]
i want so show the below
which is the name the item , sum of qty and min start date and max end date
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]item[/TD]
[TD]QTY[/TD]
[TD]start date[/TD]
[TD]end date[/TD]
[/TR]
[TR]
[TD]Alan[/TD]
[TD]S[/TD]
[TD]10[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]01/09/2013[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]31/12/2017[/TD]
[/TR]
</tbody>[/TABLE]
how can i get the min and max dates?