![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 1
|
Hello,
I want to delete part of a cell in Excel. For example if a cell had the data "BlueGreen" how would I delete the "Blue" bit just to leave the "Green" bit behind? Surely there is an easier way then physically deleting the first part in each cell??? I have about 4000 cells to work on!! Please help and regards, Jaybeen. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: =ActiveCell.Address
Posts: 478
|
Hiya,
Use the following formula to strip out everything after the ... =RIGHT(A1,LEN(A1)-SEARCH("",A1)) And if you just wanted to pick up the first part try... =LEFT(A1,LEN(A1)-SEARCH("",A1)-1) Rgds AJ [ This Message was edited by: AJ on 2002-04-05 02:59 ] |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 4
|
I want to separate this -
3200x13998 or 2453x9900 into 2 cells; ie. [3200] [13998] [2453] [9900] I used the formulas.... =LEFT(JE,LEN(JE)-SEARCH("X",JE)-1) =RIGHT(J3,LEN(J3)-SEARCH("X",J3)) this produced - [3200] [13998] [245] [9900] Is there another formula for the left side that will work in either case ? Thanx, REABTBN |
|
|
|
|
|
#4 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
REABTBN, try the Text to columns Wizard found under Data.
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Apr 2002
Posts: 4
|
Dave,
Thanks - I tried Data / Test to Columns - Checked Treat consecutive delimiters as one no apparent effect. Regards, REABTBN |
|
|
|
|
|
#6 |
|
New Member
Join Date: Apr 2002
Posts: 4
|
Dave,
Thanks - I tried Data / Test to Columns - Checked Treat consecutive delimiters as one no apparent effect. Regards, REABTBN |
|
|
|
|
|
#7 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
1. Check the "Other" box and enter "" into its field. 2. Also, check the "Treat consecutive delimiters as one" check box. At Step 3 of 3 select the first parsed column, assign "Do not import column (Skip)" attribute, and press [ Finish ]. [ This Message was edited by: Mark W. on 2002-04-08 15:41 ] |
|
|
|
|
|
|
#8 |
|
New Member
Join Date: Apr 2002
Posts: 4
|
Thanks. No difference. But thanks for the info.
REABTBN |
|
|
|
|
|
#9 |
|
New Member
Join Date: Apr 2002
Posts: 6
|
select the column and go to the Edit menu, and select "Replace". You want to replace "Blue//" with nothing.
This works. |
|
|
|
|
|
#10 |
|
New Member
Join Date: Mar 2002
Posts: 26
|
If your data is always in that format "Blue\Green", but the text changes (Red\Orange), and you always want just the second part, do a search and replace with a wild card, as in replace *\ with nothing.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|