+ Reply to Thread
Results 1 to 7 of 7

Remove random customers and view impact on turnover and profit

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Remove random customers and view impact on turnover and profit

    I have approximately 20 customers occupying bins in a warehouse. They all occupy different quantities. The bin capacity in the warehouse is 500. The bin requirement by the customers is greater than 500 so I have to give notice to some customers. I would like to have a drop down-list with a check box next to each customer, so I can do random selections by checking different customers to see the impact of removing certain customers. For example, if I select customers 4, 7 and 11, I want to add the bins occupied by those 3 customers and deduct the bins for the 3 selected customers from the overall total to get closer to 500? My database has turnover and profit by customer so I will consider that impact as well. I was hoping to use a combo drop-down box with the ability to check different customers? I have attached a sample file.
    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Remove random customers and view impact on turnover and profit

    I have found a solution by using check boxes next to each customer. I would like to create a list of the customers that have been checked but can't figure this out? I have attached a test file.
    Thanks in advance
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Remove random customers and view impact on turnover and profit

    You could use the AutoFilter feature to select the customers and the SUBTOTAL function to total the values for the selected customers.

    Excel Filters: Excel 2007 AutoFilter Basics

    Sum Filtered List With SUBTOTAL

  4. #4
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Remove random customers and view impact on turnover and profit

    Thanks for your reply but AutoFilter is not the elegant solution I am looking for.

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Remove random customers and view impact on turnover and profit

    Put this array formula in K3. Enter it with Ctrl+Shift+Enter

    =IFERROR(INDEX($A$2:$A$10,SMALL(IF($C$2:$C$10,"",ROW($A$2:$A$10)),ROW(A1))),"")

    Drag-Copy it down column K
    Last edited by AlphaFrog; 12-01-2012 at 04:07 PM.

  6. #6
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Remove random customers and view impact on turnover and profit

    Once again, thank you for your response but I am not getting the correct customers with this formula?

  7. #7
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Remove random customers and view impact on turnover and profit

    Sorry. Should be this...

    =IFERROR(INDEX($A$2:$A$10,SMALL(IF($C$2:$C$10,"",ROW($A$2:$A$10)-1),ROW(A1))),"")

  8. #8
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Remove random customers and view impact on turnover and profit

    Brilliant! Thanks very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1