Home

Text to columns returns 'Field' error for negative (-) values

%3CLINGO-SUB%20id%3D%22lingo-sub-362578%22%20slang%3D%22en-US%22%3EText%20to%20columns%20returns%20'Field'%20error%20for%20negative%20(-)%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362578%22%20slang%3D%22en-US%22%3E%3CP%3EConverting%20Text%20to%20columns%20of%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%3E04-10-2018%2CNL02SNSB0858516373%2C%2C%2C%2C%2C%2CEUR%2C1122.46%2CEUR%2C-169.40%2C04-10-2018%2C04-10-2018%2C7903%2CBEA%2C30977536%2C'3eef24%2F537689'%2C'Het%20Rubberhuis%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26gt%3BMAASTRICH%204.10.2018%2012U13%20KV002%20679F2G%26nbsp%3B%26nbsp%3B%20MCC%3A5169'%2C20%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDelivers%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%3E4-10-2018%3C%2FTD%3E%3CTD%3ENL02SNSB0858516373%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3EEUR%3C%2FTD%3E%3CTD%3E1122.46%3C%2FTD%3E%3CTD%3EEUR%3C%2FTD%3E%3CTD%3E%23FIELD!%3C%2FTD%3E%3CTD%3E4-10-2018%3C%2FTD%3E%3CTD%3E4-10-2018%3C%2FTD%3E%3CTD%3E7903%3C%2FTD%3E%3CTD%3EBEA%3C%2FTD%3E%3CTD%3E30977536%3C%2FTD%3E%3CTD%3E'3eef24%2F537689'%3C%2FTD%3E%3CTD%3E'Het%20Rubberhuis%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26gt%3BMAASTRICH%204.10.2018%2012U13%20KV002%20679F2G%26nbsp%3B%26nbsp%3B%20MCC%3A5169'%3C%2FTD%3E%3CTD%3E20%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E'Het%20Rubberhuis%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26gt%3BMAASTRICH%204.10.2018%2012U13%20KV002%20679F2G%26nbsp%3B%26nbsp%3B%20MCC%3A5169'%3C%2FTD%3E%3CTD%3E20%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-362578%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-362662%22%20slang%3D%22en-US%22%3ERe%3A%20Text%20to%20columns%20returns%20'Field'%20error%20for%20negative%20(-)%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362662%22%20slang%3D%22en-US%22%3E%3CP%3EDo%20you%20use%20General%20format%20for%20that%20field%20on%20third%20step%20of%20the%20wizard%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20678px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F86065i7C197808368BD1F5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-774821%22%20slang%3D%22en-US%22%3ERe%3A%20Text%20to%20columns%20returns%20'Field'%20error%20for%20negative%20(-)%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-774821%22%20slang%3D%22en-US%22%3ETo%20clarify%20a%20bit%20(as%20i%20myself%20came%20here%20looking%20for%20answers%20to%20the%20issue)%3B%20when%20using%20the%20'Text%20to%20columns'%20tool%20you%20have%203%20steps.%3CBR%20%2F%3EOn%20the%203rd%20step%2C%20which%20i%20personally%20usually%20skip%2C%20you%20can%20choose%20the%20output%20format%20of%20each%20column.%3CBR%20%2F%3EIf%20you%20pick%20'text'%20(instead%20of%20'general')%20format%20for%20the%20column%20with%20the%20%23field%20error%2C%20the%20error%20doesn't%20occur.%3CBR%20%2F%3EI%20hope%20this%20helps.%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-BODY%3E
WillemII
Occasional Visitor

Converting Text to columns of:

 

04-10-2018,NL02SNSB0858516373,,,,,,EUR,1122.46,EUR,-169.40,04-10-2018,04-10-2018,7903,BEA,30977536,'3eef24/537689','Het Rubberhuis        >MAASTRICH 4.10.2018 12U13 KV002 679F2G   MCC:5169',20

 

Delivers:

 

4-10-2018NL02SNSB0858516373   EUR1122.46EUR#FIELD!4-10-20184-10-20187903BEA30977536'3eef24/537689''Het Rubberhuis        >MAASTRICH 4.10.2018 12U13 KV002 679F2G   MCC:5169'20

 

 

  'Het Rubberhuis        >MAASTRICH 4.10.2018 12U13 KV002 679F2G   MCC:5169'20

 

 

2 Replies

Do you use General format for that field on third step of the wizard?

image.png

 

To clarify a bit (as i myself came here looking for answers to the issue); when using the 'Text to columns' tool you have 3 steps.
On the 3rd step, which i personally usually skip, you can choose the output format of each column.
If you pick 'text' (instead of 'general') format for the column with the #field error, the error doesn't occur.
I hope this helps.
Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies