SOLVED

Grouped text conversion to columns in Excel

%3CLINGO-SUB%20id%3D%22lingo-sub-1344063%22%20slang%3D%22en-US%22%3EGrouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1344063%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20report%20data%20in%20notepad%20.txt%20format%20that%20is%20grouped%20by%20employee.%20I%20need%20to%20convert%20to%20columns%20in%20an%20Excel%20spreadsheet.%20There%20are%2012477%20lines...is%20there%20a%20way%20to%20do%20it%20without%20having%20to%20perform%20text%20to%20columns%2C%20transpose%2C%20copy%2Fpaste%2C%20across%20the%20sheet%20for%20all%201000%2B%20employees%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1344063%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1344149%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1344149%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPossibly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMuch%20will%20depend%20on%20the%20level%20of%20consistency%20of%20how%20the%20data%20are%20organized.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20description%20doesn't%20give%20enough%20details%2C%20however.%26nbsp%3B%20Is%20it%20possible%20to%20post%20a%20few%20representative%20sets%20of%20the%20textual%20data%2C%20after%20first%20changing%20any%20personal%20data%20so%20that%20no%20real%20person%20can%20be%20identified.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1345409%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1345409%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3BThank%20you%20for%20your%20reply!%20I%20have%20attached%20sample%20data%20showing%20how%20it%20pulled%20as%20txt.%20I%20need%20to%20separate%20into%20columns%2C%20i.e.%20A%3DEmployee%2C%20B%3DREG%2C%20C%3DOT%2C%20etc.%20for%20all%20possible%20row%20labels%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1345437%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1345437%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%2C%20oh%2C%20my%2C%20what%20a%20mess.%20I'm%20retired%20now%2C%20but%20had%20a%20long%20career%20in%20HR%2C%20and%20for%20some%20of%20that%20time%20was%20director%20of%20the%20HR%20and%20Payroll%20database%20for%20a%20major%20corporation.%20So%20I%20recognize%20these%20fields.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CU%3E%3CEM%3EJust%20out%20of%20curiosity%2C%20is%20it%20possible%20to%20go%20back%20to%20the%20source%20of%20that%20text%20file--which%20pretty%20obviously%20was%20a%20database%20of%20some%20kind--and%20get%20it%20delivered%20as%20a%20CSV%20file%20(as%20it%20should%20have%20been%20in%20the%20first%20place)%3F%3C%2FEM%3E%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20sure%20it%20would%20be%20possible%20to%20write%20some%20kind%20of%20routine%20that%20could%20go%20through%20this%20text%20file%20and%20parse%20it%20into%20its%20many%20fields%2C%20but%20there's%20not%20a%20consistent%20set%20of%20columns%20(it's%20finite%2C%20but%20varies%20from%20person%20to%20person).......so%20it%20would%20be%20a%20stripping%20routine%20that%20would%20be%20beyond%20my%20abilities.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1345527%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1345527%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20do%20this%20with%20Power%20Query%20(under%20data%20tab%2C%20%22From%20Text%2FCSV%22).%3C%2FP%3E%3CP%3EIf%20you%20provide%20an%20example%20of%20the%20text%20document%20(as%20.txt)%2C%20I%20can%20see%20if%20I%20can%20figure%20it%20out.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1345568%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1345568%22%20slang%3D%22en-US%22%3E%3CP%3Eif%20you%20share%20your%20sample%20file%20on%20notepad%20format%20i%20can%20import%20in%20excel%20and%20tell%20you%20a%20possible%20measure%20but%20sample%20measure%20is%20required%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1346852%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1346852%22%20slang%3D%22en-US%22%3E%3CP%3EUunfortunately%2C%20the%20program%20we%20are%20pulling%20the%20data%20from%20only%20allows%20for%20export%20to%20txt%20or%20pdf.%20Beyond%20my%20capabilities%20as%20well.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1346857%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1346857%22%20slang%3D%22en-US%22%3E%3CP%3EAttached!%26nbsp%3B%20I%20wasn't%20able%20to%20pull%20into%20individual%20columns%2C%20but%20am%20grateful%20for%20another%20set%20of%20eyes!%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F629532%22%20target%3D%22_blank%22%3E%40DhaniCole%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1346859%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1346859%22%20slang%3D%22en-US%22%3E%3CP%3EAttached!%20I%20wasn't%20able%20to%20pull%20into%20individual%20columns%2C%20but%20am%20grateful%20for%20another%20set%20of%20eyes!%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639126%22%20target%3D%22_blank%22%3E%40Khizar_Hayyat%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1347019%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1347019%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639126%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Khizar_Hayyat%3C%2FA%3E%20but%20think%20he'll%20come%20back%20to%20you%20with%20a%20renewed%20request%20for%20an%20actual%20text%20file.%20What%20you%20sent%20is%20in%20a%20Word%20document%2C%20but%20actually%20just%20contains%20an%20%3CSTRONG%3Eimage%3C%2FSTRONG%3E%20of%20your%20text%20file%20embedded%20in%20a%20word%20doc%3B%20it%20is%20neither%20editable%20nor%20amenable%20to%20parsing%20into%20separate%20characters.%20So%20at%20best%20there'd%20still%20be%20a%20need%20to%20use%20OCR%20to%20get%20it%20to%20text.%20Make%20it%20easier%20for%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639126%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Khizar_Hayyat%3C%2FA%3E%20by%20uploading%20the%20actual%20text--and%20yes%2C%20turn%20the%20names%20into%20fictitious%20ones%20first.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20myself%2C%20back%20to%20the%20question%20of%20the%20source%20being%20available%20in%20CSV%20instead%20of%20text%2C%20it's%20hard%20to%20imagine%20a%20service%20provider%20not%20being%20willing%20to%20do%20that%20service.%20(Although%20I%20will%20acknowledge%20having%20been%20frustrated%20when%20Apple%20first%20released%20their%20charge%20card%2C%20in%20conjunction%20with%20Goldman%2C%20that%20they%20provided%20monthly%20statements%20only%20in%20PDF%20form.%20It%20took%20months%20before%20they%20rectified%20what%20should%20never%20have%20happened%20in%20the%20first%20place.)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1347036%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1347036%22%20slang%3D%22en-US%22%3EIt's%20an%20internal%20program%20and%20this%20forum%20doesn't%20allow%20for%20a%20txt%20upload%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1347067%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1347067%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EIt's%20an%20internal%20program%20and%20this%20forum%20doesn't%20allow%20for%20a%20txt%20upload%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20you%20can%20copy%20a%20portion%20of%20the%20text%20itself%2C%20which%20you%20do%20get%2C%20to%20Word%2C%20and%20then%20upload%20that%20Word%20docx%20containing%20editable%20text%20content.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1347153%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1347153%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIMHO%2C%20two%20main%20points%20to%20clarify%3C%2FP%3E%0A%3CP%3E-%20logic%20of%20input%20file.%20Is%20it%20with%20fixed%20width%20columns%20or%20not.%20If%20so%2C%20how%20many%20characters%20in%20each%20column.%20If%20not%2C%20what%20the%20logic.%26nbsp%3B%20What%20are%20flexible%20-why%20employee%20ID%2Fname%20sometimes%20in%20first%20position%2C%20sometimes%20not%2C%20what%20are%20the%20options.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-%20logic%20of%20output.%20Are%20employees%20ID%20and%20name%20in%20first%20two%20columns%20and%20all%20few%20dozens%20of%20other%20ID%3As%20in%20other%20columns%20or%20not.%26nbsp%3B%20Shall%20they%20be%20separated%20on%204%20groups%20(Pay%2C%20Deduct%2C%20etc)%20or%20not.%20If%20yes%2C%20when%20how.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1347302%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1347302%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20message%20says%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%22The%20file%20type%20(.txt)%20is%20not%20supported.%20Valid%20file%20types%20are%3A%20jpg%2C%20gif%2C%20png%2C%20mp4%2C%20doc%2C%20docx%2C%20ppt%2C%20xls%2C%20csv%2C%20ics%2C%20pdf%2C%20mp3%2C%20oft%2C%20zip%2C%20pptx%2C%20xlsx%2C%20.cqdx%2C%20accdb%2C%20xlsm%2C%20xlsb.%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ERename%20you%20file.txt%20to%20file.csv.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1348030%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1348030%22%20slang%3D%22en-US%22%3EAll%20data%20was%20in%20one%20column%20when%20converted%20or%20opened%20in%20Excel.%20All%20possible%20field%20identifiers%20needed%20to%20be%20in%20columns.%20Someone%20was%20able%20to%20use%20IF%2C%20sumifs%20formulas%20%26amp%3B%20pivot%20tables%20to%20convert%20the%20data%20for%20me.%20I%20appreciate%20your%20reply!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1348033%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1348033%22%20slang%3D%22en-US%22%3ESomeone%20was%20able%20to%20use%20IF%2C%20sumifs%20formulas%20%26amp%3B%20pivot%20tables%20to%20convert%20the%20data%20for%20me.%20I%20appreciate%20your%20reply!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1348177%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1348177%22%20slang%3D%22en-US%22%3Eoho%20my%20friend%2C%20it%20is%20a%20jpeg%20file%20you%20have%20to%20share%20a%20text%20file%20so%20i%20may%20be%20converted%20your%20date%20use%20advanced%20filter%20format%20but%20the%20requirement%20is%20text%20file%3CBR%20%2F%3Eyou%20can%20simply%20copy%20and%20paste%20the%20text%20in%20msg%20if%20you%20dont%20have%20a%20file%3CBR%20%2F%3EHurry%20up!%2C%20i%20am%20waiting%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1349064%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1349064%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%20but%20I'm%20asking%20not%20about%20how%20it%20looks%20if%20to%20open%20in%20Excel%20-%20how%20data%20are%20separated%20in%20text%20file%2C%20is%20that%20fixed%20number%20of%20characters%20for%20each%20column%20or%20what.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1349812%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1349812%22%20slang%3D%22en-US%22%3ESomeone%20was%20able%20to%20use%20IF%2C%20sumifs%20formulas%20%26amp%3B%20pivot%20tables%20to%20convert%20the%20data%20for%20me.%20I%20appreciate%20your%20reply!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1351614%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1351614%22%20slang%3D%22en-US%22%3Eit%20can%20be%20easily%20done%20by%20flash%20fill%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1351669%22%20slang%3D%22en-US%22%3ERe%3A%20Grouped%20text%20conversion%20to%20columns%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1351669%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F639931%22%20target%3D%22_blank%22%3E%40CPSR13%3C%2FA%3E%26nbsp%3B%20text%20to%20column%20is%20a%20best%20tool%20to%20convert%20this%20data%20you%20have%20to%20convert%20text%20to%20column%20according%20to%20deliminiter%20of%20tab%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I have report data in notepad .txt format that is grouped by employee. I need to convert to columns in an Excel spreadsheet. There are 12477 lines...is there a way to do it without having to perform text to columns, transpose, copy/paste, across the sheet for all 1000+ employees?

