VIDEOS

How to Sort Cell Ranges in Excel Using IronXL

Regan Pun
Regan Pun
March 31, 2024
Share:


In this tutorial, viewers learn to sort Excel ranges using the IronXL library in C#, offering an alternative to Excel's built-in functions. After installing IronXL via the NuGet package manager, the tutorial demonstrates how to import the IronXL namespace and load an existing workbook. The core part of the tutorial shows how to sort data: column A is sorted in ascending order, while column B is sorted in descending order, using the sort ascending and sort descending methods respectively. The sorted data is saved into a new Excel file named 'sort Excel range.xlsx'. By running the project, users see how these sorting techniques organize data efficiently, making it more readable and easier to analyze. The tutorial concludes with an invitation to try IronXL’s free trial and encourages viewers to subscribe for more tutorials. This hands-on approach provides a practical understanding of using IronXL for data manipulation in Excel.

Get stated with IronXL now.
green arrow pointer

Regan Pun
Software Engineer
Regan graduated from the University of Reading, with a BA in Electronic Engineering. Before joining Iron Software, his previous job roles had him laser-focused on single tasks; and what he most enjoys at Iron Software is the spectrum of work he gets to undertake, whether it’s adding value to sales, technical support, product development or marketing. He enjoys understanding the way developers are using the Iron Software library, and using that knowledge to continually improve documentation and develop the products.
< PREVIOUS
How to Create and Read Excel Files in VB .NET
NEXT >
How to Set a Password on an Excel Worksheet in C#