let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Grouped Rows" = Table.Group(Source, {"Name"}, {{"Max Apple", each List.Max([apple]), type number}, {"Min Apple", each List.Min([apple]), type number}, {"Max Trees", each List.Max([Trees]), type number}, {"Min Trees", each List.Min([Trees]), type number}}),
#"Inserted Subtraction" = Table.AddColumn(#"Grouped Rows", "Subtraction", each [Max Apple] - [Min Apple], type number),
#"Renamed Columns" = Table.RenameColumns(#"Inserted Subtraction",{{"Subtraction", "Diff Apples"}}),
#"Inserted Subtraction1" = Table.AddColumn(#"Renamed Columns", "Subtraction", each [Max Trees] - [Min Trees], type number),
#"Renamed Columns1" = Table.RenameColumns(#"Inserted Subtraction1",{{"Subtraction", "Diff Trees"}}),
#"Removed Columns" = Table.RemoveColumns(#"Renamed Columns1",{"Max Apple", "Min Apple", "Max Trees", "Min Trees"})
in
#"Removed Columns"