How to Create a Word Cloud in Excel

Last updated on November 9th, 2026 at 01:47 pm

Excel has no word cloud chart type, so you build one in two stages. First, use Excel to split your text into single words and count how often each one appears. Then turn that word-and-count list into a picture: insert a word cloud add-in from Home > Add-ins, use a Treemap chart as a built-in stand-in, or load the file into Power BI and use its Word Cloud visual. The counting stage is where most clouds go wrong, so it gets the most attention below.

Applies to: Excel for Microsoft 365, Excel 2024 and Excel 2021 on Windows and Mac. TEXTSPLIT needs Microsoft 365 or Excel 2024, and GROUPBY needs Microsoft 365. Every step has a route for Excel 2021 as well.

The quickest route

  1. Put your text (for example, survey comments) in column A, one response per cell.
  2. Split it into one word per cell with a formula, Text to Columns or Power Query.
  3. Remove punctuation and filler words such as “the” and “and.”
  4. Count each word with a PivotTable or with UNIQUE and COUNTIF.
  5. Feed the word list and counts to an add-in, a Treemap chart or Power BI.

When it works, the most common words in your data appear largest, and filler words don’t appear at all.

Know what you’re counting

  • Know what you’re measuring. A word cloud shows how often words appear, not whether people liked something. “Slow” and “not slow” both add to the count for “slow.”
  • Use enough text. A cloud built from ten short answers says very little. Open-ended survey answers, product reviews, support tickets and meeting notes with dozens or hundreds of entries work well.
  • Keep one response per cell in a single column with a header in row 1, such as Comment. Blank rows are fine; the formulas below skip them.
  • Work on a copy. Text to Columns overwrites the cells to the right of your data, so copy the column to a new sheet first.

Can I make a word cloud of phrases instead of single words?

Yes, if you skip the splitting step. Put each phrase, such as “customer support” or “late delivery,” in its own cell, count the phrases with a PivotTable, and give the phrase-and-count table to an add-in that accepts weighted lists. Splitting on spaces would break “customer support” into two unrelated words.

Step 1: Split the text into single words

With one formula (Microsoft 365 or Excel 2024)

If your comments are in A2:A200, select an empty cell such as C2 and enter:

=TEXTSPLIT(LOWER(TEXTJOIN(" ",TRUE,A2:A200)),,{" ",",",".","?","!",";",":"},TRUE)

Here’s what each part does:

  • TEXTJOIN joins every comment into one long string, with a space between them.
  • LOWER makes everything lowercase, so “Price” and “price” are counted as the same word.
  • TEXTSPLIT breaks the string at every space and common punctuation mark. Because the delimiters are in the row position (after two commas), each word lands in its own row. The final TRUE skips the empty results you’d otherwise get where a period is followed by a space.

The words spill down column C. Don’t type anything below C2, or you’ll get a #SPILL! error.

Excel worksheet with survey comments in column A and a TEXTSPLIT formula in C2 spilling one lowercase word per row
TEXTSPLIT joins the 14 fictional responses, converts them to lowercase, and spills one word per row from C2. The list continues below the visible rows. Step 2 removes the stop words before counting.

TEXTJOIN has a limit: if the joined text is longer than 32,767 characters, it returns #VALUE!. That’s roughly 5,000 words. For bigger data sets, use Power Query (below) or split the range into chunks, such as A2:A500 and A501:A1000.

With Text to Columns (any version)

  1. Select the comment column on your copied sheet.
  2. Go to Data > Text to Columns, choose Delimited and select Next.
  3. Tick Space, tick Treat consecutive delimiters as one, and select Finish. Each word moves into its own cell across the row.
  4. Stack the columns into one long column. Copy column B and paste it under the last word in column A, then do the same for column C, and so on.

Step 4 is tedious for long comments. If that’s your situation, Power Query does the stacking for you. For more on these tools, see this guide to splitting columns in Excel with Text to Columns, Flash Fill and TEXTSPLIT.

With Power Query (repeatable, handles large data)

  1. Click inside your data and go to Data > From Table/Range. Confirm that your table has headers and select OK.
  2. In the Power Query Editor, select the comment column and choose Transform > Format > lowercase.
  3. Choose Home > Split Column > By Delimiter. Pick Space, set Split at to Each occurrence of the delimiter, open Advanced options and choose Rows.
  4. Select Home > Close & Load. Excel adds a new sheet with one word per row.

When new survey answers arrive, add them to the original table and choose Data > Refresh All. Microsoft’s split columns by delimiter page explains the split options in more detail.

Step 2: Clean up the word list

