Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Time conversions from data dump

Okay, so I'm dumping data into excel from a CSV file. This is a
summary of times from an automatic call distributor (ACD) log. I'm
having trouble with the time conversions. I've attached an example.
Here are the ways that the time comes in:

For example, let's take Average Talk Time. Say that 3:26 is imported
(3 minutes and 26 seconds), but Excel thinks it is 3:26:00 AM. I would
like to convert this to seconds so that I can do calculations with it,
such as averages and sums. The value for Average Talk time can vary
from 0:00 to varying times that can go as high as 10:00 and beyond. So
I guess I have to convert it to decimal format, then something like
=HOUR(A3)*60+MINUTE(A3) to convert it to seconds for the purpose of
calculations.

Second scenario, let's take Total Time Staffed. Say that 516:32:00 is
imported (516 minutes, 32 seconds), but Excel thinks that it is
1/21/1900 12:32:00 PM. I would like to convert this to minutes so
that I can do calculations with it, such as averages and sums. The
value for Total Time Staffed can vary from 0:00 to 600:00:00 or so.
I'd like to convert that number to decimel format, then to minutes for
the calculations.

I've been struggling with this for weeks! Eventually I'd like to do it
all in VBA, but I'm content with using some crazy formulas. Any ideas.
Thanks in advanced.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Time conversions from data dump

Hi
If I import from a txt file in Excel (Data, Import from Text File) and
set File Origin to Unicode(UTF-8), then set the Delimiters to : I get
each part of the numbers seperately in different columns. you could
process the data from there.
hope that might help
Paul

On Feb 12, 3:23*pm, Jeff wrote:
Okay, so I'm dumping data into excel from a CSV file. This is a
summary of times from an automatic call distributor (ACD) log. I'm
having trouble with the time conversions. I've attached an example.
Here are the ways that the time comes in:

For example, let's take Average Talk Time. Say that 3:26 is imported
(3 minutes and 26 seconds), but Excel thinks it is 3:26:00 AM. I would
like to convert this to seconds so that I can do calculations with it,
such as averages and sums. The value for Average Talk time can vary
from 0:00 to varying times that can go as high as 10:00 and beyond. So
I guess I have to convert it to decimal format, then something like
=HOUR(A3)*60+MINUTE(A3) to convert it to seconds for the purpose of
calculations.

Second scenario, let's take Total Time Staffed. Say that 516:32:00 is
imported (516 minutes, 32 seconds), but Excel thinks that it is
1/21/1900 *12:32:00 PM. I would like to convert this to minutes so
that I can do calculations with it, such as averages and sums. The
value for Total Time Staffed can vary from 0:00 to 600:00:00 or so.
I'd like to convert that number to decimel format, then to minutes for
the calculations.

I've been struggling with this for weeks! Eventually I'd like to do it
all in VBA, but I'm content with using some crazy formulas. Any ideas.
Thanks in advanced.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Time conversions from data dump

The times aren't the only things coming into the excel file, there is
also column headers and other number formats, all comma delimited.


On Feb 12, 9:42 am, wrote:
Hi
If I import from a txt file in Excel (Data, Import from Text File) and
set File Origin to Unicode(UTF-8), then set the Delimiters to : I get
each part of the numbers seperately in different columns. you could
process the data from there.
hope that might help
Paul

On Feb 12, 3:23 pm, Jeff wrote:

Okay, so I'm dumping data into excel from a CSV file. This is a
summary of times from an automatic call distributor (ACD) log. I'm
having trouble with the time conversions. I've attached an example.
Here are the ways that the time comes in:


For example, let's take Average Talk Time. Say that 3:26 is imported
(3 minutes and 26 seconds), but Excel thinks it is 3:26:00 AM. I would
like to convert this to seconds so that I can do calculations with it,
such as averages and sums. The value for Average Talk time can vary
from 0:00 to varying times that can go as high as 10:00 and beyond. So
I guess I have to convert it to decimal format, then something like
=HOUR(A3)*60+MINUTE(A3) to convert it to seconds for the purpose of
calculations.


Second scenario, let's take Total Time Staffed. Say that 516:32:00 is
imported (516 minutes, 32 seconds), but Excel thinks that it is
1/21/1900 12:32:00 PM. I would like to convert this to minutes so
that I can do calculations with it, such as averages and sums. The
value for Total Time Staffed can vary from 0:00 to 600:00:00 or so.
I'd like to convert that number to decimel format, then to minutes for
the calculations.


I've been struggling with this for weeks! Eventually I'd like to do it
all in VBA, but I'm content with using some crazy formulas. Any ideas.
Thanks in advanced.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Time conversions from data dump

http://download.yousendit.com/CD64ADD62478B009

This is an example of one of the sheets.

On Feb 12, 9:53 am, Jeff wrote:
The times aren't the only things coming into the excel file, there is
also column headers and other number formats, all comma delimited.

On Feb 12, 9:42 am, wrote:

Hi
If I import from a txt file in Excel (Data, Import from Text File) and
set File Origin to Unicode(UTF-8), then set the Delimiters to : I get
each part of the numbers seperately in different columns. you could
process the data from there.
hope that might help
Paul


On Feb 12, 3:23 pm, Jeff wrote:


Okay, so I'm dumping data into excel from a CSV file. This is a
summary of times from an automatic call distributor (ACD) log. I'm
having trouble with the time conversions. I've attached an example.
Here are the ways that the time comes in:


For example, let's take Average Talk Time. Say that 3:26 is imported
(3 minutes and 26 seconds), but Excel thinks it is 3:26:00 AM. I would
like to convert this to seconds so that I can do calculations with it,
such as averages and sums. The value for Average Talk time can vary
from 0:00 to varying times that can go as high as 10:00 and beyond. So
I guess I have to convert it to decimal format, then something like
=HOUR(A3)*60+MINUTE(A3) to convert it to seconds for the purpose of
calculations.


Second scenario, let's take Total Time Staffed. Say that 516:32:00 is
imported (516 minutes, 32 seconds), but Excel thinks that it is
1/21/1900 12:32:00 PM. I would like to convert this to minutes so
that I can do calculations with it, such as averages and sums. The
value for Total Time Staffed can vary from 0:00 to 600:00:00 or so.
I'd like to convert that number to decimel format, then to minutes for
the calculations.


I've been struggling with this for weeks! Eventually I'd like to do it
all in VBA, but I'm content with using some crazy formulas. Any ideas.
Thanks in advanced.


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
Help with time conversions WPP Excel Worksheet Functions 5 February 6th 09 09:55 AM
decimal time conversions Paul Excel Discussion (Misc queries) 8 January 6th 09 06:25 PM
time conversion from a varying data dump James Excel Discussion (Misc queries) 3 April 24th 07 09:02 PM
Time conversions Holsapple Excel Worksheet Functions 3 September 18th 06 09:06 PM
Date and Time conversions Darin Kramer Excel Programming 3 August 24th 05 11:27 AM


All times are GMT +1. The time now is 05:55 PM.

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

About Us

"It's about Microsoft Excel"