Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 125
Default Rank non Contiguous

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

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/201002/1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Rank non Contiguous

Maybe if you deduct this from the total
SUMPRODUCT(--(D93:D94D6))

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

Regards,
Peter T

"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:a36ae60bcd20a@uwe...
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

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/201002/1



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Rank non Contiguous

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

Barb Reinhardt



"BNT1 via OfficeKB.com" wrote:

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

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/201002/1

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 125
Default Rank non Contiguous

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 Reinhardt wrote:
I haven't tried it, but I think I'd try to create a non-contiguous named
range and put that in your formula.
Hi

[quoted text clipped - 10 lines]

Brian


--
Message posted via http://www.officekb.com

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
rank the numbers / range of data using 'RANK' and 'ABS' KP Excel Worksheet Functions 1 March 8th 08 05:50 PM
Copy and Paste LAST ROW of data: non-contiguous Row, contiguous Column Sam via OfficeKB.com Excel Programming 8 November 5th 07 07:18 PM
RANK, duplicate ranking but no gaps in rank arron laing Excel Worksheet Functions 4 June 14th 06 07:57 AM
Rank where lowest value is highest rank mile3024 Excel Worksheet Functions 2 December 9th 05 10:57 PM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM


All times are GMT +1. The time now is 06:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"