RANK Formula with Criteria

hrayani

Well-known Member
Joined
Jul 23, 2010
Messages
1,500
Office Version
  1. 2016
Platform
  1. Windows
Hello Friends,

I need a Rank formula based on criteria

Here is a sample data (having Names in A2:A8 & Qty in D2:D8)

NAMES Qty
Peter25
John99
Mike36
Mike25
John48
Peter99
Peter2

<tbody>
</tbody>

Required names (rank wise) based on sum of Quantites in Column D

In this case answer should be

John (coz john has the maximum qty of 147)
Peter (then peter with a qty of 126)
Mike (then Mike with a qty of 61)

Any help would be appreciated.

Regards,

Humayun
 
Last edited:
i will teach u how to use pivot table
1st select all sheet click insert =>click pivot table
m06kca
http://prntscr.com/m06lf6
http://prntscr.com/m06m80
http://prntscr.com/m06mp8
after this make sheet value mode by select copy pres control +alt +v
http://prntscr.com/m06njy
now short data by larg to smallest
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Both the formulas are working ok for me. If possible upload file

Hi kvsrinivasamurthy ,

I cant upload the file... but anyways i will stick to the first solution with the helper column as it is very fast as compared to the 2nd solution.
I will not be using the second code even if it works coz it takes a lot of time to calculate.

Thanks
 
Upvote 0
i will teach u how to use pivot table
1st select all sheet click insert =>click pivot table
m06kca
http://prntscr.com/m06lf6
http://prntscr.com/m06m80
http://prntscr.com/m06mp8
after this make sheet value mode by select copy pres control +alt +v
http://prntscr.com/m06njy
now short data by larg to smallest

Hi Aqeel,

I will have to see if i can use pivot table as there are also other formulas which are dependent on required result.
But surely i will have a look into it once i am done with the current work.

Regards,

Humayun
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top