Solved

Can we delete labeled or unlabeled digit in Excel?

Posted on 2016-10-02
7
26 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 47

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 47

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 47

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

749 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