Rank non Contiguous

  • Thread starter BNT1 via OfficeKB.com
  • Start date
B

BNT1 via OfficeKB.com

Hi

Is there any way to have non contiguous range in Rank

Currently using =RANK(D6,$D$6:$D$110)+(COUNTIF($D$6:D6,D6)-1) and works well,
but do need to remove D93 and D94 from the range. Tried removing the formula
from the cells, however, got error, when using vlookup


also tried =RANK(D6,$D$6:$D$92,$D$95:$D$110)+(COUNTIF($D$6:D6,D6)-1), but did
not work

Help appriciated

Brian
 
P

Peter T

Maybe if you deduct this from the total
SUMPRODUCT(--(D93:D94>D6))

I haven't tied that in with your Countif part, so better check that aspect

Regards,
Peter T
 
B

Barb Reinhardt

I haven't tried it, but I think I'd try to create a non-contiguous named
range and put that in your formula.
 
B

BNT1 via OfficeKB.com

thank you both for your response
I did try the comma to separate the ranges, but could not get it to work.
The non contiguous named range worked a treat

regards

Barb said:
I haven't tried it, but I think I'd try to create a non-contiguous named
range and put that in your formula.
[quoted text clipped - 10 lines]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top