Extracting certain info from a cell

DTMHibbert

New Member
Joined
Oct 4, 2017
Messages
6
Hi All, hoping you can help me here -

[TABLE="width: 368"]
<tbody>[TR]
[TD="width: 368"]Bevan010: Available 255 / Required 424[/TD]
[/TR]
</tbody>[/TABLE]

The text above is an example of data that is exported from a system we use, what i would like to do is to grab the numbers of of this string into two separate columns.

so in the example above the spreadsheet would be

[TABLE="width: 500"]
<tbody>[TR]
[TD]Data[/TD]
[TD]Available[/TD]
[TD]Required[/TD]
[/TR]
[TR]
[TD][TABLE="width: 368"]
<tbody>[TR]
[TD="width: 368"]Bevan010: Available 255 / Required 424[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]255[/TD]
[TD]424[/TD]
[/TR]
</tbody>[/TABLE]

Could anyone help on two formulae that could extract the information needed.

Thanks
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Try
=TRIM(MID(SUBSTITUTE(A1," /",REPT(" ",100)),SEARCH("Available ",A1)+10,100))*1
and
=TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",100)),100))*1
 
Upvote 0
Works perfectly... thanks so much...

i did have a formula which got me by but lost this... yours use such a better solution.

:) Thanks
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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