Hello,
I have a very long list of products and values and I need to produce another list that list products by a range of quantity. My list looks similar to this:-
[TABLE="width: 158"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Potatoes[/TD]
[TD="align: right"]199[/TD]
[/TR]
[TR]
[TD]Peas[/TD]
[TD="align: right"]152[/TD]
[/TR]
[TR]
[TD]Carrots[/TD]
[TD="align: right"]1901[/TD]
[/TR]
[TR]
[TD]Cabbage[/TD]
[TD="align: right"]576[/TD]
[/TR]
[TR]
[TD]Turnip[/TD]
[TD="align: right"]800[/TD]
[/TR]
[TR]
[TD]Cucumber[/TD]
[TD="align: right"]100
[/TD]
[/TR]
</tbody>[/TABLE]
I then need to produce a list that has headers of "less than 100", "101 to 200" etc and under each header the product would appear
[TABLE="width: 336"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Less than 100[/TD]
[TD]100-199[/TD]
[TD]200-299[/TD]
[TD]500 - 599[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Cucumber[/TD]
[TD][/TD]
[TD]Cabbage[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Peas[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Can I use a formula to do this? Thought of nested ifs but as my values go up to about 3000 not sure if this would fit. Think offset may work but not sure of how.
Hope this makes sense!
I have a very long list of products and values and I need to produce another list that list products by a range of quantity. My list looks similar to this:-
[TABLE="width: 158"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Potatoes[/TD]
[TD="align: right"]199[/TD]
[/TR]
[TR]
[TD]Peas[/TD]
[TD="align: right"]152[/TD]
[/TR]
[TR]
[TD]Carrots[/TD]
[TD="align: right"]1901[/TD]
[/TR]
[TR]
[TD]Cabbage[/TD]
[TD="align: right"]576[/TD]
[/TR]
[TR]
[TD]Turnip[/TD]
[TD="align: right"]800[/TD]
[/TR]
[TR]
[TD]Cucumber[/TD]
[TD="align: right"]100
[/TD]
[/TR]
</tbody>[/TABLE]
I then need to produce a list that has headers of "less than 100", "101 to 200" etc and under each header the product would appear
[TABLE="width: 336"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Less than 100[/TD]
[TD]100-199[/TD]
[TD]200-299[/TD]
[TD]500 - 599[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Cucumber[/TD]
[TD][/TD]
[TD]Cabbage[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Peas[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Can I use a formula to do this? Thought of nested ifs but as my values go up to about 3000 not sure if this would fit. Think offset may work but not sure of how.
Hope this makes sense!