Skip this step and your biggest words will be “the,” “and” and “to.” A few minutes of cleanup makes the cloud useful.

  • Strip leftover punctuation. If you used Text to Columns, select the words and press Ctrl + H (on a Mac, Control + H). Replace each mark, such as a comma or period, with nothing. Repeat for quotation marks and parentheses if your text has them.
  • Make a stop-word list. On a new sheet named Stop, type the words you want to ignore in column A: the, and, a, an, to, of, is, it, for, was, i, we, my, in, on, very, with. Add any word that appears everywhere but means nothing in your data, such as the product’s name.
  • Filter the stop words out (Microsoft 365, Excel 2024 or 2021). If your words spill from C2, enter this in E2: =FILTER(C2#,ISNA(MATCH(C2#,Stop!A:A,0))*(LEN(C2#)>2)). It keeps words that aren’t on your list and are longer than two letters. In Excel 2021, where the words are typed values rather than a spill, use the range instead, such as C2:C2000, and remove the blanks from the result.
  • Merge variations that mean the same thing, such as “delivery” and “deliveries” or “app” and “apps,” with Find and Replace. Do this only when it suits your question.

Step 3: Count how often each word appears

With a PivotTable (any version)

  1. Make sure the cleaned word column has a header, such as Word.
  2. Select the column and choose Insert > PivotTable, then select OK to place it on a new sheet.
  3. In the PivotTable Fields pane, drag Word to Rows, then drag Word again to Values. Because the field is text, Excel shows Count of Word.
  4. Right-click any count and choose Sort > Sort Largest to Smallest.
PivotTable listing words with Count of Word sorted largest to smallest, with Word in Rows and Values in the PivotTable Fields pane
The same sample gives coffee 8, service 6, and staff 5 after the article’s stop-word cleanup. Word appears in Rows and Count of Word in Values. The ranked list continues below the visible rows.

You now have a ranked list, with the most common word at the top. If PivotTables are new to you, this walkthrough on making a pivot table in Excel covers the field list and sorting in more depth.

With formulas

Microsoft 365: one formula builds the sorted table. If the cleaned words spill from E2, enter this in G2:

=GROUPBY(E2#,E2#,COUNTA,0,0,-2)

The 0,0 turns off headers and totals, and -2 sorts by the count column, largest first.

Excel 2024 or 2021: enter =UNIQUE(E2#) in G2 (or =UNIQUE(E2:E2000) if the words aren’t a spill) and =COUNTIF(E2#,G2#) in H2. To sort, copy both columns, paste them as values, and use Data > Sort on the count column. COUNTIF ignores capitalization, which helps here. There’s more on these functions in this guide to counting the number of occurrences in Excel.

Before moving on, read the top 20 words. If something like “service” appears twice, punctuation or a stray space is still attached to one copy. Go back to Step 2 and clean it.

Step 4: Turn the counts into a word cloud

Pick the option that fits where the cloud is going:

  • A slide or report image: an add-in (Option A).
  • A live chart inside the workbook: a Treemap (Option B).
  • An interactive dashboard or a true cloud from a lot of text: Power BI (Option C).
  • No add-ins allowed and you want a cloud look: a short macro (Option D).

Option A: Use a word cloud add-in

  1. Go to Home > Add-ins > More Add-ins. If you don’t see Add-ins on the Home tab, look on the Insert tab for Get Add-ins, which some Excel builds (including some Mac versions) still use.
  2. Open the Store tab and search for word cloud.
  3. Open a result and read its description. Check that it works in Excel (some only work in Word or PowerPoint), whether it’s free, and what data it can read. Then select Add, or Try or Buy for paid ones.
  4. Select your word column, or your word-and-count table, and follow the add-in’s prompts. Most let you pick fonts, colors, how many words to show and whether words can be vertical, then save the cloud as an image.

Microsoft’s page on getting an Office Add-in for Excel walks through the Store dialog and sign-in prompt.

On a work or school account, your administrator can turn off access to the Office Store. If you see a message that your organization has disabled the Office Store, ask IT for an approved add-in or use Option B.

About privacy: some add-ins and web-based word cloud makers send your text to the publisher’s servers. Read the add-in’s permissions before you use it on customer comments, employee survey answers or anything with names or email addresses in it. If you’d rather keep data in the file, use a Treemap.

Option B: Show it as a Treemap chart

  1. Select the top 20 to 40 words and their counts (two columns, no totals row).
  2. Go to Insert > Insert Hierarchy Chart > Treemap. If you can’t find it, choose Insert > Recommended Charts > All Charts > Treemap.
  3. Each word appears in a rectangle sized by its count, with the label inside. Click the chart to see the Chart Design and Format tabs for colors and styles.
Excel Treemap chart showing survey words in rectangles sized by how often each word appears
The top 20 words from the same cleaned sample are labeled in rectangles whose areas match their counts. The chart legend is hidden for clarity. Insert Hierarchy Chart is boxed on the Insert tab.

A Treemap isn’t a scattered cloud, but it’s easier to read accurately, and it updates when your counts change. See Microsoft’s Treemap chart instructions for label options.

Option C: Use Power BI’s Word Cloud visual

Power BI Desktop is a free download for Windows 10 and later, and the Word Cloud visual is made by Microsoft and certified for Power BI. It counts words for you, so you can point it at the raw comment column.

  1. In Excel, select your data and press Ctrl + T to make it a table, then save the workbook.
  2. In Power BI Desktop, choose Get data > Excel workbook, pick your file, tick the table in Navigator and select Load.
  3. In the Visualizations pane, select the ellipsis (…) > Get more visuals, search for Word Cloud, and select Add.
  4. Select the new Word Cloud icon and drag your comment column to Category. In the visual’s format settings, turn on stop words to drop common filler.

Microsoft’s guide to importing visuals from AppSource covers the import step. Some organizations block extra visuals, in which case ask your Power BI administrator.

Option D: Lay out a simple cloud with a macro

Excel’s conditional formatting can change font color, but not font size, so a formula can’t make common words bigger. A short macro can. It reads a two-column word-and-count list, sizes each word between 11 and 48 points, shuffles the order and places the words on a new sheet with gridlines hidden. The result is a grid-style cloud you can screenshot or copy as a picture.

  1. Save the workbook as an Excel Macro-Enabled Workbook (*.xlsm).
  2. Press Alt + F11 to open the Visual Basic Editor, choose Insert > Module, and paste the code below.
  3. Back in Excel, select your word and count cells (without the headers), press Alt + F8, choose SimpleWordCloud and select Run.
Sub SimpleWordCloud()
    Dim src As Range, ws As Worksheet
    Dim n As Long, i As Long, j As Long, t As Long
    Dim cols As Long, k As Long
    Dim minC As Double, maxC As Double
    Dim idx() As Long

    Set src = Selection
    If src.Columns.Count < 2 Then
        MsgBox "Select two columns: words, then counts."
        Exit Sub
    End If
    n = src.Rows.Count
    minC = Application.WorksheetFunction.Min(src.Columns(2))
    maxC = Application.WorksheetFunction.Max(src.Columns(2))

    ReDim idx(1 To n)
    For i = 1 To n: idx(i) = i: Next i
    Randomize
    For i = n To 2 Step -1
        j = Int(Rnd * i) + 1
        t = idx(i): idx(i) = idx(j): idx(j) = t
    Next i

    cols = Int(Sqr(n)) + 1
    Set ws = Worksheets.Add
    For i = 1 To n
        k = idx(i)
        With ws.Cells((i - 1) \ cols + 1, (i - 1) Mod cols + 1)
            .Value = src.Cells(k, 1).Value
            If maxC = minC Then
                .Font.Size = 24
            Else
                .Font.Size = 11 + (src.Cells(k, 2).Value - minC) / (maxC - minC) * 37
            End If
            .Font.Color = RGB(Int(Rnd * 150), Int(Rnd * 150), 90 + Int(Rnd * 150))
            .HorizontalAlignment = xlCenter
            .VerticalAlignment = xlCenter
        End With
    Next i
    ws.UsedRange.Columns.AutoFit
    ws.UsedRange.Rows.AutoFit
    ActiveWindow.DisplayGridlines = False
End Sub

Run it again for a different arrangement and colors. Macros from the internet can be harmful, so only run code you can read, like this one, and keep your organization’s macro policy in mind.

Will the word cloud update if I change the data?

Only the Treemap and Power BI versions update on their own. If you used an add-in or a macro, refresh the counts and make the cloud again.

Can I do this in Excel for the web or on a Mac?

Partly. The counting formulas such as UNIQUE and COUNTIF work in Excel for the web, but VBA macros don’t run in the browser, so Option D needs the desktop app. Power BI Desktop is a Windows app, so on a Mac stick with an add-in or a Treemap.

Is a word cloud good enough for reporting survey results?

It’s a good first look, but people misjudge word sizes. Put the sorted count table or a bar chart of the top ten words next to it so readers can see the exact numbers.

Once your cloud is ready, try running the same steps on just the negative or positive responses. Comparing the two clouds side by side often says more than one cloud of everything.

If your word cloud looks wrong

  • “The” and “and” are the biggest words. The stop-word filter wasn’t applied. Check that the add-in or chart is reading the filtered column (E), not the raw split (C).
  • The same word appears twice. One copy has a capital letter, punctuation or a trailing space. Wrap the text in LOWER, add the mark to the TEXTSPLIT delimiter list, or use TRIM before counting.
  • TEXTSPLIT or GROUPBY returns #NAME?. Your version doesn’t have that function. Use Text to Columns or Power Query for splitting, and UNIQUE with COUNTIF or a PivotTable for counting.
  • TEXTJOIN returns #VALUE!. The joined text is over 32,767 characters. Split the range into smaller parts or switch to Power Query.
  • #SPILL! appears. Something is in the way of the results. Clear the cells below or to the right of the formula.
  • The add-in only shows a few words. Most add-ins cap the word count or skip words that don’t fit. Raise the word limit in its settings or shorten the list to the top 50.
  • The Treemap labels are cut off. Small rectangles can’t fit long words. Chart fewer words or make the chart bigger.

Update or remove the cloud

A Treemap and a Power BI visual update when you refresh the source data. An add-in image or a macro sheet is a snapshot, so rerun it after your counts change. To delete an add-in image, click it and press Delete. To remove the add-in itself, go to Home > Add-ins > More Add-ins and open My Add-ins, where your installed add-ins are listed with an option to remove each one.