Forum Discussion
zcaldwell32
Aug 24, 2023Copper Contributor
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...
- Aug 24, 2023
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.
HansVogelaar
Aug 24, 2023MVP
You mention "auto sort".
Do you want the data to be sorted automatically in place, or do you want to return the sorted data in another location?
- zcaldwell32Aug 24, 2023Copper Contributor
- HansVogelaarAug 24, 2023MVP
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.
- zcaldwell32Aug 24, 2023Copper Contributorthanks