[SIZE=1]let
Source = Excel.Workbook(File.Contents("[COLOR="#FF0000"]path to the file[/COLOR]\Stock Register.xlsx"), null, true),
#"Removed Columns" = Table.RemoveColumns(Source,{"Item", "Kind", "Hidden"}),
#"Expanded Data" = Table.ExpandTableColumn(#"Removed Columns", "Data", {"Column1", "Column2", "Column3", "Column4", "Column5", "Column6", "Column7", "Column8", "Column9", "Column10"}, {"Column1", "Column2", "Column3", "Column4", "Column5", "Column6", "Column7", "Column8", "Column9", "Column10"}),
#"Removed Top Rows" = Table.Skip(#"Expanded Data",15),
#"Removed Columns1" = Table.RemoveColumns(#"Removed Top Rows",{"Column1", "Column2", "Column3", "Column4", "Column9", "Column10"}),
#"Filtered Rows" = Table.SelectRows(#"Removed Columns1", each ([Column5] <> null)),
#"Promoted Headers" = Table.PromoteHeaders(#"Filtered Rows", [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Stock Code 1", type text}, {"Issue Date", type any}, {"Req. No.", type text}, {"Unit", type text}, {"Qty.", type any}}),
#"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"Stock Code 1", "Stock Code"}}),
#"Filtered Rows1" = Table.SelectRows(#"Renamed Columns", each ([Issue Date] <> "Issue Date")),
#"Changed Type1" = Table.TransformColumnTypes(#"Filtered Rows1",{{"Issue Date", type date}, {"Qty.", Int64.Type}})
in
#"Changed Type1"[/SIZE]