MS EXCEL

“How to Sort Excel Data Using the Sort Function in 3 Easy Steps!”

Sort Function Usages

What is sort function?

The SORT function is delivered to sort data in a range in ascending or descending order. If you want to sort data, just activate sort function, select range & press enter button. Your result will be ready in a second. Values can be sorted by one or more columns. SORT provides a dynamic array of results.

What is the Syntax of Sort Function ?

Sort function syntax will deliver clear snapshot to understand it.

  • array–Range or array to sort (Required)
  • Sort_Index–Column index to use for sorting. Default is 1. (Optional)
  • Sort_Order–Default is ascending order. (Optional)
    • 1 = Ascending and
    • -1 = Descending
  • Sort_Col–Default is FALSE (Optional)
    TRUE = sort by column
    FALSE = sort by row

How it’s works?

Let’s see practical example how it’s works.

Example – 1 Beginner Example

In this example given a unsorted name list. It need to be sorted.

just activate sort function & select range B5: B13 finally press enter button.

Example – 2 Beginner Example – 2

Second example given a database-Name, age, join date & salary. It need to be sorted.

just activate sort function & select range B5: E13 finally press enter button.

Example – 3 “Sort_Index”

Now Let’s see a Novice level example “Sort_Index”. In this example you need to be sorted index wise.

just activate sort function & select range B5: E13, press comma button & type column number. It will delivered sorted data according to column number.

Example – 4 “Sort_Order”

Our forth example “Sort_Order”. How to extract sorted data in ascending or descending order ? Let’s see this, just activate sort function & select range B5: E13, press comma button & type column number as well as sorting order represent “1 = Ascending” & “-1 = Descending”. It will delivered sorted data according to “Sort_Order”.

Example – 5 How to Expands Sort Function Automatically

Our fifth example is How to Expands Sort Function Automatically? At first database need to convert into a table.

Now apply sort function & select range B5: E13 finally press enter button. Now we add any data in database, it will expand automatically.

Example – 6 Sort_Col

Finally we reach our last example i.e “Sort_Col”. just activate sort function & select range B5: G14, press comma, comma & comma button & select TRUE it will provide sort by column, It will delivered sorted data according to Sort_Col.

Download Link

If you required to learn more please visit our YouTube channel “FM SKILL SHARING“. Thank You

Spread the love

View Comments

Recent Posts

Automate Your Payroll: Generate Payslips with Mail Merge Easily

In today’s HR and accounting workflows, generating payslips efficiently and accurately for multiple employees is… Read More

3 months ago

Convert Number to Text in Excel: A Complete Guide

When preparing vouchers, sales invoices, or financial reports in Excel, it’s often necessary to spell… Read More

4 months ago

How to Calculate Tax on Rental Income as per the 2023 Income Tax Act

বাড়ি বা জমি ভাড়া দিয়ে আয় করা আমাদের অনেকের জন্যই এক গুরুত্বপূর্ণ আয়ের উৎস। তবে,… Read More

10 months ago

Uncovering the Secrets of Service VAT Rate & It’s Exemption

Are you curious about how VAT rates and its exemptions is impact on businesses and… Read More

1 year ago

Navigating Incoterms: A Practical Approach

Incoterms (International Commercial Terms) defined by the International Chamber of Commerce (ICC). Incoterms are a… Read More

1 year ago

Unlocking the Secrets of VAT Registration in Bangladesh.

Are you a business owner in Bangladesh looking to navigate the complex world of VAT… Read More

1 year ago