How to Remove 91 in Excel: A Step-by-Step Guide to Data Cleaning

Removing the prefix "91" from phone numbers in Excel might seem tricky, but it’s actually quite simple. By using Excel’s built-in functions, you can easily clean up your data. We will walk through a step-by-step process to achieve this, and you’ll be an Excel wizard in no time.

Removing 91 in Excel

This section will guide you on how to remove the "91" prefix from phone numbers in Excel. By following these steps, you will be able to efficiently clean your data for better readability and usability.

Step 1: Open your Excel file

First, open the Excel file that contains the phone numbers you want to modify.

Make sure the file is saved on your computer so you do not lose any progress. Once open, identify the column containing the phone numbers.

Step 2: Insert a new column

Insert a new column next to the one containing the phone numbers to store the modified numbers.

Right-click the column next to your phone numbers, then click “Insert.” This will create a new, blank column where your cleaned numbers will go.

Step 3: Use the SUBSTITUTE function

In the first cell of the new column, use the SUBSTITUTE function to remove the "91" prefix by entering =SUBSTITUTE(old_column_cell, "91", "", 1).

For example, if your phone numbers are in column A, you would enter =SUBSTITUTE(A1, "91", "", 1) in the first cell of the new column. This function will look for "91" and replace it with nothing.

Step 4: Copy the formula down the column

Drag the fill handle (a small square at the bottom-right corner of the cell) to copy the formula down the column, applying it to all phone numbers.

When you drag the fill handle down, Excel will automatically apply the formula to all cells in the new column, removing the "91" prefix from each phone number.

Step 5: Copy and paste values

To replace the original column, copy the cleaned numbers from the new column, then paste them as values over the original numbers.

Highlight the cleaned numbers, right-click, and choose "Copy." Then, right-click the first cell of the original column, select "Paste Special," and choose "Values" to overwrite the original numbers with the cleaned ones.

After you complete these steps, the "91" prefix will be removed from all phone numbers in your Excel sheet. This makes your data more consistent and easier to read.

Tips for Removing 91 in Excel

  1. Double-check your data: Before making any changes, ensure you have a backup of your original data.
  2. Use the RIGHT function: An alternative to SUBSTITUTE is the RIGHT function, which can also be used to remove the first two digits.
  3. Automate with macros: If you frequently need to clean data, consider using an Excel macro to streamline the process.
  4. Practice good naming conventions: Name your columns clearly to avoid confusion.
  5. Test your formula: Always test your formula on a few cells before applying it to the entire column to ensure it works correctly.

Frequently Asked Questions

How do I know if the SUBSTITUTE function worked?

After applying the formula, check a few cells to see if the "91" prefix is gone. If the numbers look correct, the function worked.

Can I use this method for other prefixes?

Yes, simply replace "91" in the SUBSTITUTE function with the prefix you need to remove.

What if some numbers do not have the "91" prefix?

The SUBSTITUTE function will leave those numbers unchanged, so nothing will be removed.

Do I need to replace the original column?

Replacing the original column is optional, but it helps keep your data clean and consistent.

Can this method be used in Google Sheets?

Yes, the SUBSTITUTE function also works in Google Sheets with the same syntax.

Summary

  1. Open your Excel file.
  2. Insert a new column.
  3. Use the SUBSTITUTE function.
  4. Copy the formula down the column.
  5. Copy and paste values.

Conclusion

Removing the prefix "91" in Excel is a straightforward process that can significantly enhance the quality of your data. Whether you’re managing a small list of contacts or a large database, this method ensures that your phone numbers are clean and ready for use.

Remember, Excel offers a myriad of functions and tools designed to simplify data manipulation. Taking the time to master these features can save you countless hours in the long run.

So, next time you encounter a pesky prefix or any other data inconsistency, you’ll know exactly how to tackle it. Keep practicing, and soon enough, you’ll be an Excel pro, capable of handling any data challenge thrown your way.

Get Our Free Newsletter

How-to guides and tech deals

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