Skip to main content

How to add quotes around numbers or text in Excel?

Author: Sun Last Modified: 2024-07-24

When working with Excel, you might encounter situations where you need to add quotes around numbers or text, such as when preparing data for import into other systems or creating specific data formats. Adding quotes manually can be tedious, especially if you have a large dataset. Fortunately, there are several methods available in Excel to streamline this process. This guide will walk you through three effective techniques for adding quotes around your data: using the Format Cells function, Kutools for Excel, and formulas. Each method offers a unique approach to help you achieve the desired formatting quickly and efficiently.

screenshot of adding qoutes around number and text

Add quotes around texts only with Format Cells function

The Format Cells function in Excel provides a straightforward way to add quotes around text without altering the underlying data. This method is particularly useful when you need to display text with quotes for presentation purposes or data formatting, without changing the actual content of the cells. Here’s how you can use this function to add quotes around text values:

1. Select the data range, right click to display context menu, select Format Cells.

doc add qoutes around number text 3

2. In the Format Cells dialog, under Number tab, select Custom from the Category list, and then type the following format into the Type textbox.

"''"@"''"
doc add qoutes around number text 4

3. Click OK. Now only the texts are added quotes around.

result screenshot of adding qoutes around text only

Note: The number cells will be changed to text format.


Add quotes around texts or numbers with Kutools for Excel

Kutools for Excel offers a convenient tool – Add Text for adding quotes around both text and numbers in a range of cells with just a few clicks. This method is ideal for users who need a quick and efficient way to format large datasets without manual entry or complex formulas. Here’s how to use Kutools for Excel to add quotes around your data:

After installing Kutools for Excel, go to the Kutools tab and select Text > Add Text to open the Add Text dialog box. Then you need to ocnfigure as follows

  1. Select the range where you want to add quotes around the texts and numbers.
  2. Enter a quote in the Text field.
  3. Select the Only add to option and choose Around text from the drop-down.
  4. Click OK.
    screenshot of adding qoutes around text and number using Kutools for Excel
Result

Then quotes are added around text and number in each cell of the selected range as shown in the screenshot below

result screenshot of adding qoutes around text and number using Kutools for Excel
Note: To use this feature, you should have Kutools for Excel installed on your computer. Go to download Kutools for Excel to get a 30-day free trial with no limitations.

Add quotes around texts or numbers with formulas

If you prefer to use formulas to add quotes around your data, Excel provides a flexible way to achieve this. This method is useful when you need to include quotes as part of a formula-driven solution or when dealing with specific data transformations. Follow these steps to use formulas for adding quotes:

Select a cell next to the cells you want to add quotes around, then apply one of the following formulas:

=""""&J1&""""
=char(34)&J1&char(34)

Drag fill handle to fill formula to the cells you need.
doc add qoutes around number text 5


Add Text


Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations