By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: You Need to Know What Double Quotes Do in Excel
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > You Need to Know What Double Quotes Do in Excel
News

You Need to Know What Double Quotes Do in Excel

News Room
Last updated: 2025/08/31 at 9:24 PM
News Room Published 31 August 2025
Share
SHARE

When you think of double quotation marks, you probably remember your English lessons in school. However, in Microsoft Excel, they serve a different purpose altogether. In fact, they can help you improve your formulas, let you interact with AI, and make your spreadsheets tidier.

Including Text Strings in Formulas

One of the most common uses of double quotes in Microsoft Excel concerns text strings in formulas.

Imagine you’re a teacher. In your Excel worksheet, you have this table, with student IDs in column A, their scores in column B, and a blank Status column where you will evaluate their scores.

Specifically, if a value in the Score column is 50 or more, you want to return the word Pass in the corresponding row of the Status column. On the other hand, if a value in the Score column is less than 50, you want to return the word Fail.

Before I show you the formula for this, let’s go back a step and imagine that, rather than returning the words Pass or Fail, you wanted to return the numbers 1 or 2. For this, the IF formula would be as follows:

=IF([@Score]>=50,1,2)

meaning if a score in a given row is greater than or equal to 50, the result is 1. If it’s not, the result is 2.

When you enter a formula into a cell in a column of an Excel table and press Enter, it is automatically duplicated in the remaining cells of the same column. This saves you from having to use the fill handle or copy and paste the formula manually.

The IF function used in Excel to return 1 if a corresponding score is greater than equal to 50, or 2 if not.

Because the return values in the formula are numbers, you don’t need to use any double quotes. However, turning back to the return values Pass and Fail, because these are text, you do need to use double quotes:

=IF([@Score]>=50,"Pass","Fail")

The IF function used in Excel to return Pass if a corresponding score is greater than equal to 50, or Fail if not.

If you don’t embed these values in double quotes, you’ll see the #NAME? error because Excel is looking for numerical return values, but can’t find any.

The NAME error is showing in a table column in Excel because textual return values in the IF function are not embedded in double quotes.

In the example above, you saw that double quotes are used to define textual results in a logical formula. However, the same principle applies to any arguments containing text in any formula.

Here, the formula in D2, which uses the COUNTIF function to count the number of times the word London appears in the Favorite City column of the T_Cities table, uses quotation marks around the lookup value:

=COUNTIF(T_Cities[Favorite City],"London")

The COUNTIF function in Excel used to count the number of times the word London appears in the Favorite City column of the T_Cities table.

Failing to include the quotation marks in this case would return zero because Excel can’t link the lookup value to the specified range.

A COUNTIF formula in Excel returns zero because the lookup text in the formula is not enclosed within quotation marks.

An arguably better way to achieve the same outcome as in the example above is to type the word London into a separate cell, and reference that cell in the lookup value argument instead. Using cell references instead of hard-coding values in formulas has many benefits—one is that you don’t need to remember to use double quotes when referencing cells.

Defining Prompts When Using the COPILOT Function

Excel’s COPILOT function uses artificial intelligence to generate responses according to a prompt you input.

At the time of writing (August 2025), the COPILOT function is in preview with Microsoft Insiders. Microsoft warns that the COPILOT function “uses AI and can give incorrect responses,” advising that you should use “native Excel [functions] for any task requiring accuracy or reproducibility.”

Here’s the syntax:

=COPILOT(prompt¹, [context¹], [prompt²], [context²], ...)

where each prompt is the text that describes the task or question, and each context directs Excel to the relevant single cell, range of cells, table, or named range.

Suppose you’ve gathered some feedback from your coworkers on a new coffee machine you installed in the office.

Coffee Machine Feedback in an Excel worksheet, with each feedback comment placed in a new cell in column D. Microsoft

Now, you want to use the COPILOT function to classify the comments into positive and negative. To do this, in cell E4, make sure the prompt argument is embedded within double quotes:

=COPILOT("Classify this feedback",D4:D18)

