Computing.Net > Forums > Office Software > Copy Partical content of cell based on value

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Copy Partical content of cell based on value

Reply to Message Icon

Name: janet55
Date: May 20, 2009 at 05:57:59 Pacific
OS: Microsoft Windows XP Professional
CPU/Ram: 2.095 GHz / 998 MB
Product: Lenovo / 7675h7u
Subcategory: Microsoft Office
Comment:

I need to take the contents of Column A and copy to empty cells when I find a ";". Here is an example of how Column A Row 1 could look: apple; orange; grapes; apple-orange. The result I need is apple orange grapes and apple-orange would each need to appear in a separate cell. It could be in column A or copied to Column B. If we copied to Column B then this is what I would want to see Column B row 1 apple, Column B row 2 orange, Column B row 3 grapes, and Column B row 4 apple-orange. I need to do this for every row in Column A.



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: May 20, 2009 at 06:44:21 Pacific
Reply:

Separating the data is easy:

Select Column A
Click on Data...Text to Columns...Delimited...Next
Put a ; in the Other box and click finish.

Your description regarding placing the data in B1:B4 confuses me a bit.

You said: I need to do this for every row in Column A.

If the four parts of A1 will end up in B1:B4, where will the fours parts of A2 end up? Obviously they can't end up in B2:B5, so where will they go?


0

Response Number 2
Name: janet55
Date: May 20, 2009 at 07:21:02 Pacific
Reply:

That worked. The data was copied to the cells b, c, etc (depending on how many ";" appeared in the first cell) of the same row. Thanks


0

Response Number 3
Name: DerbyDad03
Date: May 20, 2009 at 08:05:15 Pacific
Reply:

I'm glad I could help.

If you need the data in each row to be placed in columns, you can do a Copy...PasteSpecial...Transpose.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Copy Partical content of cell based on value

copy cells based on value of another cell www.computing.net/answers/office/copy-cells-based-on-value-of-another-cell/9026.html

EXCEL (help) copy array of cells www.computing.net/answers/office/excel-help-copy-array-of-cells-/4992.html

Sum a variable range of cells?? www.computing.net/answers/office/sum-a-variable-range-of-cells/6931.html