Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 177
Default Tricky Ranking Question

=(SUMPRODUCT(--($B$5:$B$200=$B5),--($L$5:$L$200="Sell"),--(H5<H$5:H$200))+1)

The above isn't working

Colum B = labels like "Apples, Bannanas,"
Column L = lables like "Hold" or "Sell"
Column H = numbers that I would like ranked.

I would like this formula, which is in column M (starting at M5), to rank
numbers in column H from lowest to highest, but only when they are labeled
"Sell" in Column L. That way I can create a formula that makes sell
suggestions based on a rank: Sell 1, Sell 2, Sell 3, Sell 4, etc. (using
="Sell "&text(formula here,"0")

any suggestions?

thanks a lot!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Tricky Ranking Question

Try it like this:

=IF(L5="Sell",SUMPRODUCT(--(B$5:B$200=B5),--(L$5:L$200="Sell"),--(H5H$5:H$200))+1,"")

--
Biff
Microsoft Excel MVP


"SteveC" wrote in message
...
=(SUMPRODUCT(--($B$5:$B$200=$B5),--($L$5:$L$200="Sell"),--(H5<H$5:H$200))+1)

The above isn't working

Colum B = labels like "Apples, Bannanas,"
Column L = lables like "Hold" or "Sell"
Column H = numbers that I would like ranked.

I would like this formula, which is in column M (starting at M5), to rank
numbers in column H from lowest to highest, but only when they are labeled
"Sell" in Column L. That way I can create a formula that makes sell
suggestions based on a rank: Sell 1, Sell 2, Sell 3, Sell 4, etc. (using
="Sell "&text(formula here,"0")

any suggestions?

thanks a lot!




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
Tricky counting question Jay Weiss Excel Discussion (Misc queries) 2 May 1st 06 04:53 PM
Tricky comparing question Corben Excel Worksheet Functions 3 April 21st 06 10:11 PM
tricky data entry question Steve Simons Excel Discussion (Misc queries) 0 July 6th 05 09:25 PM
Tricky Question The Boondock Saint Excel Worksheet Functions 7 December 8th 04 07:22 PM
rota question - very tricky... Michelle Tucker Excel Discussion (Misc queries) 0 November 27th 04 11:55 AM


All times are GMT +1. The time now is 09:59 PM.

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

About Us

"It's about Microsoft Excel"