• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Drop down that gives store numbers, Can we get store names in Alphabetical order ?

melvin

Member
Gday All,

Happy new Year. I use this report to drop on Area managers which gives me the list of stores that fall under the AM's.

I have been asked if I can get the store names in an alphabetical order ? Would anyone be able to assist me on this.

Thanks guys.

Melv.
 

Attachments

  • Store names on alphabetical order.xlsm
    434.9 KB · Views: 5
It appears that you are using a sledgehammer to crack a walnut. That is why it won't be really straightforward to sort your stores alphabetically.
I think you'd be best advised to simplify all of your data into one Excel Table (yes use that Table feature - you will learn to love Tables in Excel) and then use Pivot Tables to produce the required results. The current model has a lot of redundancy and it's a touch convoluted. The file you uploaded is also referencing an external file on your computer, but I suspect that is the name of the file prior to you sanitizing it for posting - always a good idea!

The Table you need is simply the Consolidated sheet with a couple of extra columns for Week No, Sales Budget/Wage Budget and likewise for Actual amounts. The variance and % are simply calculated fields.

Currently, I think you're using the horizontal axis to layout the budget weeks which precludes you from using Excel's built-in Pivot Table capabilities to their maximum effort. I think you've emptied that area for confidentiality.

The Area Manager view would be very simply created from a basic Pivot and filtering in/out the Week nos you want to show - you won't have to perform the formula gymnastics and your output will be cleaner and better formatted as Pivot Tables can handle everything you're attempting and more -
 
Thanks David,

I have displayed only 1 week as an example, As I have this file at a quarter view , I wouldn't put 13 weeks in horizontal axis. I have only put budget and actual, however I have few other scenarios in my columns.

I will take your suggestion on board to using pivots, but with the amount of data I am using for this report, that would be another mess. I am still keen on knowing if anyone thinks if it is possible to get the store names for the attached file, in an alphabetical order.

Thanks,

Melv.
 

Attachments

  • Store names on alphabetical order.xlsm
    428.8 KB · Views: 3
Hi ,

If the data in your table in the Consolidated tab is sorted on column F ( Store Name ) , then with a small change to the formulae , the output will be sorted store name-wise.

Narayan
 

Attachments

  • Store names on alphabetical order1.xlsm
    431 KB · Views: 9
Gday All,

I have been using the formula provided by Narayan which has been great.

I was trying to achieve something similar, but doesn't quite give me the required answer. I have explained my query in the file. Appreciate your assistance.

Melv
 

Attachments

  • Drop down question.xlsm
    229 KB · Views: 7
Thanks for your suggestion David.

Any takers based on the formula built in ?
IFERROR(INDEX(Sheet1!$B$5:$E$157,MATCH(SMALL(IF(Sheet1!$C$5:$C$157=$D$3,Sheet1!$E$5:$E$157),ROW(A2)),Sheet1!$E$5:$E$157,0),3),"")
 
Thanks for your suggestion David.

Any takers based on the formula built in ?
=IFERROR(INDEX(Sheet1!$B$5:$E$157,MATCH(SMALL(IF(Sheet1!$C$5:$C$157=$D$3,Sheet1!$E$5:$E$157),ROW(A2)),Sheet1!$E$5:$E$157,0),3),"")

Change the above formula as per highlighted and copy down :

=IFERROR(INDEX(Sheet1!$B$5:$E$157,MATCH(SMALL(IF(Sheet1!$C$5:$C$157=$D$3,Sheet1!$E$5:$E$157),ROW(A1)),Sheet1!$E$5:$E$157,0),3),"")

Regards
 
Back
Top