Excel Formulas to Find the Last Column Number in a Range ~ Quickly!!
Tags: excelformula, excelformulas
Published: 2021-07-14 01:47:43

---
title: Excel Formulas to Find the Last Column Number in a Range ~ Quickly!!
published: true
date: 2021-07-09 09:34:26 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-find-last-column-number/
---

In the previous post, we have seen the formulas to [**find the first column number in a range**](https://geekexcel.com/excel-formulas-to-find-the-first-column-number-in-a-range/). Similarly, here we will show the formulas to get the **last column number in a range in Excel**. Let’s see them below!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Last column number in a range](https://geekexcel.com/wp-content/uploads/2021/07/Last-column-number-in-a-range.png)](https://geekexcel.com/excel-formulas-to-find-last-column-number/last-column-number-in-a-range/#main)<figcaption id="caption-attachment-48773">Last column number in a range</figcaption>

## Generic Formula:

- If you want to find the last column number in a range, you can use the below formula.

**=[MIN](https://geekexcel.com/how-to-use-excel-min-function-in-office-365-with-examples/)([COLUMN](https://geekexcel.com/use-column-function-in-microsoft-excel-365-simple-methods/)(range))+[COLUMNS](https://geekexcel.com/steps-to-use-columns-function-in-microsoft-excel-365-simple-way/)(range)-1**

## Syntax Explanations:

- **MIN** – In Excel, the [**MAX function**](https://geekexcel.com/how-to-use-excel-max-function-in-office-365-with-examples/) will return the smallest numeric value from the range of input values.
- **COLUMN** – This function is used to return column numbers for reference. Read more on the **[COLUMN Function](https://geekexcel.com/use-column-function-in-microsoft-excel-365-simple-methods/)**.
- **COLUMNS** – The **[COLUMNS function](https://geekexcel.com/steps-to-use-columns-function-in-microsoft-excel-365-simple-way/)** helps to return the count of columns in a given reference.
- **Range** – It represents the input range.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Practical Example:

Refer to the below example image.

- First, we will enter the input values in **Column B** , **Column**  **C,** and **Column D**.
- Here we need to find out the last column number.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/07/Input-Ranges-36.png)<figcaption id="caption-attachment-48772">Input Ranges</figcaption>

- Select any cell and type the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/07/Enter-the-formula-35.png)<figcaption id="caption-attachment-48771">Enter the formula</figcaption>

- Finally, press the **ENTER** key, you can get the result as shown below.

![Result](https://geekexcel.com/wp-content/uploads/2021/07/Result-36.png)<figcaption id="caption-attachment-48774">Result</figcaption>

## Verdict:

Here we have explained the formulas to **get the last column number in Excel**. Let me know if you have any **doubts** regarding this article or any other article on this site.

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Read Ahead:

- **[Excel Formulas to Randomly Assign Data to Groups ~ Easy Tricks!!](https://geekexcel.com/excel-formulas-to-randomly-assign-data-to-groups/)**
- **[How to Insert a Date or Formatted Date in Excel Office 365?](https://geekexcel.com/how-to-insert-a-date-or-formatted-date-in-excel-office-365/)**
- **[Excel Formulas to Generate Random Value from List or Table ~ Quickly!!](https://geekexcel.com/excel-formulas-to-generate-random-value-from-list-or-table/)**
- **[Excel Formulas to Get the Percentage Discount ~ Useful Tricks!!](https://geekexcel.com/excel-formulas-to-get-the-percentage-discount/)**