Hi Statalist, I have a dataset that I need to export to csv. For a few variables, the values are numbers enclosed in () (so like (0.43) or (1.45)), and they are saved as strings.
But my issue is that the numbers that are enclosed in () do not actually have the () around them after exporting, it just exports the number alone when I open the csv file. I've tried a few various export options to no avail. Any ideas?
EDIT: I've realized this may be more of an Excel problem--it seems like Excel's default is to treat numbers in () as negative numbers, for some reason. But trying to figure out if I can get Stata to tell Excel that these aren't numbers when exporting, basically.
But my issue is that the numbers that are enclosed in () do not actually have the () around them after exporting, it just exports the number alone when I open the csv file. I've tried a few various export options to no avail. Any ideas?
EDIT: I've realized this may be more of an Excel problem--it seems like Excel's default is to treat numbers in () as negative numbers, for some reason. But trying to figure out if I can get Stata to tell Excel that these aren't numbers when exporting, basically.
Comment