Skip to main content

How to extract bold text only from a list in Excel?

Author: Sun Last Modified: 2014-05-29

In a long list of data in Excel, some of the important data is formatted as bold, and you just want to extract these bold texts only into another range, you can follow the simple methods below to get it done.

Extract bold text only from list with Find and Replace in Excel

Extract bold text only from list by using Defined Function

Extract bold text only from list with Kutools for Excel


arrow blue right bubble Extract bold text only from list with Find and Replace in Excel

Find and Replace function can help you find the bold text firstly, and then you can copy them to the new range you want.

1. Press Ctrl + F to open the Find and Replace dialog, and click Options to expand the dialog, then click Format. See screenshot:

2. In the Find Format dialog, click Font tab, and select Bold in the Font style: box, and click OK. See screenshot:

3. Back to the Find and Replace dialog, click Find All. See screenshot:

4. Press Ctrl + A to select all of searching results in the Find and Replace dialog, and then click the Close button to exit it. Now all cells formatted as bold are selected, and you can copy them to the range you want.


arrow blue right bubble Extract bold text only from list by using Defined Function

There is a Defined Function that can extract bold text.

1. Select a cell of the column you want to select and press Alt + F11 to open the Microsoft Visual Basic for Applications window.

2. In the pop-up window, click Insert > Module, then paste the following VBA code into the module.

VBA: Extract bold text only

Function GetBold(pWorkRng As Range)
'Updateby20140514
If pWorkRng.Font.Bold Then
    GetBold = pWorkRng.Value
Else
    GetBold = ""
End If
End Function

3. Save the code and close the window, select a blank cell and type this formula = GetBold(A2), then press Enter button, and drag the fill handle to fill the range you want. After that, you can see only bold texts are extracted.


arrow blue right bubble Extract bold text only from list with Kutools for Excel

If you have installed Kutools for Excel, its Select Cells with Format feature also can do a favor for you to extract bold text only from a list.

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 30 days. Get it Now

1. Select the list range you want to extract bold text only, and click Kutools > Select Tools > Select Cells with Format. See screenshot:

2. In the Select Cells with Format dialog, click Choose Format From Cell, then select a bold text cell from the list, click OK to close the small dialog. See screenshot:

3. Click the Smartselect button, and then click OK, and then a dialog pops up to remind you if select the cells. See screenshots:

4. Click Yes to close the dialogs. Now the bold cells are selected, you can copy them to the range you like. See screenshot:

For more description on Select Cells with Format.


Relative Articles:

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 (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
This actually worked quick and easy for me. I was surprised since I use a Mac and all the other "easy" options for filtering on BOLD didn't work on a mac. I hope the next person looking for the answer to do this knows how to find the Developer area quickly and "save" the code (I feel I managed to do this on pure luck, cause I have any skills or knowlegde on this matter...)
This comment was minimized by the moderator on the site
Need a code to select only unbold data. I have bold and unbold data in Column A, i want to select the unbold data only.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations