I have a nested data in one long column. The data represents the different items in stock of various stores. Every item has 6 values of No, Item, Expiry Date, Manufacturer, Quantity, Unit Price, Discount and Total Price. The items are listed numerically 1,2,3 and then it starts for a new store 1,2 and then for the next 1,2,3 etc. My goal is to collect all the items of one store in one row and whenever there is a 1 start a new row
1
ABC RH --
Pack
Mar 2022
ABC D --
280
$5.20
$0
$ 1 456.0
2
ABC RH --
Pack
Mar 2022
ABC D --
280
$5.20
$0
$ 1 456.0
1
BCD
Amp
Apr 2024
XYZ
280
$2.00
$0
$ 2 555.0
2
BCD RH --
Amp
Mar 2024
ABC D --
280
$5.20
$0
$ 1 456.0
3
BCD RH --
Pack
Mar 2022
ABC D --
280
$5.20
$0
$ 1 456.0
1
1. HJK
Pack
Mar 2023
D --
80
$0.20
$0
$ 3 456.0
2
2. BCD
Pack
Mar 2022
ABC D --
280
$5.20
$0
$ 1 456.0
3
BCD RH --
Pack
Mar 2022
ABC D --
280
$5.20
$0
$ 1 456.0
4
BCD RH --
Pack
Mar 2022
ABC D --
280
$5.20
$0
$ 1 456.0
5
BCD RH --
Pack
Mar 2022
ABC D --
280
$5.20
$0
$ 1 456.0
6
BCD RH --
Pack
Mar 2022
ABC D --
280
$5.20
$0
$ 1 456.0
and here is what I'm trying to display it as
|No |Item | Size |Exp |Manuf |Qty |Unit |Dis |Total |No| Item|
|1 |ABC RH| Pack |Mar 2022| ABC D| 280 |$5.20|$0 |$ 1 456.0|2 | ABC |
|1 |BCD RH| Amp |Apr 2024| XYZ | 280 |$2.00|$0 |$ 2 555.0|2 | BCD |
|1 |1. HJK| Pack |Mar 2023| D -- | 80 |$0.20|$0 |$ 3 456.0|2.| BCD |
Thank you for your help