OpenOffice 4.1.15 on Windows 10
For the very first time I have downloaded my bank statement as a CSV file instead of a PDF. I have opened it in Calc but am unable to change the column 'Date' format to show for example 26 Jul instead of 26 Jul 2024. I have tried changing it using Format Cells (Date > 31/Dec > DD/MMM) but it totally ignores my instruction.
I would be very grateful for any assistance/advice, TIA
[Solved] Unable to display date as DD/MMM
-
darkspark222
- Posts: 3
- Joined: Mon Aug 26, 2024 3:48 pm
[Solved] Unable to display date as DD/MMM
- Attachments
-
- Date Format Problem.JPG (57.11 KiB) Viewed 2064 times
Last edited by darkspark222 on Tue Aug 27, 2024 3:31 pm, edited 1 time in total.
- MrProgrammer
- Moderator
- Posts: 5430
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Unable to display date as DD/MMM IN OpenOffice Calc
Hi, and welcome to the forum. I moved your topic to the Calc forum.
[Tutorial] Text to Columns
The following tutorial discusses the difference between numbers and text and explains how dates work in Calc. You may find Calc difficult to use until you understand this material.
[Tutorial] Ten concepts that every Calc user should know
If you need any additional assistance attach a spreadsheet demonstrating the difficulty (remove confidential information then use Post Reply, not Quick Reply, and don't attach a picture instead of the spreadsheet itself). If the problem is the CSV import, it will help if you show us the first few lines of the CSV file so we can see its structure. Half a dozen is plenty.
This topic describes a similar situation: [Solved] Calc does not recognize Jan-01-2021 as a date
If this solved your problem please go to your first post use the Edit ☐ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Date formatting is a numeric format and applies only to cells containing numbers. I suspect that your cells contain text, perhaps due to an incorrect import from the CSV file. Numeric formats do not apply to cells containing text. Read the following tutorial and import your data again, making sure use Detect Special Numbers and to assign a date for the Column Type in the Text Import dialog.darkspark222 wrote: ↑Mon Aug 26, 2024 4:25 pm have opened it in Calc but am unable to change the column 'Date' format to show for example 26 Jul instead of 26 Jul 2024.
[Tutorial] Text to Columns
The following tutorial discusses the difference between numbers and text and explains how dates work in Calc. You may find Calc difficult to use until you understand this material.
[Tutorial] Ten concepts that every Calc user should know
If you need any additional assistance attach a spreadsheet demonstrating the difficulty (remove confidential information then use Post Reply, not Quick Reply, and don't attach a picture instead of the spreadsheet itself). If the problem is the CSV import, it will help if you show us the first few lines of the CSV file so we can see its structure. Half a dozen is plenty.
This topic describes a similar situation: [Solved] Calc does not recognize Jan-01-2021 as a date
If this solved your problem please go to your first post use the Edit ☐ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
-
darkspark222
- Posts: 3
- Joined: Mon Aug 26, 2024 3:48 pm
Re: Unable to display date as DD/MMM
Thank you for the speedy reply to my problem. You were correct, the date in the csv has been entered as text.
As a bit of a novice in these matters, I have read through the info you sent but have fallen at the first fence - 'making sure use Detect Special Numbers and to assign a date for the Column Type in the Text Import dialog'. I have tried searching the Help in OpenOffice but drawn a blank. Have I bitten off more than I can chew, or are you able to provide a simple set of steps to take.
I have trimmed the original csv to six lines as you asked.
Regards and Thank You in Advance
As a bit of a novice in these matters, I have read through the info you sent but have fallen at the first fence - 'making sure use Detect Special Numbers and to assign a date for the Column Type in the Text Import dialog'. I have tried searching the Help in OpenOffice but drawn a blank. Have I bitten off more than I can chew, or are you able to provide a simple set of steps to take.
I have trimmed the original csv to six lines as you asked.
Regards and Thank You in Advance
- Attachments
-
- ADAMSONBA_Tester.csv
- (469 Bytes) Downloaded 56 times
Re: Unable to display date as DD/MMM
Open a new spreadsheet.
Choose File > Open
Localize the file that you want to import in Calc
Double-click on the file to import it.
The Text import dialog opens You can also change the Column type from Standard to Date, if you want
Choose File > Open
Localize the file that you want to import in Calc
Double-click on the file to import it.
The Text import dialog opens You can also change the Column type from Standard to Date, if you want
____________
DiGro
AOO 4.1.16 (Dutch) on Windows 11 64-bit. Scanned with Ziggo Safe Online (F-Secure)
DiGro
AOO 4.1.16 (Dutch) on Windows 11 64-bit. Scanned with Ziggo Safe Online (F-Secure)
- MrProgrammer
- Moderator
- Posts: 5430
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Unable to display date as DD/MMM
Detect Special Numbers is mentioned several places in the Text to Columns tutorial. Setting the Column Type is explained in its paragraph beginning After indicating your fields. You would not have needed to ask the question and would be on your way to solving the problem if you had read the tutorial that I linked for you. I have no difficulty opening ADAMSONBA_Tester.csv as long as I set each Column Type correctly. I can change the date format when the dates are not text. There are hundreds of topics in the forum from people who have difficulty because they imported CSV and just took all of the defaults in the Text Import dialog. This is one more. Read the tutorial.darkspark222 wrote: ↑Tue Aug 27, 2024 12:09 pm [I] have fallen at the first fence - 'making sure use Detect Special Numbers and to assign a date for the Column Type in the Text Import dialog'.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
-
darkspark222
- Posts: 3
- Joined: Mon Aug 26, 2024 3:48 pm
Re: SOLVED Unable to display date as DD/MMM
Worked a treat - Hartelijk dank
OpenOffice 4.1.15 on Windows 10