Order a column based on another column

后端 未结 4 973
花落未央
花落未央 2021-01-02 13:29

I want to order Column A based on the values of Column B.

In Google Sheets that is simply: =SORT(A1:A100,B1:B100,TRUE)

How to do that in

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-02 13:48

    Thank you @brunosan :D

    finally i got the answer because the @brunosan question after several days i didn't find answer in excel spreadsheet about my problem. Based on @brunosan question i tried the sort formulas, and suddenly i am trying another "sort" options on google spreadsheet.

    so this is my problem that i had solved:

    i have values in Column A, but the values in column A must be updating. The updated Data I put in Column B, so I kept the original data in column A for comparing later. with picture

    before

    but the trouble is the updated data in Column B (based on column A data) hasnt same structured anymore with Column A. You can see in the picture above. Several data have been deleted or lost, so i have an empty row.

    The question is that i want to replace that updated data same structured with Column A. Which is the data doesnt exist leave blank. So i tried in google sheet with selected all column and with SORT RANGE and then choose SORT BY COLUMN A. and voila, the result that i wanted. :D see in the picture below.

    after

    you can imagine that i has a hundred data till million data, so much wasted time if i check one by one till drop :D.

    nb: I am sorry about the blurred data :D

提交回复
热议问题