Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | The DAY() function fails under conditional formatting | ||||||
---|---|---|---|---|---|---|---|
Product: | Calc | Reporter: | daninilnw <daninil> | ||||
Component: | formatting | Assignee: | AOO issues mailing list <issues> | ||||
Status: | CONFIRMED --- | QA Contact: | |||||
Severity: | Normal | ||||||
Priority: | P3 | CC: | elish, issues | ||||
Version: | OOO310m19 | ||||||
Target Milestone: | --- | ||||||
Hardware: | Mac | ||||||
OS: | Mac OS X 10.5 | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
daninilnw
2009-12-11 21:49:16 UTC
Created attachment 66617 [details]
spreadsheet. conditional formatting plays havoc with the DAY() function
As far as I can see, it's not conditional formatting, or the DAY function, causing the wrong day to be displayed, it's your cell format. E.g. I4: you're applying a custom number format of "D" to the result of DAY(2009-12-28), which is 28. Serial date 28 is 1900-01-27 and the day ("D") of that date is 27, so your cell format displays the 28 from DAY() as 27. Changing the number format in style "Grayed" to Number/General gives correct day numbers in the grayed cells. You can discuss problems like this on the users mailing list or the community forum: http://www.openoffice.org/mail_list.html users@openoffice.org http://user.services.openoffice.org As given in description. Rev. 1503704 Debian |