Forum Discussion

zcaldwell32's avatar
zcaldwell32
Copper Contributor
Aug 24, 2023
Solved

help with formula

Im trying to auto sort a column by descending order, but I need the column next it to move with it, ex one column has names, the next has hours worked.  When the hours are worked I need the names and...
  • HansVogelaar's avatar
    HansVogelaar
    Aug 24, 2023

    zcaldwell32 

    Let's say your data are in D2:E500.

    In a cell elsewhere:

    =SORT(D2:E500, 2, -1)

    will return the data sorted descending on hours worked.