Hi all,
The rank function is driving me insane!!
I am trying to add a rank column to my table, but to ignore the 0 values, not have duplicate ranks and show the lowest value (which isn't 0) as 1. So far, I have managed to do everything except for getting it to show the lowest value as 1. I would imagine it will be an easy formula tweak for an expert, but I am baffled!
So.... I have put the rank column in M and the total value that I am ranking is in column R. The formula that I currently have in my first rank cell (R4) is:
=IF(R4=0,"",RANK(R4,IF($R$4:$R$55>0,$R$4:$R$55,0))+COUNTIF($R$4:R4,R4)-1)
This shows the correct rank, doesn't duplicate rankings, and ignores the zeros, but I cannot get it to show the lowest value (that isn't 0) as required.
Can anybody help?
Thanks
Chris
The rank function is driving me insane!!
I am trying to add a rank column to my table, but to ignore the 0 values, not have duplicate ranks and show the lowest value (which isn't 0) as 1. So far, I have managed to do everything except for getting it to show the lowest value as 1. I would imagine it will be an easy formula tweak for an expert, but I am baffled!
So.... I have put the rank column in M and the total value that I am ranking is in column R. The formula that I currently have in my first rank cell (R4) is:
=IF(R4=0,"",RANK(R4,IF($R$4:$R$55>0,$R$4:$R$55,0))+COUNTIF($R$4:R4,R4)-1)
This shows the correct rank, doesn't duplicate rankings, and ignores the zeros, but I cannot get it to show the lowest value (that isn't 0) as required.
Can anybody help?
Thanks
Chris