Solved

Can we delete labeled or unlabeled digit in Excel?

Posted on 2016-10-02
7
29 Views
Last Modified: 2016-10-21
Hi The below is a group of data. Can we delete labeled or unlabeled digit in Excel with a simpler way? Thank you

18      34
21      35
23      36
25      36
25      40
27      43
29      45
0
Comment
Question by:eemoon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 8

Expert Comment

by:Koen
ID: 41825430
what are you trying to achieve ? what do you mean with labeled or unlabeled digit?
0
 
LVL 48

Expert Comment

by:Martin Liss
ID: 41825432
Please explain what you mean by "labeled or unlabeled".
0
 

Author Comment

by:eemoon
ID: 41825438
Sorry it is not clear.
The labeled or unlabeled is highlighted one with Bold or other colors
In this case, they are 35, 25, and 43
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 48

Expert Comment

by:Martin Liss
ID: 41825459
When you delete them what should happen to the cell? Should it be blank or should the other data in the column move up?
0
 

Author Comment

by:eemoon
ID: 41825479
it does not matter because I can put them together by sorting. It could be blank
0
 
LVL 48

Accepted Solution

by:
Martin Liss earned 500 total points (awarded by participants)
ID: 41825555
Here a macro. It deletes all cells on the sheet that are bolded. It could easily be limited to a specific range.

Sub DeleteBold()

Dim cel As Range

For Each cel In ActiveSheet.UsedRange
    If cel.Font.Bold = True Then
        cel.Delete
    End If
Next
End Sub

Open in new window

0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question