Display only numbers in Excel



Display only numbers in Excel. Extract the numbers from cells that have both letters and numbers. Remove the letters and just leave numbers in the cell

Click this link to check out my one-on-one training

For more help visit my website www.easyexcelanswers.com or email me at easyexcelanswers@gmail.com.

Contact me regarding customizing this template for your needs.

Click for online Excel Consulting

I am able to provide online help on your computer at a reasonable rate.

I use a Blue condenser Microphone to record my videos, here is the link

Check out Crowdcast for creating your webinars

I use Tube Buddy to help promote my videos
Check them out

Follow me on Facebook

TWEET THIS VIDEO

Follow me on twitter
easyexcelanswers

IG @barbhendersonconsulting

You can help and generate a translation to you own language

*this description may contain affiliate links. When you click them, I may receive a small commission at no extra cost to you. I only recommend products and services that I’ve used or have experience with.

Sub justnumbers()
Dim char As Long
Dim renumbs As String
Dim strtstrg As String
Dim r As Long
r = 1
Do While Sheet1.Cells(r, 1) (not equal to ) “”
renumbs = “”
strtstrg = Sheet1.Cells(r, 1)
For char = 1 To Len(strtstrg)
If IsNumeric(Mid(strtstrg, char, 1)) Then
renumbs = renumbs & Mid(strtstrg, char, 1)
End If
Sheet1.Cells(r, 2) = renumbs
Next char
r = r + 1
Loop
End Sub

Watch more new videos about Excel Office | Synthesized by Mindovermetal English

Rate this post

Bài viết liên quan

Theo dõi
Thông báo của
guest
0 Comments
Phản hồi nội tuyến
Xem tất cả bình luận