Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Excel XML Time format & arithmetic

Hi all,

I have an Excel Xml file and I want to perform a Sum operation with time
format cells.

If I set [h]:mm format to the cells ¡, I can see the next right values:

8:25
8:30
25:25

42:20 (SUM)

When I save the file as Excel XML 2003, I have this:

<Styles
<Style ss:ID="s64"
<NumberFormat ss:Format="[h]:mm"/
</Style
</Styles

<Row ss:AutoFitHeight="0"
<Cell ss:Index="2" ss:StyleID="s64"<Data
ss:Type="DateTime"1899-12-31T08:25:00.000</Data</Cell
</Row
<Row ss:AutoFitHeight="0"
<Cell ss:Index="2" ss:StyleID="s64"<Data
ss:Type="DateTime"1899-12-31T08:30:00.000</Data</Cell
</Row
<Row ss:AutoFitHeight="0"
<Cell ss:Index="2" ss:StyleID="s64"<Data
ss:Type="DateTime"1900-01-01T01:25:00.000</Data</Cell
</Row

But when I open the file again, I see these values:

248:25
248:30
25:25

522:20 (SUM)

How can I format cells to see the right values again?


Thanks in advance,

Dominik.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel XML Time format & arithmetic Dominik Excel Programming 0 May 22nd 09 09:44 AM
binary arithmetic in excel Jorge Excel Discussion (Misc queries) 1 May 6th 08 12:23 PM
Excel 2007 Arithmetic James Silverton[_2_] Excel Discussion (Misc queries) 5 September 30th 07 09:28 AM
Is arithmetic on time data possible in Excel 2002? sleeplessinnewjersey Excel Discussion (Misc queries) 1 April 26th 07 06:12 PM
Time arithmetic Chris Wilkinson Excel Programming 3 April 13th 07 01:50 PM


All times are GMT +1. The time now is 10:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"