Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have some string data in CSV formatted spreadsheet.
For example, I fill some cells with lower case strings "true" or "false" But after saving the file in CSV format, I see those strings have been automatically converted to uppercase strings "TRUE" or "FALSE". I think, there are some configuration in the Excel where this automatic conversion to uppercase can be avoided. Please let me know. Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
TRUE/FALSE are logical values (-1 and 0 respectively) and Excel always
converts them to dispaly as TRUE/FALSE. To modify the appearance of TRUE/FALSE enter them as labels by preceeding the entry with an apostrophe: 'True 'False The apostrophe forces Excel to treat what follows as text and not as a number. -- Kevin Backmann " wrote: I have some string data in CSV formatted spreadsheet. For example, I fill some cells with lower case strings "true" or "false" But after saving the file in CSV format, I see those strings have been automatically converted to uppercase strings "TRUE" or "FALSE". I think, there are some configuration in the Excel where this automatic conversion to uppercase can be avoided. Please let me know. Thanks. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The case isn't changed when you did the saveAs.
You can look at the .csv file in Notepad and verify this. But if you open the .csv file in excel, you'll see that excel converts the string true to the boolean value TRUE (same for False). You can have more control over the input by using: Data|get external data (xl2003 menus) And you'd be able to specify the type for each field--use text for these. Or you could rename the .csv file to .txt then use File|Open to open the .txt file. Then you would see that same wizard. wrote: I have some string data in CSV formatted spreadsheet. For example, I fill some cells with lower case strings "true" or "false" But after saving the file in CSV format, I see those strings have been automatically converted to uppercase strings "TRUE" or "FALSE". I think, there are some configuration in the Excel where this automatic conversion to uppercase can be avoided. Please let me know. Thanks. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
text string: "91E10" in csv file auto converts to: "9.10E+11" | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
how do I count only lower case "x" and exclude upper case "X" | Excel Worksheet Functions | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Use "PROPER" to change UPPERCASE text to Title Case on worksheet | Excel Worksheet Functions |