Rank Sales Values If it is a retail store

ajw5173

New Member
Joined
Apr 7, 2016
Messages
45
Hi All,

I am trying to rank stores based on their sales. I have my stores in column C and their sales in D. The problem is I have their distrct totals also in column D and their District names also in column C.

Can someone provide a formula that will rank sales from a column unless the name in column C is a specific name like "Web" or "Flagship"?

Thanks!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
You can use a helper column.

In my example, I have Stores in C4:C11, and Sales in D4:D11.

I created a helper column E, with this formula: =IF(AND(ISERROR(FIND("Web", C4)), ISERROR(FIND("Flagship", C4))), D4)

In column F, I have my new Rank formula: =IFERROR(RANK(E4, $E$4:$E$11), "")

The result is, you have blanks in any row where store name contains "Web" or "Flagship", and the ranks if it does not.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,249
Members
449,075
Latest member
staticfluids

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