How do I get just the numeric number

grayg

New Member
Joined
Jul 1, 2011
Messages
5
I have a data base dump that has given me a string, but I only require the number:-

<TABLE style="WIDTH: 386pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=514 border=0><COLGROUP><COL style="WIDTH: 386pt; mso-width-source: userset; mso-width-alt: 18797" width=514><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; WIDTH: 386pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" width=514 height=20><a href="/nmsapp/woMainQuickEditForm.html?woId=129395">Quick Edit...</a></TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" height=20><a href="/nmsapp/woMainQuickEditForm.html?woId=129324">Quick Edit...</a></TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" height=20><a href="/nmsapp/woMainQuickEditForm.html?woId=129194">Quick Edit...</a></TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" height=20><a href="/nmsapp/woMainQuickEditForm.html?woId=129175">Quick Edit...</a></TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" height=20><a href="/nmsapp/woMainQuickEditForm.html?woId=129162">Quick Edit...</a>

This is 5 entry lines to show each line has the same data (except the number)

</TD></TR></TBODY></TABLE>
Is there and easy way to strip out only this data as I have 5000+ enteries

Regards

Gary
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Have you tried a Find/Replace (Ctrl+H) using "* in the find box and leaving the replace box blank?
 
Upvote 0
Try Rorya's suggestion, or

Text to columns, with the " as the delimiter, or

=LEFT(A1,FIND(">",A1)-2)
 
Upvote 0
Will need a little more help

I have put =LEFT(A1,FIND(">",A1)-2) in the destination field


But get Reference not valid error

Sorry not a expert at excel.......so will need a little more basic help....sorry
 
Upvote 0
Yes

go to Text to columns

Use "fixed width

click next and break lines ..........do nothing

click next and put your suggestion in the Destination field, leaving the "General" radio button checked
 
Upvote 0
Try this

=left(substitute(a1,">","/"),find("/",substitute(a1,">","/"))-2)+0
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top