Please see attachment
Asking to sort columns automatically
I am grateful for your help in this excel problem excel 2021 in win 11
Thank you in advance
Michael
Please see attachment
Asking to sort columns automatically
I am grateful for your help in this excel problem excel 2021 in win 11
Thank you in advance
Michael
Last edited by sirmixbits; 05-05-2024 at 01:33 PM.
With Power Query
Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], #"Filtered Rows" = Table.SelectRows(Source, each ([NAME] <> null)), #"Added Index" = Table.AddIndexColumn(#"Filtered Rows", "Index", 1, 1, Int64.Type), #"Sorted Rows" = Table.Sort(#"Added Index",{{"POINTS", Order.Descending}}), #"Added Index1" = Table.AddIndexColumn(#"Sorted Rows", "Index.1", 1, 1, Int64.Type), #"Sorted Rows1" = Table.Sort(#"Added Index1",{{"Index", Order.Ascending}}), #"Removed Columns" = Table.RemoveColumns(#"Sorted Rows1",{"Index"}) in #"Removed Columns"
It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.
- Follow this link to learn how to install Power Query in Excel 2010 / 2013.
- Follow this link for an introduction to Power Query functionality.
- Follow this link for a video which demonstrates how to use Power Query code provided.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Win 11 is not an Excel version - should be 2016, 2019, 2021 or 365 (or similar) so please update your profile.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks