ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can I "RANK" time in Excel 2003? (https://www.excelbanter.com/excel-worksheet-functions/49169-how-can-i-%22rank%22-time-excel-2003-a.html)

Michael

How can I "RANK" time in Excel 2003?
 
Hi there

I am working on a spreadsheet to measure agent performance. I want to rank
agents on the time they spend in "wrap up" after each call. I've tried using
the RANK formlua but it returns a value #DIV/0! and the error states "the
formula or function used is dividing by zero or empty cells".

However, the cells are empty. I've tried changing the cell format but its
not working.

Any Ideas?

THanks

Mangesh Yadav

can you show the exact formula you have used and the inputs to it.

Mangesh




"Michael" wrote in message
...
Hi there

I am working on a spreadsheet to measure agent performance. I want to

rank
agents on the time they spend in "wrap up" after each call. I've tried

using
the RANK formlua but it returns a value #DIV/0! and the error states "the
formula or function used is dividing by zero or empty cells".

However, the cells are empty. I've tried changing the cell format but its
not working.

Any Ideas?

THanks




Michael

Hi Mangesh

Here is an example of the data and formula.

A
1 0:31:51
2 0:00:00
3 0:30:20
4 0:00:09

The formuala to caculate the rank is =RANK(A1,$A$2:$A$4,1). I've also tried
=RANK(A1,$A$2:$A$4,0).

It returns the value #DIV/0! and the error states "the
formula or function used is dividing by zero or empty cells".


The cells are in TIME format. Although I have tried number and general and
even text.

Thanks

Michael

"Mangesh Yadav" wrote:

can you show the exact formula you have used and the inputs to it.

Mangesh




"Michael" wrote in message
...
Hi there

I am working on a spreadsheet to measure agent performance. I want to

rank
agents on the time they spend in "wrap up" after each call. I've tried

using
the RANK formlua but it returns a value #DIV/0! and the error states "the
formula or function used is dividing by zero or empty cells".

However, the cells are empty. I've tried changing the cell format but its
not working.

Any Ideas?

THanks





Mangesh Yadav

Try:

=RANK(A1,$A$1:$A$4,1)

You are not including the cell for which you want to find the rank.



Mangesh


"Michael" wrote in message
...
Hi Mangesh

Here is an example of the data and formula.

A
1 0:31:51
2 0:00:00
3 0:30:20
4 0:00:09

The formuala to caculate the rank is =RANK(A1,$A$2:$A$4,1). I've also

tried
=RANK(A1,$A$2:$A$4,0).

It returns the value #DIV/0! and the error states "the
formula or function used is dividing by zero or empty cells".


The cells are in TIME format. Although I have tried number and general

and
even text.

Thanks

Michael

"Mangesh Yadav" wrote:

can you show the exact formula you have used and the inputs to it.

Mangesh




"Michael" wrote in message
...
Hi there

I am working on a spreadsheet to measure agent performance. I want to

rank
agents on the time they spend in "wrap up" after each call. I've

tried
using
the RANK formlua but it returns a value #DIV/0! and the error states

"the
formula or function used is dividing by zero or empty cells".

However, the cells are empty. I've tried changing the cell format but

its
not working.

Any Ideas?

THanks








Michael

Hi Mangesh

Thanks for the help but that did not work either. It returns the same error

Michael

"Mangesh Yadav" wrote:

Try:

=RANK(A1,$A$1:$A$4,1)

You are not including the cell for which you want to find the rank.



Mangesh


"Michael" wrote in message
...
Hi Mangesh

Here is an example of the data and formula.

A
1 0:31:51
2 0:00:00
3 0:30:20
4 0:00:09

The formuala to caculate the rank is =RANK(A1,$A$2:$A$4,1). I've also

tried
=RANK(A1,$A$2:$A$4,0).

It returns the value #DIV/0! and the error states "the
formula or function used is dividing by zero or empty cells".


The cells are in TIME format. Although I have tried number and general

and
even text.

Thanks

Michael

"Mangesh Yadav" wrote:

can you show the exact formula you have used and the inputs to it.

Mangesh




"Michael" wrote in message
...
Hi there

I am working on a spreadsheet to measure agent performance. I want to
rank
agents on the time they spend in "wrap up" after each call. I've

tried
using
the RANK formlua but it returns a value #DIV/0! and the error states

"the
formula or function used is dividing by zero or empty cells".

However, the cells are empty. I've tried changing the cell format but

its
not working.

Any Ideas?

THanks








Jerry W. Lewis

What have you not told us about your data? Are there any error values
in the range you are actually trying to rank from? What do you get from
=ISNUMBER(A1) ?

If your "times" were all text instead of time values, then the formula
would return #N/A instead of the #DIV/0! that you report. In that case,
you would have to convert to Excel time values [=VALUE(A1) formatted as
time] before ranking, since the RANK function does not support
internally coercing the values.

Jerry

Michael wrote:

Hi Mangesh

Thanks for the help but that did not work either. It returns the same error

Michael

"Mangesh Yadav" wrote:


Try:

=RANK(A1,$A$1:$A$4,1)

You are not including the cell for which you want to find the rank.



Mangesh


"Michael" wrote in message
...

Hi Mangesh

Here is an example of the data and formula.

A
1 0:31:51
2 0:00:00
3 0:30:20
4 0:00:09

The formuala to caculate the rank is =RANK(A1,$A$2:$A$4,1). I've also

tried

=RANK(A1,$A$2:$A$4,0).

It returns the value #DIV/0! and the error states "the

formula or function used is dividing by zero or empty cells".

The cells are in TIME format. Although I have tried number and general

and

even text.

Thanks

Michael

"Mangesh Yadav" wrote:


can you show the exact formula you have used and the inputs to it.

Mangesh




"Michael" wrote in message
...

Hi there

I am working on a spreadsheet to measure agent performance. I want to

rank

agents on the time they spend in "wrap up" after each call. I've

tried

using

the RANK formlua but it returns a value #DIV/0! and the error states

"the

formula or function used is dividing by zero or empty cells".

However, the cells are empty. I've tried changing the cell format but

its

not working.

Any Ideas?

THanks



Mangesh Yadav

Hi Michael,

Your example works fine for me.
Please check what Jerry says in his post.

Mangesh




"Michael" wrote in message
...
Hi Mangesh

Thanks for the help but that did not work either. It returns the same

error

Michael

"Mangesh Yadav" wrote:

Try:

=RANK(A1,$A$1:$A$4,1)

You are not including the cell for which you want to find the rank.



Mangesh


"Michael" wrote in message
...
Hi Mangesh

Here is an example of the data and formula.

A
1 0:31:51
2 0:00:00
3 0:30:20
4 0:00:09

The formuala to caculate the rank is =RANK(A1,$A$2:$A$4,1). I've also

tried
=RANK(A1,$A$2:$A$4,0).

It returns the value #DIV/0! and the error states "the
formula or function used is dividing by zero or empty cells".

The cells are in TIME format. Although I have tried number and

general
and
even text.

Thanks

Michael

"Mangesh Yadav" wrote:

can you show the exact formula you have used and the inputs to it.

Mangesh




"Michael" wrote in message
...
Hi there

I am working on a spreadsheet to measure agent performance. I

want to
rank
agents on the time they spend in "wrap up" after each call. I've

tried
using
the RANK formlua but it returns a value #DIV/0! and the error

states
"the
formula or function used is dividing by zero or empty cells".

However, the cells are empty. I've tried changing the cell format

but
its
not working.

Any Ideas?

THanks










Michael

Thank you very much for your help guys.
It wasn't working because some of the values are blank.

Very much appriciated.

Thanks again

Michael Grievson

"Jerry W. Lewis" wrote:

What have you not told us about your data? Are there any error values
in the range you are actually trying to rank from? What do you get from
=ISNUMBER(A1) ?

If your "times" were all text instead of time values, then the formula
would return #N/A instead of the #DIV/0! that you report. In that case,
you would have to convert to Excel time values [=VALUE(A1) formatted as
time] before ranking, since the RANK function does not support
internally coercing the values.

Jerry

Michael wrote:

Hi Mangesh

Thanks for the help but that did not work either. It returns the same error

Michael

"Mangesh Yadav" wrote:


Try:

=RANK(A1,$A$1:$A$4,1)

You are not including the cell for which you want to find the rank.



Mangesh


"Michael" wrote in message
...

Hi Mangesh

Here is an example of the data and formula.

A
1 0:31:51
2 0:00:00
3 0:30:20
4 0:00:09

The formuala to caculate the rank is =RANK(A1,$A$2:$A$4,1). I've also

tried

=RANK(A1,$A$2:$A$4,0).

It returns the value #DIV/0! and the error states "the

formula or function used is dividing by zero or empty cells".

The cells are in TIME format. Although I have tried number and general

and

even text.

Thanks

Michael

"Mangesh Yadav" wrote:


can you show the exact formula you have used and the inputs to it.

Mangesh




"Michael" wrote in message
...

Hi there

I am working on a spreadsheet to measure agent performance. I want to

rank

agents on the time they spend in "wrap up" after each call. I've

tried

using

the RANK formlua but it returns a value #DIV/0! and the error states

"the

formula or function used is dividing by zero or empty cells".

However, the cells are empty. I've tried changing the cell format but

its

not working.

Any Ideas?

THanks





All times are GMT +1. The time now is 12:40 PM.

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