ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   2P import (https://www.excelbanter.com/excel-discussion-misc-queries/195252-2p-import.html)

Accounting user

2P import
 
I am trying to import a report from an accounting software to Excel 2003 and
the field is 2P in SQL but when it gets to Excel it has the value of
..5833333+. I have other data that is 2Q and it gets to Excel fine. What is
causing the issue with 2P and 3P?
Thanks to anyone who responds!

Chip Pearson

2P import
 
The problem is that Excel is treating the "2 P" as 2:00:00 PM. (Times are
stored as a fraction of a 24 hours day -- 6:00 = 0.25, 12:00 = 0.5, 18:00 =
0.75 -- and 2:00:00 = 14:00:00 = 0.583....). You can try formatting the
cells at Text before importing the data.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)





"Accounting user" <Accounting wrote in
message ...
I am trying to import a report from an accounting software to Excel 2003
and
the field is 2P in SQL but when it gets to Excel it has the value of
.5833333+. I have other data that is 2Q and it gets to Excel fine. What
is
causing the issue with 2P and 3P?
Thanks to anyone who responds!



Accounting user[_2_]

2P import
 
That makes sense = Thanks

"Chip Pearson" wrote:

The problem is that Excel is treating the "2 P" as 2:00:00 PM. (Times are
stored as a fraction of a 24 hours day -- 6:00 = 0.25, 12:00 = 0.5, 18:00 =
0.75 -- and 2:00:00 = 14:00:00 = 0.583....). You can try formatting the
cells at Text before importing the data.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)





"Accounting user" <Accounting wrote in
message ...
I am trying to import a report from an accounting software to Excel 2003
and
the field is 2P in SQL but when it gets to Excel it has the value of
.5833333+. I have other data that is 2Q and it gets to Excel fine. What
is
causing the issue with 2P and 3P?
Thanks to anyone who responds!




All times are GMT +1. The time now is 07:19 PM.

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