Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2016, 03:16 PM
tonydoneese tonydoneese is offline Removing characters from a cell Windows 7 64bit Removing characters from a cell Office 2010 64bit
Novice
Removing characters from a cell
 
Join Date: Jan 2016
Posts: 4
tonydoneese is on a distinguished road
Default Removing characters from a cell

I'm trying to modify a worksheet. I used to know the formula for this but I have forgotten. I need to remove characters from a cell and place the removed characters in another cell. The example below shows that I have 25 ea in the same cell but I need 25 in its own cell and I need ea in its own cell.



Column A
25 ea

Column A Column B
25 ea
Reply With Quote
  #2  
Old 01-11-2016, 02:35 AM
xor xor is offline Removing characters from a cell Windows 10 Removing characters from a cell Office 2013
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Extract 25: =LOOKUP(9^9,--LEFT(A1,ROW($1:$100)))

Extract ea: MID(A1,FIND(" ",A1,1),LEN(A1))
or: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBST ITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE( SUBSTITUTE(A1,0,""),9,""),8,""),7,""),6,""),5,""), 4,""),3,""),2,""),1,"")
Reply With Quote
  #3  
Old 01-11-2016, 06:34 AM
gebobs gebobs is offline Removing characters from a cell Windows 7 64bit Removing characters from a cell Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

=value(left(A1,find(" ",A1)-1))

=right(A1,len(A1)-find(" ",A1))
Reply With Quote
  #4  
Old 01-12-2016, 12:38 AM
pero978 pero978 is offline Removing characters from a cell Windows 10 Removing characters from a cell Office 2013
Novice
 
Join Date: Nov 2015
Posts: 13
pero978 is on a distinguished road
Default

what about text to column or flashfill (if excel 2013)?
Reply With Quote
  #5  
Old 01-12-2016, 07:41 AM
gebobs gebobs is offline Removing characters from a cell Windows 7 64bit Removing characters from a cell Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by pero978 View Post
what about text to column or flashfill (if excel 2013)?
Ah yes, text to column. Forgot about that gem. I'm so used to doing it manually.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Characters appear when selecting SHOW ALL NON PRINTING CHARACTERS ann Amber Word 1 08-01-2015 08:06 PM
Removing characters from a cell Assign the value of a cell as a cell reference of another cell in Excel 2010 - How to? bharathkumarst Excel 7 10-13-2014 10:25 AM
Removing characters from a cell Word VBA: Cannot Edit Range (Delete characters except the first in a table cell) tinfanide Word VBA 3 04-27-2012 09:48 AM
Junk characters (box-like characters) in Word file Sashikala Word 1 04-20-2010 02:03 PM
Removing data between two characters Voodoo Child Excel 1 11-26-2009 01:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:18 AM.


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