Delete spaces between single capitals in a long column of company names? __
Subject:How do you remove spaces between single capitals in a long column of company names?
Eg: If I have A B C Company and I want to delete spaces such as in: ABC Company…
Is there a way I can do that in Excel or in Access? (I am currently working the database in Excel but I could wait to do this task in Access later.)
This would standardize the company names so they sort in order.
It would help eliminate duplicates and confusion.
Thanks in advance if you can help in any way.
Keys to the Problem Delete spaces between single capitals in a long column of company names? __
This will work for the following cases
where text to be tested is in cell A1,
not elegant, but...
A B Company
A B C Company
A B C D Company
=IF(AND(MID(TRIM(A1),2,1)=" ",MID(TRIM(A1),4,1)=" ",MID(TRIM(A1),6,1)=" ",MID(TRIM(A1),8,1)=" ",MID(TRIM(A1),10,1)<>" "),LEFT(TRIM(A1))&MID(TRIM(A1),3,1)&MID(TRIM(A1),5,1)&MID(TRIM(A1),7,1)&RIGHT(TRIM(A1),LEN(TRIM(A1))-7),IF(AND(MID(TRIM(A1),2,1)=" ",MID(TRIM(A1),4,1)="
",MID(TRIM(A1),6,1)=" ",MID(TRIM(A1),8,1)<>" "),LEFT(TRIM(A1))&MID(TRIM(A1),3,1)&MID(TRIM(A1),5,1)&RIGHT(TRIM(A1),LEN(TRIM(A1))-5),LEFT(TRIM(A1))&MID(TRIM(A1),3,1)&RIGHT(TRIM(A1),LEN(TRIM(A1))-3)))
Rik_UK Please mark the message or messages that answer your question as the "Answer" or vote if a reply has been helpful.
Manually editing the Windows registry
Manually editing the Windows registry to remove invalid MACHINE_CHECK_EXCEPTION keys is not recommended unless you are PC service professional. Incorrectly editing your registry can stop your PC from functioning and create irreversible damage to your operating system. In fact, one misplaced comma can prevent your PC from booting entirely!
Caution: Unless you an advanced PC user, we DO NOT recommend editing the Windows registry manually. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows. We do not guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
To manually repair your Windows registry, first you need to create a backup by exporting a portion of the registry related to MACHINE_CHECK_EXCEPTION (eg. Windows Operating System):
- Click the Start button.
- Type "command" in the search box... DO NOT hit ENTER yet!
- While holding CTRL-Shift on your keyboard, hit ENTER.
- You will be prompted with a permission dialog box.
- Click Yes.
- A black box will open with a blinking cursor.
- Type "regedit" and hit ENTER.
- In the Registry Editor, select the Error 0x9C-related key (eg. Windows Operating System) you want to back up.
- From the File menu, choose Export.
- In the Save In list, select the folder where you want to save the Windows Operating System backup key.
- In the File Name box, type a name for your backup file, such as "Windows Operating System Backup".
- In the Export Range box, be sure that "Selected branch" is selected.
- Click Save.
- The file is then saved with a .reg file extension.
- You now have a backup of your MACHINE_CHECK_EXCEPTION-related registry entry.
Recommended Method to Fix the Problem: Delete spaces between single capitals in a long column of company names? __:
How to Fix Delete spaces between single capitals in a long column of company names? __ with SmartPCFixer?
1. You can Download SmartPCFixer here. Install it on your computer. When you open it, it will perform a scan.
2. After the scan is done, you can see the errors and problems which need to be fixed.
3. The Fixing part is done, the speed of your computer will be much higher than before and the errors have been removed.
Related: How to Update & Download NVidia GeForce 6100/nForce 420 WHQL Certified driver v.178.13,How to Update & Download NVidia GeForce 7600 GS Video Driver v.295.75 Certified,How Can I Update & Download NVidia GeForce 820M Driver v.344.48 WHQL,[Solved] Download NVidia GeForce GTX 560M VGA Driver v.296.17 Certified,Way to Update & Herunterladen NVidia GeForce GT 130M Video Treiber v.295.75 Certified,How to Update & Download SONY SVE14A1X1RH Realtek Ethernet Driver,Where to Download SONY SVS13A2W9ES Bluetooth Driver (Intel) v.2.6 - 18.104.22.168059,Best Way to Update & Download SONY VGN-CR203E Conexant HDAUDIO SoftV92 Data Fax Modem with SmartCP Setup Program v.22.214.171.124 driver,Best Way to Download SONY VGN-FE790G/N Wireless LAN Driver v.10.6.0.29,Method to Update & Download SONY VGN-NR31Z/S Firmware Extension Parser Device v.126.96.36.199,How to Fix Error 0x0000c1f5 Solución?,Error 0x80071a91 Win7 Fix Patch,Error 0x800ccc60 Windows Live Mail [Solved],Error Message 0x800ccc79 Outlook 2000 Fix,What is Error 0xc1ab0001?,[Answered] x64 saplugin dll,How to Fix Problem - Kb943729 Download?,Troubleshooting: Bccode D1 Error,Java Runtime Tech Support,Troubleshooting: ERROR NO SUCH GROUP Error
Read More: Troubleshoot:Dell Data Safe Local Back up problem Error,Dell 922 AIO printer needs driver update for windows 7 premiun [Solved],Troubleshoot:Date and Time from Access to Excel,Tech Support: Desktop Refreshing\/Crashing every couple of seconds Windows 8.1.,How to Resolve - Dell PC running Windows 7 Home Edition freezes after being left idle?