Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nicole L.
 
Posts: n/a
Default extract data from cells

How can I extract into separate cells the following type of data that's
currently in one cell of a spreadsheet (of course there are many entries just
like this so I want to automate how to extract out into 2 cells that which is
currently in one cell)

AB= smithj, CD= John Smith

Where "AB=" and "CD=" and the comma are all constant in all the cells?

I just want that first half (before the comma) extracted into a cell and the
second half into a cell... but for a huge spreadsheet full of rows with that
data in it.

Thanks for any info on code/formula/process for this!

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Datatext to columns delimited and comma as delimiter, make sure the first
column to the right is empty

Regards,

Peo Sjoblom

"Nicole L." wrote in message
...
How can I extract into separate cells the following type of data that's
currently in one cell of a spreadsheet (of course there are many entries

just
like this so I want to automate how to extract out into 2 cells that which

is
currently in one cell)

AB= smithj, CD= John Smith

Where "AB=" and "CD=" and the comma are all constant in all the cells?

I just want that first half (before the comma) extracted into a cell and

the
second half into a cell... but for a huge spreadsheet full of rows with

that
data in it.

Thanks for any info on code/formula/process for this!



  #3   Report Post  
Ken Wright
 
Posts: n/a
Default

Do you want the AB= and the CD= bits?

When you say constant I assume you mean all entries are initially preceded
with AB= etc.

Select all your data and do Edit / Replace / Replace what = 'AB= ' (No
quotes but include the space), replace with just leave blank. Now repeat
for CD=

Select column of data, do Data / Text To Columns / delimited, tick comma hit
OK

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Nicole L." wrote in message
...
How can I extract into separate cells the following type of data that's
currently in one cell of a spreadsheet (of course there are many entries

just
like this so I want to automate how to extract out into 2 cells that which

is
currently in one cell)

AB= smithj, CD= John Smith

Where "AB=" and "CD=" and the comma are all constant in all the cells?

I just want that first half (before the comma) extracted into a cell and

the
second half into a cell... but for a huge spreadsheet full of rows with

that
data in it.

Thanks for any info on code/formula/process for this!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


All times are GMT +1. The time now is 09:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"