ahovander1213

New Member
Joined
Oct 13, 2018
Messages
10
Need a formula or macro to extract specific info

Below in bold is what I am pasting into Excel as 1 column, 4 rows
I don't care about row 1

I can use LEFT function to get the 1st 6 digits.

My issue is how to I get middle (example 2,405.66 in row 2). My issue is there is no consistency.
/1 has various blank cells before it gets to amount i want. After amount I also get various blank cells.

In my example I have underlined the data I want to extract.


PO #/Line Rel # Amount Paid Qty Received
505979/1 2,405.662.00
505979/2 1,271.68 1.00
506339/1 2,405.66 2.00
 
The number of spaces vary (click "Reply With Quote" to see the OP's actual layout).

Just checked, and that's what I figured, so my formula in Post # 7 should work fine, unless those might be "Non-breaking spaces".
 
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,217,364
Messages
6,136,112
Members
449,993
Latest member
Sphere2215

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