Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=(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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Tricky counting question | Excel Discussion (Misc queries) | |||
Tricky comparing question | Excel Worksheet Functions | |||
tricky data entry question | Excel Discussion (Misc queries) | |||
Tricky Question | Excel Worksheet Functions | |||
rota question - very tricky... | Excel Discussion (Misc queries) |