# How to Add Country Code in Excel: A Step-by-Step Guide for Beginners

Adding a country code in Excel is a simple yet powerful way to format phone numbers, ensuring they are uniform and ready for international use. You’ll use Excel’s Text functions, CONCATENATE, or the TEXTJOIN function to append the country code to each number. By the time you finish this article, you’ll have mastered this handy Excel skill in no time.

## How to Add Country Code in Excel

In the following steps, we’ll walk you through the process of adding a country code to phone numbers in Excel. These instructions will help you understand how to use formulas to streamline your worksheet.

### Step 1: Open Your Excel Workbook

First, open the Excel workbook containing the phone numbers.

Make sure you have the phone numbers listed in one column. This will make it easier to apply the formula to the entire column.

### Step 2: Insert a New Column for the Country Code

Next, add a new column next to the phone numbers to enter the country code.

This step is essential as it separates the phone numbers from the country codes, making your data organized and easy to read.

### Step 3: Enter the Country Code

In the new column, type the country code in the corresponding cells next to each phone number.

If you want to apply the same country code to all numbers, simply type it into the first cell and drag the fill handle down to copy it to other cells.

### Step 4: Use the CONCATENATE Function

In a new column, enter the formula using CONCATENATE to combine the country code and the phone number.

For example, if your country code is in column A and phone numbers are in column B, your formula will look something like this: `=CONCATENATE(A1, B1)`.

### Step 5: Drag the Formula Down

Drag the formula from the first cell down to apply it to the entire column.

By doing this, you automatically append the country code to each phone number in your list, making the process quick and efficient.

### Step 6: Copy and Paste as Values

To finalize, copy the entire column with the concatenated values and paste it back as values.

This step ensures that your data is clean and no longer relies on the formula, making it easier to share or export.

After completing these steps, all your phone numbers will have the country code appended, making them ready for international use.

## Tips for Adding Country Code in Excel

• Use the TEXTJOIN Function: If you’re working with more complex data, TEXTJOIN offers more flexibility than CONCATENATE.
• Consistency is Key: Ensure all phone numbers follow the same format before applying the formula.
• Use Data Validation: Prevent entry errors by setting up data validation for your country code column.
• Automate with Macros: For repetitive tasks, consider recording a macro to save time.
• Backup Your Data: Always make a backup of your original data before applying bulk changes.

## Frequently Asked Questions

### How do I handle phone numbers with spaces or special characters?

Clean your data first by removing any spaces or special characters using Excel’s TRIM and SUBSTITUTE functions.

### Can I add a country code to multiple columns at once?

Yes, use the same CONCATENATE or TEXTJOIN function and adjust your formula accordingly for multiple columns.

### What if my phone numbers are formatted as text?

Ensure the columns are formatted as text before applying the formula to avoid errors.

### How do I manage phone numbers without a country code?

You can use conditional formatting or a helper column to identify and manage those entries separately.

### Is there a way to automate this task without using formulas?

Yes, you can use Excel’s Power Query or create a custom macro to automate the process.

## Summary

1. Open your Excel workbook.
2. Insert a new column for the country code.
3. Enter the country code.
4. Use the CONCATENATE function.
5. Drag the formula down.
6. Copy and paste as values.

## Conclusion

Mastering how to add a country code in Excel can greatly streamline your data management, especially if you’re dealing with international contacts. This simple process not only ensures consistency but also prepares your data for seamless sharing and analysis. By following the steps outlined, you can quickly append country codes to any list of phone numbers, enhancing your proficiency with Excel.

If you found this guide helpful, consider exploring more advanced Excel functions and features. The more you learn, the more efficient you’ll become at handling complex data tasks. Keep practicing, and soon enough, you’ll be an Excel pro!

## Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy