How to circle around a cell in Excel?
When you edit a worksheet, you may want to draw a circle around a cell to show it obviously just as below screenshot shown. Now I will introduce some tricks for you to circle around a cell in Excel.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
To circle around a cell, you need to insert an oval shape.
1. Click Insert > Shapes, and select Oval shape from the Basic Shapes section in the list. See screenshot:
2. Draw the oval to circle around the cell you need. See screenshot:
3. Right click at the shape and select Format Shape from context menu.
4. In the Format Shape dialog (or Format Shape pane), click Fill tab, and drag the arrow of Transparency to the right to make sure 100% displaying in the textbox. See screenshot:
5. Close the dialog. Now you can see there is a circle around the cell.
Tip: In default, the shape will move and resize with the cell.
If you want to quickly circle around a cell, you can use the VBA code.
1. Select the cell you want to circle and press Alt + F11 keys together to open the Microsoft Visual Basic for Applications window.
2. Click Insert > Module and copy the follow VBA code to the popped out window.
VBA: Circle around a cell.
Sub DrawCircle() 'Updateby20141105 Dim Arng As Range Dim WorkRng As Range Set WorkRng = Application.Selection For Each Arng In WorkRng.Areas With Arng x = Arng.Height * 0.1 y = Arng.Width * 0.1 Application.ActiveSheet.Ovals.Add Top: = .Top - x, Left: = .Left - y, _ Height: = .Height + 2 * x, Width: = .Width + 1.5 * y With Application.ActiveSheet.Ovals(ActiveSheet.Ovals.Count) .Interior.ColorIndex = xlNone .ShapeRange.Line.Weight = 1.25 End With End With Next WorkRng.Select End Sub
3. Press F5 key or click Run button to run the VBA code, now the selected cell is circled.
(1) If you select multiple adjacent cells in the first step, this VBA macro will circle around these cells together.
(2) If you select multiple non-adjacent cells in the first step, this VBA macro will circle around each cell individually.
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 10 months agoTHAKING YOU.........!
- To post as a guest, your comment is unpublished.· 5 years agoThank you so much for this tip! I used the macro and it worked fantastically. I added macro multiple times for different colored ovals.
One question - how do I shift the oval over to right on the cell slightly. I think this would better center the oval for the size of my cells.