ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Removing the value error (https://www.excelbanter.com/excel-discussion-misc-queries/169953-removing-value-error.html)

dartanion

Removing the value error
 
I have a row of data which I have sorted into ranks 1 to 33. The formula
works well - =RANK(B4;$B$4:$AI$4;1) but when the row B4 to AI4 has a blank,
then row B5:AI5 which will have the numbers 1 to 33 leaves #VALUE! errors,
and I want blanks. I have tried
=IF(ISERROR(RANK(B4;$B$4:$AI$4;1);"";(RANK(B4;$B$4 :$AI$4;1)))) -but get an
error with the;""; highlighted. I have tried ;0; and ;-; but get the error
message all the time.
Any suggestions?

Stephen[_2_]

Removing the value error
 
I haven't tried it, but I suspect your brackets don't match properly. Try
this:
=IF(ISERROR(RANK(B4;$B$4:$AI$4;1));"";(RANK(B4;$B$ 4:$AI$4;1)))

"dartanion" wrote in message
...
I have a row of data which I have sorted into ranks 1 to 33. The formula
works well - =RANK(B4;$B$4:$AI$4;1) but when the row B4 to AI4 has a
blank,
then row B5:AI5 which will have the numbers 1 to 33 leaves #VALUE! errors,
and I want blanks. I have tried
=IF(ISERROR(RANK(B4;$B$4:$AI$4;1);"";(RANK(B4;$B$4 :$AI$4;1)))) -but get
an
error with the;""; highlighted. I have tried ;0; and ;-; but get the error
message all the time.
Any suggestions?




Dave F[_2_]

Removing the value error
 
Make an array formula:

=IF(ISERROR(RANK(A4:AI4,A4:AI4)),"",RANK(A4:AI4,A4 :AI4))

Hit CTRL + SHIFT + ENTER.

Post back with questions if you don't know how to get Excel to create
an array formula.

Dave

On Dec 17, 10:34 am, dartanion
wrote:
I have a row of data which I have sorted into ranks 1 to 33. The formula
works well - =RANK(B4;$B$4:$AI$4;1) but when the row B4 to AI4 has a blank,
then row B5:AI5 which will have the numbers 1 to 33 leaves #VALUE! errors,
and I want blanks. I have tried
=IF(ISERROR(RANK(B4;$B$4:$AI$4;1);"";(RANK(B4;$B$4 :$AI$4;1)))) -but get an
error with the;""; highlighted. I have tried ;0; and ;-; but get the error
message all the time.
Any suggestions?



dartanion

Removing the value error
 
Thanks Stephen- just spent 2 hours changing things and never tried the
brackets!!

"Stephen" wrote:

I haven't tried it, but I suspect your brackets don't match properly. Try
this:
=IF(ISERROR(RANK(B4;$B$4:$AI$4;1));"";(RANK(B4;$B$ 4:$AI$4;1)))

"dartanion" wrote in message
...
I have a row of data which I have sorted into ranks 1 to 33. The formula
works well - =RANK(B4;$B$4:$AI$4;1) but when the row B4 to AI4 has a
blank,
then row B5:AI5 which will have the numbers 1 to 33 leaves #VALUE! errors,
and I want blanks. I have tried
=IF(ISERROR(RANK(B4;$B$4:$AI$4;1);"";(RANK(B4;$B$4 :$AI$4;1)))) -but get
an
error with the;""; highlighted. I have tried ;0; and ;-; but get the error
message all the time.
Any suggestions?





dartanion

Removing the value error
 
Thanks Dave, the answer from Stephen fit the bill.

"Dave F" wrote:

Make an array formula:

=IF(ISERROR(RANK(A4:AI4,A4:AI4)),"",RANK(A4:AI4,A4 :AI4))

Hit CTRL + SHIFT + ENTER.

Post back with questions if you don't know how to get Excel to create
an array formula.

Dave

On Dec 17, 10:34 am, dartanion
wrote:
I have a row of data which I have sorted into ranks 1 to 33. The formula
works well - =RANK(B4;$B$4:$AI$4;1) but when the row B4 to AI4 has a blank,
then row B5:AI5 which will have the numbers 1 to 33 leaves #VALUE! errors,
and I want blanks. I have tried
=IF(ISERROR(RANK(B4;$B$4:$AI$4;1);"";(RANK(B4;$B$4 :$AI$4;1)))) -but get an
error with the;""; highlighted. I have tried ;0; and ;-; but get the error
message all the time.
Any suggestions?





All times are GMT +1. The time now is 04:45 AM.

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