A COPILOT formula typed into cell E4 that commands Excel to classify coffee machine feedback in cells D4 to D18. Microsoft

Here’s what you’ll see when you press Enter:

Feedback sentiment analysis in Excel, produced through the COPILOT function. Microsoft

Because the context argument is a range of cells, the result is a dynamic array, meaning it spills over from the cell where you typed the formula.

If you forget to put quotes around a prompt in the COPILOT formula, Excel returns a #VALUE error.

Representing and Returning Blank Cells (Empty Strings)

One of the most practical uses of double quotes in Excel is to represent—well—nothing! Absurd as this might sound, it’s a great way to keep your spreadsheet tidy and free of formula error alerts.

In this example, let’s say you only want the total score for each player to show once they’ve completed all three rounds. If they haven’t completed all three rounds, you want the corresponding cell in the Total column to be blank.

An unformatted range in Excel with player IDs in column A, scores for rounds 1 to 3 in columns B to D, and a blank Total column in column E.

To do this, in cell E2, type:

=IF(COUNTA(B2:D2)=3,SUM(B2:D2),"")

and press Enter.

I’ve used a regular range (as opposed to an Excel table) in this example so that the formula is shorter and easier to read.

An IF formula in Excel returns a blank cell because there is a blank cell in the referenced range.

As you can see in the screenshot above, cell E2 is blank, even though it contains a formula including a SUM argument. Here’s why:

