# How to Add a Character in Excel to Multiple Cells (5 Easy Ways)

Get FREE Advanced Excel Exercises with Solutions!

Looking for ways to know how to add a character in Excel to multiple cells? Then, this is the right place for you. Here, you will find 5 different ways to add a character in Excel to multiple cells.

## 5 Ways to Add a Character in Excel to Multiple Cells

Here, we have a dataset containing the values of Student ID and Names of some students. Now, we will show you how to add a character in Excel to multiple cells using this dataset.

### 1. Using CONCATENATE & CHAR Functions to Add a Character to Multiple Cells

In the first method, we will show you how to add a character in Excel to multiple cells using the CONCATENATE and CHAR functions. The CONCATENATE function is used to join text from multiple cells and the CHAR function is used to get a specific character in return of a given value between 1 to 255. Here, we will create Passwords containing the Student ID and Name of each student and a colon between them.

Steps:

• In the beginning, select Cell D5.
• Then, insert the following formula.
`=CONCATENATE(B5,CHAR(58),C5)`

Here, we added a colon, Cell B5, and Cell C5 using the CONCATENATE function. The colon is added by using the CHAR function.

• Now, press ENTER.
• Then, drag down the Fill Handle tool to AutoFill the formula for the rest of the cells.

• Finally, you will get the Passwords with a character using the CONCATENATE and CHAR functions.

### 2. Use of Ampersand (&) Operator to Add a Character to Multiple Cells

We can also use the Ampersand (&) operator to add a character to multiple cells in Excel. Go through the given steps below to do it on your own.

Steps:

• Firstly, select Cell D5.
• Then, insert the following formula.
`=B5&":"&C5`

Here, we added a colon, Cell B5 and C5 in the formula using the Ampersand (&) operator.

• After that, press ENTER.
• Next, drag down the Fill Handle tool to AutoFill the formula for the rest of the cells.

• Finally, you will get the Passwords with a character using the Ampersand (&) operator.

### 3. Applying Flash Fill Command to Add a Character in Excel to Multiple Cells

Next, we will show you how to apply the Flash Fill feature to add a character to multiple cells in Excel. Follow the steps given below to do it on your own dataset.

Steps:

• In the beginning, select Cell D5.
• Then, type 1501001:James as Password.

• After that, go to the Data tab >> click on Flash Fill.

• Finally, you will get the Passwords with a character using the Flash Fill feature.

### 4. Using Format Cells Feature to Add a Character to Multiple Cells

Now, we will use the Format Cells feature to add a character to multiple cells in Excel. Follow the steps given below to do it on your own dataset.

Steps:

• Firstly, select Cell range B5:B11.
• Then, press CTRL+C to copy the Cell range.

• Next, select Cell D5.
• After that, press CTRL+V to paste the Cell range.

• Now, Right-click on the Cell range.
• Then, select Format Cells.

• Now, the Format Cells box will appear.
• After that, go to the Custom option.
• Then, type \\$# in the Type box.
• Next, click on OK.

• Finally, you will get the Passwords with a character using the Format Cells feature.

### 5. Using VBA to Add a Character in Excel to Multiple Cells

In the final method, we will use VBA to add a character to multiple cells in Excel. Here, we will use the Names of the students to make a Password.

Go through the given steps below to do it on your own.

Steps:

• Firstly, go to the Developer tab >> click on Visual Basic.

• Now, the Microsoft Visual Basic for Applications will open.
• After that, go to the Insert tab >> select Module.

• Then, write the following code in your Module.
``````Sub Add_Character()

Dim row_number As Integer
For row_number = 5 To 11
If Cells(row_number, 2).Value <> "" _
Then Cells(row_number, 3).Value = "#" & Cells(row_number, 2).Value
Next row_number

End Sub``````

Code Breakdown

• First, we created a Sub Procedure as Add_Character.
• Next, we declared row_number as Integer.
• After that, we used a For loop for each row_number from 5 to 11.
• Then, we used the IF function to check if there is any value in the row_number then added # with the row_number.

• Next, click on the Save button and go back to your worksheet.

• Now, select the Cell range C5:C11.
• After that, go to the Developer tab >> click on Macros.

• Now, the Macros box will appear.
• After that, click on Run.

• Finally, you will get the Passwords with a character using VBA.

## Practice Section

In this section, we are giving you the dataset to practice on your own and learn to use these methods.

## Conclusion

So, in this article, you will find detailed steps to add a character in Excel to multiple cells. Use any of these ways to accomplish the result in this regard. Hope you find this article helpful and informative. Feel free to comment if something seems difficult to understand. Let us know any other approaches which we might have missed here. And, visit ExcelDemy for many more articles like this. Thank you!

## Related Articles

Arin Islam

Hello, I'm Arin. I graduated from Khulna University of Engineering and Technology (KUET) from the Department of Civil Engineering. I am passionate about learning new things and increasing my data analysis knowledge as well as critical thinking. Currently, I am working and doing research on Microsoft Excel and here I will be posting articles related to it.

We will be happy to hear your thoughts

Advanced Excel Exercises with Solutions PDF