Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Rank based on category

I have a list of product categories and within each category is multiple
product models and their inventory value for the current month. I want to
rank each product model within it's category based on it's inventory value.
How do I create a formula that does this without having to sort the list each
time and determine the range to base the rank on. I just want one formula
that determines which category the product model is in and rank it based on
the inventory value
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Rank based on category

Try this:

A2:A20 = categories
C2:C20 = inventory value

Enter this formula in D2 and copy down as needed:

=SUMPRODUCT(--(A$2:A$20=A2),--(C2<C$2:C$20))+1

--
Biff
Microsoft Excel MVP


"vnvkatz" wrote in message
...
I have a list of product categories and within each category is multiple
product models and their inventory value for the current month. I want to
rank each product model within it's category based on it's inventory
value.
How do I create a formula that does this without having to sort the list
each
time and determine the range to base the rank on. I just want one formula
that determines which category the product model is in and rank it based
on
the inventory value



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Rank based on category

Works perfect. Thanks

"T. Valko" wrote:

Try this:

A2:A20 = categories
C2:C20 = inventory value

Enter this formula in D2 and copy down as needed:

=SUMPRODUCT(--(A$2:A$20=A2),--(C2<C$2:C$20))+1

--
Biff
Microsoft Excel MVP


"vnvkatz" wrote in message
...
I have a list of product categories and within each category is multiple
product models and their inventory value for the current month. I want to
rank each product model within it's category based on it's inventory
value.
How do I create a formula that does this without having to sort the list
each
time and determine the range to base the rank on. I just want one formula
that determines which category the product model is in and rank it based
on
the inventory value




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Rank based on category

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"vnvkatz" wrote in message
...
Works perfect. Thanks

"T. Valko" wrote:

Try this:

A2:A20 = categories
C2:C20 = inventory value

Enter this formula in D2 and copy down as needed:

=SUMPRODUCT(--(A$2:A$20=A2),--(C2<C$2:C$20))+1

--
Biff
Microsoft Excel MVP


"vnvkatz" wrote in message
...
I have a list of product categories and within each category is multiple
product models and their inventory value for the current month. I want
to
rank each product model within it's category based on it's inventory
value.
How do I create a formula that does this without having to sort the
list
each
time and determine the range to base the rank on. I just want one
formula
that determines which category the product model is in and rank it
based
on
the inventory value






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
Conditional formatting based on category Scott Bucher Charts and Charting in Excel 1 March 22nd 06 09:47 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
Summing Data based on Its Category sip8316 Excel Discussion (Misc queries) 2 May 24th 05 07:30 PM
Rank within Category Henrik Excel Worksheet Functions 0 January 28th 05 07:03 PM
Rank() based on category Henrik Excel Worksheet Functions 1 January 12th 05 08:40 PM


All times are GMT +1. The time now is 08:29 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"