If there are three non-blank cells in the range B2 to D2 (IF(COUNTA(B2:D2)=3), their values are added together (SUM(B2:D2)). However, if the number of non-blank cells in the range B2 to D2 does not equal three, the formula returns a blank cell, as determined by two double quotes placed one after the other (“”) as the final argument of the IF formula.

When I double-click the fill handle in the bottom-right corner of the selected cell E2 to apply the formula to the other cells in column E, only the totals where all the corresponding values in columns B, C, and D are returned.

The IF function in Excel only returns a total when all three references cells contain values.

So, the double quotes come in handy in this scenario because incomplete totals are hidden, meaning analyzing the completed totals is easier.

One of my favorite uses of double quotes in Excel is with the IFERROR function. In this example, I am tracking the goals-per-game ratio of ten players. To do this, I typed:

=[@Goals]/[@Games]

in cell D2, and when I pressed Enter, the Excel table automatically duplicated the formula down the rest of the column.

Players' goals-per-game ratios are calculated in an Excel spreadsheet by dividing the values in the Goals column by the values in the Games column.

However, because player C has not played any games, the formula returns #DIV/0! in cell D4.

To tidy this up, I can embed the whole formula within the IFERROR function:

=IFERROR(x,y)

where x is the calculation being performed, and y is the value to return if there is an error.

In this case, the calculation is to divide the values in the Games column by the values in the Goals column, and the if-error value should be a blank cell, represented by two double quotes:

=IFERROR([@Goals]/[@Games],"")

As a result, the error is hidden.

The IFERROR function being used in Excel to conceal the error that would have appeared in a cell due to the formula attempting to divide a value by zero.

Because the formula still contains the division calculation, as soon as I enter a value greater than zero in cell B4, the division can be performed, so a value is shown.

The game count and goal-per-game ratio for player C in an Excel table are highlighted.

Bear in mind that using the IFERROR function to hide errors in your spreadsheet can make identifying calculation errors more difficult. This is why I only tend to use it in scenarios when #DIV/0! would otherwise appear.

Adding a Space (Delimiter) When Joining Text

There are many ways to join text in Microsoft Excel, including using the ampersand (&) symbol or a selection of functions. However, if you want to add a delimiter between two values you merge, this is where double quotes come into play.

A delimiter is a character, symbol, or space used to separate items in a sequence. So, for example, the delimiter between a first name and a last name is a space, and the delimiter between a file’s name and extension is a period.

Let’s say you want to take these people’s first names (column A) and last names (column B), and join them together in column C. However, importantly, you need to leave a space between each of the two names.

An Excel table with first names in column A, last names in column B, and a blank column C where the first and last names will be joined together.

One way to do this is by using the ampersand:

=[@First]&" "&[@Last]

where

  • [@First] takes the name from the column named First,
  • ” “ (double quotes either side of a space) tells Excel to add a space delimiter,
  • [@Last] takes the name from the column named Last, and
  • The ampersands link all of the above to produce a string.

Ampersands and double quotation marks are used in Excel to join first names and last names.

Another way to merge the first and last names with a space between is by using the TEXTJOIN function:

=TEXTJOIN(" ",TRUE,[@First],[@Last])

where

  • ” “ (a space between two double quotes) tells Excel that the delimiter between each joined text value is a space,
  • TRUE tells Excel to ignore blank values (whereas FALSE would include blank values),
  • [@First] takes the name from the column named First, and
  • [@Last] takes the name from the column named Last.

The TEXTJOIN function in Excel is used to join first and last names, with double quotes used to identify as space as the delimiter.

You can also use the CONCAT function to achieve the same outcome:

=CONCAT([@First]," ",[@Last])

where the CONCAT function joins each argument together—one of which is a space, which separates the text extracted from the First column from the text extracted from the Last column.

The CONCAT function and double quotation marks are used in Excel to join first names and last names.

In all the examples above, you could insert a character—such as a period, hyphen, forward slash, or asterisk—between the double quotes, instead of a space.

Displaying Quotation Marks in Text Strings

You might be wondering how to actually display double quotes in text. This is where things can get complicated. But don’t worry—there’s an easier way to get around it.

Suppose you want to display the following in an Excel cell: She said, “Hello.”

Typing:

=She said, "Hello"

into a cell and pressing Enter would cause Excel all sorts of confusion and return an error, because the formula contains text that isn’t wrapped in double quotes.

OK, so let’s wrap the whole thing in double quotes:

="She said, "Hello.""

This doesn’t work either, because the first double quote starts the text string, and Excel thinks that the second double quote ends it. So, everything from the word Hello onward can’t be understood.

This time, let’s add some more double quotes around the word Hello:

="She said, ""Hello."""

This time, you get the intended result.

Some text in an Excel cell with double quotes displayed as textual characters.

This is because when two double quotes are used together, the first is an escape double quote, and the second is an actual double quote, treated as text. So, in the formula above, the first double quote signifies the start of the text string, the second is the escape character for the third, the fourth is an escape character for the fifth, and the sixth signifies the end of the text string.

An illustration of how double quotes are used in an Excel formula to display double quotes in the result.

If seeing so many double quotes hurts your head (as it does mine!), there’s an easier-to-understand approach. Typing:

="She said, "&CHAR(34)&"Hello."&CHAR(34)

and pressing Enter returns the same intended result.

Some text in a Microsoft Excel cell with double quotes displayed as textual values.

This is because the double quotes on either side of the text tell Excel you want to return a text string, and CHAR(34) is the code to return a double quote as text.

An illustration of how double quotes and CHAR(34) can be used in Excel to return double quotes in a formula.


Double quotes aren’t the only special characters in Excel that serve a specific purpose. For example, even though parentheses, square brackets, and curly braces look similar, they all have very particular functions. And on the topic of symbols, it’s also worth getting to know what the hash (#) sign does in Excel.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Today's NYT Connections Hints, Answers for Sept. 1, #813
Next Article This contentiously thin Galaxy Z Fold 7 competitor is now available in more regions
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Here’s what the Daily Hub card will look like on your Discover feed (APK teardown)
News
I’m a bedding expert — these Labor Day mattress bundle deals are the ultimate sleep package
News
Best Treadmills of 2025 Tested by a Running Expert
News
endure the weight of 96 trucks at the same time
Mobile

You Might also Like

News

Here’s what the Daily Hub card will look like on your Discover feed (APK teardown)

3 Min Read
News

I’m a bedding expert — these Labor Day mattress bundle deals are the ultimate sleep package

1 Min Read
News

Best Treadmills of 2025 Tested by a Running Expert

3 Min Read
News

Grok’s First Vibe-Coding Agent Has a High ‘Dishonesty Rate’

7 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?