How to Circle Something in Excel (2 Suitable Ways)

In this tutorial, we will explain how to circle something in Excel using 2 different methods. We’ll use the following data set containing Name, Age, and Country to demonstrate our methods.

data set containing Name, Age, and Country


Method 1 – Using the Shapes Command to Circle Anything in Excel

In this method, we will insert shapes from the Insert Shapes command.

Steps:

To enter an Oval shape:

  • Go to the Insert tab.
  • Select Shapes >> Basic Shapes >> Oval.

Use Shapes Command to Circle Anything in Excel

A tiny black cross appears.

  • Place it where you want the shape to begin, then drag the pointer to create the shape.

a tiny black cross will appear

  • This action inserts the oval, but the fill and line colors are both blue, so we can’t see the cell details behind it.

Use Shapes Command to Circle Anything in Excel

  • Right-click on the shapes and select Format Shape from the context menu.

Format Shape after right-clicking on the shape

On the right side of the screen, the Format Shape menu appears.

  • Under the Fill option, choose 100% transparency (the fill color of the shape will be removed).
  • Click Line, and select the line’s color as red and width 1.5 pt.

Use Shapes Command to Circle Anything in Excel

The text in cell C7 is circled, and the shape is transparent with a red outline.

the writing in C7 is encircled

If you require more of the same shape, simply copy it.

  • Select the shape >> Right-click on it >> Select Copy.

right mouse click on the shape>> select Copy

  • Paste the shape in your desired location. Here we have placed it in cell C10.

paste the shape where you prefer

Read More: How to Draw a Circle in Excel with Specific Radius 


Method 2 – Circling a Cell Using VBA Code

We will insert shapes using VBA code in this technique.

Steps:

  • Select the cell where the circle will be placed,
  • To launch the Microsoft Visual Basic for Applications window, press Alt + F11.

Circle a Cell Using a VBA Code

  • To open a module, select Insert >> Module.

select Insert >> Module

  • Enter the following VBA code into the Module window that opens:
Sub CircleSomething()
    Dim Crng As Range
    Dim ARng As Range
    Set ARng = Application.Selection
    For Each Crng In ARng.Areas
        With Crng
            h = Crng.Height * 0.15
            w = Crng.Width * 0.15
            Application.ActiveSheet.Ovals.Add Top:=.Top - h, Left:=.Left - w, _
            Height:=.Height + 2.5 * h, Width:=.Width + 2.5 * w
            With Application.ActiveSheet.Ovals(ActiveSheet.Ovals.Count)
                .Interior.ColorIndex = xlNone
                .ShapeRange.Line.Weight = 1.25
            End With
        End With
    Next
    ARng.Select
End Sub

enter the VBA code

  • Run the code by pressing F5 or clicking the Run button.

A circular shape will be added to the selected cell in the worksheet.

After clicking on Run, a circular shape will be added to the selected cell

Read More: How to Create Concentric Circle Chart in Excel


Download Practice Workbook


Related Articles


<< Go Back to Circle in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!

Leave a Reply

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

Advanced Excel Exercises with Solutions PDF