Separating columns in Excel based on their values

%3CLINGO-SUB%20id%3D%22lingo-sub-1482032%22%20slang%3D%22en-US%22%3ESeparating%20columns%20in%20Excel%20based%20on%20their%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482032%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20long%20excel%20list%20where%20column%20E%20is%20used%20for%20the%20%22attribute%20Name%22%20and%20Column%20F%20for%20the%20%22Attribute%20Value%22.%20I%20need%20to%20break%20each%20attribute%20name%20into%20different%20columns%20and%20populate%20their%20respective%20values%20in%20the%20columns.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20seen%20tables%20set%20up%20like%20that%20before%20but%20I%20have%20no%20idea%20on%20how%20to%20break%20those%20down%20into%20individual%20columns.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20suggestions%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1482032%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1482537%22%20slang%3D%22en-US%22%3ERe%3A%20Separating%20columns%20in%20Excel%20based%20on%20their%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482537%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F707080%22%20target%3D%22_blank%22%3E%40LuisSiqueira%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ETry%20something%20like%20this%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3DLEFT(E2%2C%20SEARCH(%22%20%22%2CE2%2C1)-1)%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3E%3DMID(E2%2C%20SEARCH(%22%20%22%2CE2)%20%2B%201%2C%20SEARCH(%22%20%22%2CE2%2CSEARCH(%22%20%22%2CE2)%2B1)%20-%20SEARCH(%22%20%22%2CE2)%20-%201)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3DRIGHT(E2%2CLEN(E2)%20-%20SEARCH(%22%20%22%2C%20E2%2C%20SEARCH(%22%20%22%2C%20E2)%20%2B%201))%3CBR%20%2F%3E%3CBR%20%2F%3EPut%20them%20in%20whatever%203%20columns%20you%20have%20free%20(EG.%20Columns%20J%2CH%2CK)%20in%20that%20order%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1482662%22%20slang%3D%22en-US%22%3ERe%3A%20Separating%20columns%20in%20Excel%20based%20on%20their%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482662%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F707080%22%20target%3D%22_blank%22%3E%40LuisSiqueira%3C%2FA%3E%26nbsp%3BAlternatively%2C%20look%20into%20%22Text-to-columns%22.%20Use%20space%20as%20the%20separator.%20It%20will%20split%20the%20text%20into%20separate%20columns%20where-ever%20it%20finds%20a%20space.%26nbsp%3BMake%20sure%20you%20have%20enough%20empty%20columns%20for%20the%20result%20to%20be%20placed%20into.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1482695%22%20slang%3D%22en-US%22%3ERe%3A%20Separating%20columns%20in%20Excel%20based%20on%20their%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482695%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3BYou%20Can%20use%20Text%20to%20Column%20function%20but%20before%20that%20insert%20about%2010%20to%2015%20columns%20and%20if%20you%20dont%20do%20so%20then%20it%20will%20overwrite%20the%20attribute%20value%20columns%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1482700%22%20slang%3D%22en-US%22%3ERe%3A%20Separating%20columns%20in%20Excel%20based%20on%20their%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482700%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F699938%22%20target%3D%22_blank%22%3E%40DevendraJain%3C%2FA%3E%26nbsp%3B%3F%3F%3F%3F%20Why%20respond%20to%20me%20with%20a%20suggestion%20that%20I%20had%20already%20made%20myself%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1482725%22%20slang%3D%22en-US%22%3ERe%3A%20Separating%20columns%20in%20Excel%20based%20on%20their%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482725%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3BSorry%20I%20didnt%20read%20it%20full%3C%2FP%3E%3C%2FLINGO-BODY%3E
Visitor

I have a long excel list where column E is used for the "attribute Name" and Column F for the "Attribute Value". I need to break each attribute name into different columns and populate their respective values in the columns.

 

I have seen tables set up like that before but I have no idea on how to break those down into individual columns.

 

Any suggestions?

5 Replies

@LuisSiqueira 

Try something like this:

=LEFT(E2, SEARCH(" ",E2,1)-1)
=MID(E2, SEARCH(" ",E2) + 1, SEARCH(" ",E2,SEARCH(" ",E2)+1) - SEARCH(" ",E2) - 1)

=RIGHT(E2,LEN(E2) - SEARCH(" ", E2, SEARCH(" ", E2) + 1))

Put them in whatever 3 columns you have free (EG. Columns J,H,K) in that order

@LuisSiqueira Alternatively, look into "Text-to-columns". Use space as the separator. It will split the text into separate columns where-ever it finds a space. Make sure you have enough empty columns for the result to be placed into.

@Riny_van_Eekelen You Can use Text to Column function but before that insert about 10 to 15 columns and if you dont do so then it will overwrite the attribute value columns

@DevendraJain ???? Why respond to me with a suggestion that I had already made myself?

@Riny_van_Eekelen Sorry I didnt read it full