20 Replies
Highlighted

@CPSR13 

 

Possibly.

 

Much will depend on the level of consistency of how the data are organized.

 

Your description doesn't give enough details, however.  Is it possible to post a few representative sets of the textual data, after first changing any personal data so that no real person can be identified.

Highlighted

@mathetes Thank you for your reply! I have attached sample data showing how it pulled as txt. I need to separate into columns, i.e. A=Employee, B=REG, C=OT, etc. for all possible row labels

Highlighted

@CPSR13

 

My, oh, my, what a mess. I'm retired now, but had a long career in HR, and for some of that time was director of the HR and Payroll database for a major corporation. So I recognize these fields.

 

Just out of curiosity, is it possible to go back to the source of that text file--which pretty obviously was a database of some kind--and get it delivered as a CSV file (as it should have been in the first place)?

 

I'm sure it would be possible to write some kind of routine that could go through this text file and parse it into its many fields, but there's not a consistent set of columns (it's finite, but varies from person to person).......so it would be a stripping routine that would be beyond my abilities. 

Highlighted

@CPSR13 

You can do this with Power Query (under data tab, "From Text/CSV").

If you provide an example of the text document (as .txt), I can see if I can figure it out.

Highlighted

if you share your sample file on notepad format i can import in excel and tell you a possible measure but sample measure is required 

@CPSR13 

Highlighted

Uunfortunately, the program we are pulling the data from only allows for export to txt or pdf. Beyond my capabilities as well. @mathetes 

Highlighted

Attached!  I wasn't able to pull into individual columns, but am grateful for another set of eyes! @DhaniCole 

Highlighted

Attached! I wasn't able to pull into individual columns, but am grateful for another set of eyes! @Khizar_Hayyat 

Highlighted

@CPSR13 

 

I'm not @Khizar_Hayyat but think he'll come back to you with a renewed request for an actual text file. What you sent is in a Word document, but actually just contains an image of your text file embedded in a word doc; it is neither editable nor amenable to parsing into separate characters. So at best there'd still be a need to use OCR to get it to text. Make it easier for @Khizar_Hayyat by uploading the actual text--and yes, turn the names into fictitious ones first.

 

For myself, back to the question of the source being available in CSV instead of text, it's hard to imagine a service provider not being willing to do that service. (Although I will acknowledge having been frustrated when Apple first released their charge card, in conjunction with Goldman, that they provided monthly statements only in PDF form. It took months before they rectified what should never have happened in the first place.)

Highlighted
It's an internal program and this forum doesn't allow for a txt upload
Highlighted

@CPSR13 

It's an internal program and this forum doesn't allow for a txt upload

 

But you can copy a portion of the text itself, which you do get, to Word, and then upload that Word docx containing editable text content.

Highlighted

@CPSR13 

IMHO, two main points to clarify

- logic of input file. Is it with fixed width columns or not. If so, how many characters in each column. If not, what the logic.  What are flexible -why employee ID/name sometimes in first position, sometimes not, what are the options.

 

- logic of output. Are employees ID and name in first two columns and all few dozens of other ID:s in other columns or not.  Shall they be separated on 4 groups (Pay, Deduct, etc) or not. If yes, when how.

Highlighted

@CPSR13 

The message says:

"The file type (.txt) is not supported. Valid file types are: jpg, gif, png, mp4, doc, docx, ppt, xls, csv, ics, pdf, mp3, oft, zip, pptx, xlsx, .cqdx, accdb, xlsm, xlsb."

Rename you file.txt to file.csv.

 

Highlighted
All data was in one column when converted or opened in Excel. All possible field identifiers needed to be in columns. Someone was able to use IF, sumifs formulas & pivot tables to convert the data for me. I appreciate your reply!
Highlighted
Someone was able to use IF, sumifs formulas & pivot tables to convert the data for me. I appreciate your reply!
Highlighted
oho my friend, it is a jpeg file you have to share a text file so i may be converted your date use advanced filter format but the requirement is text file
you can simply copy and paste the text in msg if you dont have a file
Hurry up!, i am waiting
Highlighted

@CPSR13 

Thanks, but I'm asking not about how it looks if to open in Excel - how data are separated in text file, is that fixed number of characters for each column or what.

Highlighted
Best Response confirmed by CPSR13 (Occasional Contributor)
Solution
Someone was able to use IF, sumifs formulas & pivot tables to convert the data for me. I appreciate your reply!
Highlighted
it can be easily done by flash fill