
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Auto-Number a Column Based on the Cell Values on Another Column in Excel?
You could have tried to auto number a column based on other column only based on uniqueness of the cell values but have you ever tried to auto number a column based on cell value on another column. This article will help you to understand how we can auto number a column based on cell values on other columns in excel.
Let us consider a situation where you want to count the no of items in a list excluding a single repeated and you don’t want to delete the item. This tutorial will help you to solve these kinds of problems in an efficient way.
Auto-Number a Column Based on the Cell Values on Another Column
Here we will first assign one to first value the use the formula for the second value then use the auto fill handle to complete our task. Let us see a simple process to auto number a column based in cell value on another column in excel in a fast and efficient way.
Step 1
Let us consider a list of names of names as shown in below image and you want to calculate the total no of items excluding a single repeated name.

Now click on the cell beside first result that is cell B1 and enter 1 in it. if the excluding item is present in cell A1 then enter the 1 in cell B2 as shown in below image.

Step 2
Now click on the cell B2 and enter the formula as
=IF(A1:A13="All","",COUNTIF($B$1:B1,">0")+1) in the formula box and click Enter to get the first result as shown in below image.

Step 3
As we got the first result to get the all the results drag down from the corner of cell B2 and our final output will be similar to the data shown in below image.

Conclusion
In this tutorial, we used a simple example to demonstrate how we can auto-number a column based on the cell values in another column in Excel.
- Related Articles
- How to Copy a Column Based on Cell Value to Another Excel Sheet?
- How to Auto-Insert Rows Based on Cell Values in Excel?
- How to Apply Conditional Formatting to a Column Based on Another Column in Excel?
- How to calculate the average in a column based on criteria in another column in Excel?
- How to Auto-Strikethrough Based on Cell Value in Excel?
- Find the sum of a column values based on another numerical column in R.
- How to get the cell value based on row and column numbers in Excel?
- C program to print Excel column titles based on given column number
- How to Auto-Number a Column in Excel?
- Update a column based on another MySQL table’s column
- How to border cells based on cell values in Excel?
- How to AutoFilter Rows Based on Cell Values in Excel?
- How to find the column means of a column based on another column values that represent factor in an R data frame?
- How to Auto Change the Shape and Size Based on a Specified Cell Value in Excel?
- How to assign a column value in a data frame based on another column in another R data frame?
