Forum Discussion

anupambit1797's avatar
anupambit1797
Iron Contributor
Aug 09, 2025
Solved

Shift cells up

Dear Experts,                    I have a data like below:- and want to delete all the nulls,( shift) all the empty cells up, I can do this using F5-> special , select blank and delete , but with h...
  • djclements's avatar
    Aug 10, 2025

    A formula approach:

    =WRAPROWS(TOCOL(_0xB8D8_Log_Study_Sample,1),3)

    Or Power Query:

    let
        Source = Excel.CurrentWorkbook(){[Name="_0xB8D8_Log_Study_Sample"]}[Content],
        #"Filled Down" = Table.FillDown(Source,{"Custom", "Custom.1"}),
        #"Filtered Rows" = Table.SelectRows(#"Filled Down", each ([Custom.2] <> null))
    in
        #"Filtered Rows"

Resources