Aleksandar89
New Member
- Joined
- Dec 12, 2017
- Messages
- 4
Hello everyone! I have a little problem. I need a formula to show the last month for specific company.
So for example for company xyz what is the last month that items were sold and then on for company abc.
Between columns Month and Firm is also amount sold in original dataset. Does anyone have solution for this problem?
[TABLE="width: 252"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD] Month[/TD]
[TD]Firm[/TD]
[TD]Last month[/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mar[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mar[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]abc[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]abc[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So for example for company xyz what is the last month that items were sold and then on for company abc.
Between columns Month and Firm is also amount sold in original dataset. Does anyone have solution for this problem?
[TABLE="width: 252"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD] Month[/TD]
[TD]Firm[/TD]
[TD]Last month[/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mar[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mar[/TD]
[TD]xyz[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]abc[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]abc[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]