×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Excel O365 - Need to separate data in a column into 3 columns

Excel O365 - Need to separate data in a column into 3 columns

Excel O365 - Need to separate data in a column into 3 columns

(OP)
Hello,
I have a spreadsheet that has 3 pieces of data (text)(Sample Type ID, Description, Suite) in column A, I need to separate that data based on row location into separate columns (Column A = Sample Type ID, Column B = Description, Column C = Suite)

Sample Type ID/ Description/ Suite/
BRSRENV-LIST_ 001
BRSR_Drain
Culture Process room
BRSRENV-LIST_ 002
BRSR_Drain Cover
Culture Process room
BRSRENV-LIST_ 003
BRSR_Drain Basket
Culture Process room
BRSRENV-LIST_ 004
BRSR_Floor by Drain
Culture Process room
BRSRENV-LIST_ 005
BRSR_North Ceiling Make Room
Culture Process room

It should be

Sample Type ID/ Description/ Suite
BRSRENV-LIST_ 001 BRSR_Drain Culture Process room


BRSRENV-LIST_ 002 BRSR_Drain Cover Culture Process room


BRSRENV-LIST_ 003
BRSR_Drain Basket
Culture Process room
BRSRENV-LIST_ 004
BRSR_Floor by Drain
Culture Process room
BRSRENV-LIST_ 005
BRSR_North Ceiling Make Room
Culture Process room



Thanks

-CJ

SQL2014// CR Pro 11.5.0.313// Windows 7 Enterprise

"Progress lies not in enhancing what is, but in advancing toward what will be"
-KHALIL GIBRAN 1883-1931

RE: Excel O365 - Need to separate data in a column into 3 columns

Remember getting data like this and using a formula to get the data from column A into, in this case, column B, C or D.

So you use the MOD() function to detect a modulus of 3 to get the data into the proper column.

Then to accumulate the data into the proper rows/groups, you use look for the minimum or maximum modulus to begin the accumulation in order to get all three values into the same row and then start all over again for the next three.

And, oh yes, please use TGML tags to display your columnar data properly...

Sample Type ID     Description  Suite
BRSRENV-LIST_ 001  BRSR_Drain   Culture Process room

 

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

RE: Excel O365 - Need to separate data in a column into 3 columns

Here's a sample workbook.
'
        	                0	                1        	                2
Sample Type ID          	Sample Type ID  	Description             	Suite
BRSRENV-LIST_ 001       	BRSRENV-LIST_ 001 	BRSR_Drain              	Culture Process room 
BRSR_Drain      		                        BRSR_Drain              	Culture Process room 
Culture Process room    	                        BRSR_Drain Cover         	Culture Process room 
BRSRENV-LIST_ 002       	BRSRENV-LIST_ 002 	BRSR_Drain Cover         	Culture Process room 
BRSR_Drain Cover         	                        BRSR_Drain Cover         	Culture Process room 
Culture Process room     	                        BRSR_Drain Basket        	Culture Process room 
BRSRENV-LIST_ 003       	BRSRENV-LIST_ 003 	BRSR_Drain Basket        	Culture Process room 
BRSR_Drain Basket        	                        BRSR_Drain Basket        	Culture Process room 
Culture Process room     	                        BRSR_Floor by Drain      	Culture Process room 
BRSRENV-LIST_ 004       	BRSRENV-LIST_ 004 	BRSR_Floor by Drain     	Culture Process room 
BRSR_Floor by Drain       	                        BRSR_Floor by Drain      	Culture Process room 
Culture Process room          	                        BRSR_North Ceiling Make Room 	Culture Process room 
BRSRENV-LIST_ 005        	BRSRENV-LIST_ 005 	BRSR_North Ceiling Make Room 	Culture Process room 
BRSR_North Ceiling Make Room            		BRSR_North Ceiling Make Room 	0
Culture Process room                                             		0	Culture Process room 

 

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close