let
Source = Excel.CurrentWorkbook(){[Name="Table8"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", Int64.Type}}),
#"Added Index" = Table.AddIndexColumn(#"Changed Type", "Index", 0, 1, Int64.Type),
#"Sorted Rows" = Table.Sort(#"Added Index",{{"Column1", Order.Ascending},"Index"}),
#"Added Index1" = Table.AddIndexColumn(#"Sorted Rows", "Index.1", 0, 1, Int64.Type),
#"Added Conditional Column" = Table.AddColumn(#"Added Index1", "Custom", each if [Column1] = #"Added Index1"[Column1]{[Index.1]-1} then null else [Column1]),
#"Replaced Errors" = Table.ReplaceErrorValues(#"Added Conditional Column", {{"Custom", #"Added Index1"[Column1]{0}}}),
#"Sorted Rows1" = Table.Sort(#"Replaced Errors",{{"Index", Order.Ascending}}),
#"Removed Columns" = Table.RemoveColumns(#"Sorted Rows1",{"Column1", "Index", "Index.1"})
in
#"Removed Columns"