Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Select longest call duration from 2 cells and place in another cel

Hi,

I have a set of call stats that have been reported in half hourly format.
One of the stats is the 'Longest Call Duration'. I am looking to convert this
data into hourly format and so I need to compare the data in two cells (i.e.
the longest call for each half hour), select the largest and place this
figure in a separate cell (the hourly cell):

A B D E
1 Time period Longest Call Time period Longest Call
2 00:00-00:30 00:01:42 00:00-01:00 ?
3 00:31-01:00 00:00:42 01:01-02:00 ?
4 01:01-01:30 00:01:41 02:01-03:00 ?
5 01:31-02:00 00:01:46
6 02:01-02:30 00:02:11
7 02:31-03:00 00:00:35

Any help gratefully appreciated!

Cheers,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default Select longest call duration from 2 cells and place in another cel

Format column E as hh:mm:ss then try entering:

=SUMIF(A:A,LEFT(D2,3)&"*",B:B)

On Feb 2, 9:37 am, kippers wrote:
Hi,

I have a set of call stats that have been reported in half hourly format.
One of the stats is the 'Longest Call Duration'. I am looking to convert this
data into hourly format and so I need to compare the data in two cells (i.e.
the longest call for each half hour), select the largest and place this
figure in a separate cell (the hourly cell):

A B D E
1 Time period Longest Call Time period Longest Call
2 00:00-00:30 00:01:42 00:00-01:00 ?
3 00:31-01:00 00:00:42 01:01-02:00 ?
4 01:01-01:30 00:01:41 02:01-03:00 ?
5 01:31-02:00 00:01:46
6 02:01-02:30 00:02:11
7 02:31-03:00 00:00:35

Any help gratefully appreciated!

Cheers,



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Select longest call duration from 2 cells and place in another

Thanks Lori- what if I have multiple days (i.e. more than one occurrence of
each time frame)?

Cheers

"Lori" wrote:

Format column E as hh:mm:ss then try entering:

=SUMIF(A:A,LEFT(D2,3)&"*",B:B)

On Feb 2, 9:37 am, kippers wrote:
Hi,

I have a set of call stats that have been reported in half hourly format.
One of the stats is the 'Longest Call Duration'. I am looking to convert this
data into hourly format and so I need to compare the data in two cells (i.e.
the longest call for each half hour), select the largest and place this
figure in a separate cell (the hourly cell):

A B D E
1 Time period Longest Call Time period Longest Call
2 00:00-00:30 00:01:42 00:00-01:00 ?
3 00:31-01:00 00:00:42 01:01-02:00 ?
4 01:01-01:30 00:01:41 02:01-03:00 ?
5 01:31-02:00 00:01:46
6 02:01-02:30 00:02:11
7 02:31-03:00 00:00:35

Any help gratefully appreciated!

Cheers,




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Select longest call duration from 2 cells and place in another

Lori- won't the SUMIF function add the total of the 2 cells when I want to
compare each time and report the largest value (i.e. longest call?) E.g if
there are 2 values, I don't want a sum of these but the largest of the two
(and ignore the smaller of the two)

"Lori" wrote:

Format column E as hh:mm:ss then try entering:

=SUMIF(A:A,LEFT(D2,3)&"*",B:B)

On Feb 2, 9:37 am, kippers wrote:
Hi,

I have a set of call stats that have been reported in half hourly format.
One of the stats is the 'Longest Call Duration'. I am looking to convert this
data into hourly format and so I need to compare the data in two cells (i.e.
the longest call for each half hour), select the largest and place this
figure in a separate cell (the hourly cell):

A B D E
1 Time period Longest Call Time period Longest Call
2 00:00-00:30 00:01:42 00:00-01:00 ?
3 00:31-01:00 00:00:42 01:01-02:00 ?
4 01:01-01:30 00:01:41 02:01-03:00 ?
5 01:31-02:00 00:01:46
6 02:01-02:30 00:02:11
7 02:31-03:00 00:00:35

Any help gratefully appreciated!

Cheers,




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
How Do I Place a Picture Behind Cells Jon Excel Discussion (Misc queries) 2 January 29th 07 08:16 PM
Calculating only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
How can I print current row in same place on paper but not print surrounding cells??? Andy Ford New Users to Excel 1 September 2nd 05 05:50 AM
HOW DO I SORT NAMED CELLS ? (the name stays in the original place) Claude38 Excel Discussion (Misc queries) 2 August 14th 05 01:59 AM
Keeping cells in place Rj Excel Worksheet Functions 3 March 2nd 05 07:52 PM


All times are GMT +1. The time now is 08:43 AM.

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"