How to Add a Number in Front of a Number in Excel (7 Easy Ways)

Method 1 – Using Double Quotes to Add a Number

Let’s say we have a dataset of different products and their corresponding Product ID Before Delivery.

Dataset for Adding a Number in Front of a Number in Excel

For this dataset, the Product ID will change with the delivery of the product. Let’s say the ID will change by adding a “1” at the beginning of the pre-delivery ID.

Steps:

Select the output cell and copy the following formula:

=”1”&C5

  • C5 = The actual ID that will get an added number at the beginning.

Add a Number in Front of a Number

  • Press Enter to get the following output:

  • Use the Fill Handle tool to drag the formula.

Adding a number in front of a number in Excel

Read More: How to Add 1 to Each Cell in a Column in Excel


Method 2 – Using Format Cells to Add a Number

Steps:

  • Copy the original ID numbers to another column.

  • Right-click on the column and select the Format Cells option.

Adding a Number in Front of a Number in Excel

  • In the Format Cells dialogue box, click on the Number tab.
  • Select Custom and enter 1# in the Type box.
  • Click OK.

Adding a Number in Front of a Number in an Excel worksheet

  • Your output should look like this:

Add a Number in Front of a Number in Excel


Method 3 – Using NUMBERVALUE Function to Add a Number

Steps:

  • Select a cell and apply the following formula:

=NUMBERVALUE(1&C5)

  • C5 = The actual ID that will get an added number at the beginning.

  • Hit Enter to show the result.

Add a Number in Front of a Number in Excel

  • Drag the formula to include the cells you want.


Method 4 – Using the IF function to Add a Number

Steps:

  • Apply the following formula to a selected cell:

=IF(C5, “1”&C5, “”)

  • C5 = The actual ID that will get an added number at the beginning.

  • Hit Enter to show the result in the cell.

  • Drag the formula for the rest of the cells.


Method 5 – Using the CONCATENATE Function to Add a Number

Steps:

  • Select a cell and enter the following formula:

=CONCATENATE(1, C5)

  • C5 = The actual ID that will get an added number at the beginning.

  • Hit Enter and drag the formula to the cells below to get the same result.


Method 6 – Summing the Extra Number to Add a Number

If you have a three-digit number and you want to include “1” at the beginning, you must add 1,000 to the original ID number.

Our dataset contains eight-digit numbers, so we must add 100,000,000 to the original number.

Steps:

  • Add a column containing 100,000,000 for the addition.

  • Copy the following formula to the selected cell:

=C5+D5

  • C5 = The actual ID that will get an added number at the beginning.
  • D5 = The number to add (100,000,000).

  • You can also apply the following formula (both formulas will return the same value):

=SUM(C5:D5)

  • Hit Enter and drag the formula to the cells below to get the output.

Read More: How to Add Digits to a Number in Excel


Method 7 – Adding a Number at the Beginning of a Number Starting With Zero

Let’s say we have a dataset containing product IDs starting with zero and we want to enter “1” at the beginning.

This method requires using IF & LEFT functions.

Steps:

  • Select a cell and enter the following formula:

=IF(C5=“”, “”, (0+(LEFT(C5)=“0”)&C5)+0)

  • C5 = The actual ID that will get an added number at the beginning.

  • Press Enter to show the output.

  • Drag the formula to the cells below.


Download Practice Workbook


Related Articles


<< Go Back to Add to Cell Value | Sum in Excel | Calculate in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Rafiul Hasan
Rafiul Hasan

Rafiul Hasan, holding a BSc in Naval Architecture and Marine Engineering from Bangladesh University of Engineering & Technology, contributes significantly to the ExcelDemy project with almost 1.6 years of dedicated work. Currently an Excel and VBA Content Developer, he has a passion for problem-solving. Authoring over 100 articles for ExcelDemy showcases expertise in Microsoft Office Suites and Data Analysis. In addition to content development, Rafiul actively engages with the ExcelDemy forum, offering valuable solutions to user queries and... Read Full Bio

2 Comments
  1. Thank you very much

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo