ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Peculiar default cell format (https://www.excelbanter.com/excel-worksheet-functions/449194-peculiar-default-cell-format.html)

Walter Briscoe

Peculiar default cell format
 
I use Excel 2003.
I have a workbook sent to me, but can't consult the author.
I want to construct a pivot table.

My basic table comes out as:

A B
1 Drop Page Fields Here
2
3 Sum of MZone Total
4 Total 00:00:00

[B4] presents as 00:00:00 because its format is Time.
I might expect the default format to be General.
I don't expect it to be time.
In the fx formula field, [B4] presents as 23/01/1906 00:00:00.
If I change the format to General, [B4] presents as 2215.
I guess 23/01/1906 is 2315 days after date 0.

What should I look at in the data?
On the data sheet, the "default" cell format is also time.
Occupied cells format is General.
--
Walter Briscoe

Walter Briscoe

Peculiar default cell format
 
In message of Thu, 22 Aug 2013
17:29:34 in microsoft.public.excel.worksheet.functions, Walter Briscoe
writes
I use Excel 2003.
I have a workbook sent to me, but can't consult the author.
I want to construct a pivot table.

My basic table comes out as:

A B
1 Drop Page Fields Here
2
3 Sum of MZone Total
4 Total 00:00:00

[B4] presents as 00:00:00 because its format is Time.
I might expect the default format to be General.
I don't expect it to be time.
In the fx formula field, [B4] presents as 23/01/1906 00:00:00.
If I change the format to General, [B4] presents as 2215.
I guess 23/01/1906 is 2315 days after date 0.

What should I look at in the data?
On the data sheet, the "default" cell format is also time.
Occupied cells format is General.


I DO apologise for not looking hard enough to find an answer.
Format Style has Number set to [$F-400]hh:mm:ss AM/PM.
I can set that to a more sensible value.
--
Walter Briscoe


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com