amrog
MIS
- Mar 18, 2008
- 22
Can experts help?
I have a 2 columns; A containing product_id and B containing item_id. Each row contains the product_id and one of its item_id. Suppose rows are sorted so that all product_id, item_id are ordered by product_id.
I need to construct a row range for each product_id; that is for product_id (1) -> row ranges from item_id (1.1) up to item_id (1.n) and product_id (2) -> ranges from item_id (2.1) up to item_id (2.n), etc...
Let the row range formula be in a third column C that is filled according to the rules above.
I have a 2 columns; A containing product_id and B containing item_id. Each row contains the product_id and one of its item_id. Suppose rows are sorted so that all product_id, item_id are ordered by product_id.
I need to construct a row range for each product_id; that is for product_id (1) -> row ranges from item_id (1.1) up to item_id (1.n) and product_id (2) -> ranges from item_id (2.1) up to item_id (2.n), etc...
Let the row range formula be in a third column C that is filled according to the rules above.