Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2014, 08:38 AM
kjxavier kjxavier is offline Find and Replace, Formatting, Formatting Formula Windows XP Find and Replace, Formatting, Formatting Formula Office 2007
Advanced Beginner
Find and Replace, Formatting, Formatting Formula
 
Join Date: Jul 2011
Posts: 39
kjxavier is on a distinguished road
Thumbs up Find and Replace, Formatting, Formatting Formula

Hi! Thank you for your support!

I have some raw data, where i need to separate them with <paragraph marks> to convert them as paragraphs (different records)!

RAW DATA: (Just for reference)
"
44 6 82 84 42 414 & Y33 3 73 36 2 Mr.Jack B William & Mr .Thomas B Frey New York.NY Nine Hundred Sixty Three Thousand Seven Hu ndred Eighty One AND Twenty Five % (after Total Interest Calcu lation - (minus) 13 %) (Reduction in Purchase Value - (minus) 23%) (after Monthly Principal Calculation - (minus) 20 %) Ninet een Years AND Eight. Four%814 414 41 41 4 42 & 32 77 2 6673 28 Mrs.Carla B Lund & Mr.Bar ry K Olivas Houston.TX Eight Hundred Seventy Eight Thousand E ight Hundred Seventy Eight AND Twenty Three % (after Total In terest Calculation - (minus) 14 %) (Reduction in Purchase Value - (minus) 20 %) (after Monthly Principal Calculation - (minus) 18 %) Twenty - Eight Years AND Seven. 0ne% 46 4 44 2 4 4 48 4 & 77 862 7 3 55 5 Mr.Ivan E Arthur & Ms.Dor othy D Hartwell Rocky Mount.NC Eight Hundred Twenty Two Thous and Seven Hundred Eighty Four AND Sixteen % (after Total Intere st Calculation - (minus) 15 %) (Reduction in Purchase Value - ( minus) 22 %) (after Monthly Principal Calculation - (minus) 17 % ) Twenty - Six Years AND Nine. Eight%444 64 48 8 64 4 & E 82 8755 86 8 Dr.Michael B Claytor & Mr.Tho mas L Moore Deerpark.NY Eight Hundred Twenty Six Thousand One Hundred Eighty Nine AND Seventeen % (after Total Interest Calcu lation - (minus) 17 %) (Reduction in Purchase Value - (minus) 21 %) (after Monthly Principal Calculation - (minus) 21 %) Twent y - Eight Years AND Eight. Eight%246 48 66144 464 8 & 72 27 5 367 62 5 Mrs.Bertha R Belville & M rs.Jennifer D Leblanc Carlisle.PA Nine Hundred Three Thousand Ni ne Hundred Six AND Twenty Five % (after Total Interest Calcu lation - (minus) 14 %) (Reduction in Purchase Value - (minus) 1 8 %) (after Monthly Principal Calculation - (minus) 13 %) Seven teen Years AND Six. 0ne%"


My request:



To place a <paragraph mark> after the "%" which is followed by 10+ numeric (with spaces in between) ends with "numeric<space>&"




i.e.: when a search encounters a 'numeric followed by a <space>and &' then the preceding "%" sign should be replaced with "%<paragraph mark>"' which results my above raw data as follows:
Formatted raw data:
"
44 6 82 84 42 414 & Y33 3 73 36 2 Mr.Jack B William & Mr .Thomas B Frey New York.NY Nine Hundred Sixty Three Thousand Seven Hu ndred Eighty One AND Twenty Five % (after Total Interest Calcu lation - (minus) 13 %) (Reduction in Purchase Value - (minus) 23%) (after Monthly Principal Calculation - (minus) 20 %) Ninet een Years AND Eight. Four%
814 414 41 41 4 42 & 32 77 2 6673 28 Mrs.Carla B Lund & Mr.Bar ry K Olivas Houston.TX Eight Hundred Seventy Eight Thousand E ight Hundred Seventy Eight AND Twenty Three % (after Total In terest Calculation - (minus) 14 %) (Reduction in Purchase Value - (minus) 20 %) (after Monthly Principal Calculation - (minus) 18 %) Twenty - Eight Years AND Seven. 0ne%
46 4 44 2 4 4 48 4 & 77 862 7 3 55 5 Mr.Ivan E Arthur & Ms.Dor othy D Hartwell Rocky Mount.NC Eight Hundred Twenty Two Thous and Seven Hundred Eighty Four AND Sixteen % (after Total Intere st Calculation - (minus) 15 %) (Reduction in Purchase Value - ( minus) 22 %) (after Monthly Principal Calculation - (minus) 17 % ) Twenty - Six Years AND Nine. Eight%
444 64 48 8 64 4 & E 82 8755 86 8 Dr.Michael B Claytor & Mr.Tho mas L Moore Deerpark.NY Eight Hundred Twenty Six Thousand One Hundred Eighty Nine AND Seventeen % (after Total Interest Calcu lation - (minus) 17 %) (Reduction in Purchase Value - (minus) 21 %) (after Monthly Principal Calculation - (minus) 21 %) Twent y - Eight Years AND Eight. Eight%
246 48 66144 464 8 & 72 27 5 367 62 5 Mrs.Bertha R Belville & M rs.Jennifer D Leblanc Carlisle.PA Nine Hundred Three Thousand Ni ne Hundred Six AND Twenty Five % (after Total Interest Calcu lation - (minus) 14 %) (Reduction in Purchase Value - (minus) 1 8 %) (after Monthly Principal Calculation - (minus) 13 %) Seven teen Years AND Six. 0ne%"

Suggestion: (For a closer view i have cut off preceding data)

Four%814 414 41 41 4 42 & 32 77 2 6673 28
0ne% 46 4 44 2 4 4 48 4 & 77 862 7 3 55 5
Eight %444 64 48 8 64 4 & E 82 8755 86 8
Eight%246 48 66144 464 8 & 72 27 5 367 62 5



Four%
814 414 41 41 4 42 & 32 77 2 6673 28
0ne%
46 4 44 2 4 4 48 4 & 77 862 7 3 55 5
Eight %
444 64 48 8 64 4 & E 82 8755 86 8
Eight%
246 48 66144 464 8 & 72 27 5 367 62 5


Your early reply is highly appreciated!
Thank you
Attached Files
File Type: docx Example2.docx (12.7 KB, 9 views)

Last edited by kjxavier; 07-04-2014 at 08:40 AM. Reason: Better clarity
Reply With Quote
  #2  
Old 07-04-2014, 09:11 AM
macropod's Avatar
macropod macropod is offline Find and Replace, Formatting, Formatting Formula Windows 7 32bit Find and Replace, Formatting, Formatting Formula Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You should be able to achieve that with a wildcard Find/Replace, where:
Find = (%)([0-9 ]{10,}&)
Replace = \1^p\2
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
find and replace, formatting, formulas



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and Replace, Formatting, Formatting Formula Formula/Conditional Formatting teza2k06 Excel 1 04-15-2014 06:49 PM
Find and Replace, Formatting, Formatting Formula Find and replace with mixed formatting pogonoforysci1 Word 2 09-26-2012 09:16 AM
Find and Replace, Formatting, Formatting Formula conditional formatting formula NEHicks503 Excel 1 11-30-2011 09:01 AM
Find and Replace, Formatting, Formatting Formula Find & Replace formula for numbers? Griff Word 4 04-18-2011 02:47 AM
Replace formatting with text eyehefbee Word 2 11-09-2009 02:41 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft