Please check the below table for each leasing agent:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Client[/TD]
[TD][TABLE="width: 102"]
<tbody>[TR]
[TD]Status[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Just Browsing[/TD]
[TD]Interested[/TD]
[TD]On the Fence[/TD]
[TD]Hook Line & Sinker[/TD]
[TD]Lead Lost[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Active[/TD]
[TD][TABLE="width: 98"]
<tbody>[TR]
[TD]14-Jul-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 96"]
<tbody>[TR]
[TD]15-Jul-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD]16-Jul-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 95"]
<tbody>[TR]
[TD]17-Jul-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Active[/TD]
[TD][/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD]9-May-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD]16-Sep-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Active[/TD]
[TD][/TD]
[TD]9-Apr-19[/TD]
[TD][/TD]
[TD][/TD]
[TD]5-May-19[/TD]
[/TR]
</tbody>[/TABLE]
I need to count 5 categories as the below:
1- Just Browsing
2- Interested
3- On the Fence
4- Hook Line & Sinker
5- Lead Lost
But I want to count the last date of the progress without deleting the date/s before.
For example, in Client 1 we need to count only (Hook Line & Sinker), and Client 2 we will count only (On the Fence), etc
The results I need to be as the below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Progress Update[/TD]
[TD]Clients Status[/TD]
[/TR]
[TR]
[TD]Just Browsing[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Interested[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]On the Fence[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Hook Line & Sinker[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Lead Lost[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Please let me know if this it clear.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Client[/TD]
[TD][TABLE="width: 102"]
<tbody>[TR]
[TD]Status[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Just Browsing[/TD]
[TD]Interested[/TD]
[TD]On the Fence[/TD]
[TD]Hook Line & Sinker[/TD]
[TD]Lead Lost[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Active[/TD]
[TD][TABLE="width: 98"]
<tbody>[TR]
[TD]14-Jul-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 96"]
<tbody>[TR]
[TD]15-Jul-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD]16-Jul-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 95"]
<tbody>[TR]
[TD]17-Jul-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Active[/TD]
[TD][/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD]9-May-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD]16-Sep-19[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Active[/TD]
[TD][/TD]
[TD]9-Apr-19[/TD]
[TD][/TD]
[TD][/TD]
[TD]5-May-19[/TD]
[/TR]
</tbody>[/TABLE]
I need to count 5 categories as the below:
1- Just Browsing
2- Interested
3- On the Fence
4- Hook Line & Sinker
5- Lead Lost
But I want to count the last date of the progress without deleting the date/s before.
For example, in Client 1 we need to count only (Hook Line & Sinker), and Client 2 we will count only (On the Fence), etc
The results I need to be as the below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Progress Update[/TD]
[TD]Clients Status[/TD]
[/TR]
[TR]
[TD]Just Browsing[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Interested[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]On the Fence[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Hook Line & Sinker[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Lead Lost[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Please let me know if this it clear.
Last edited: