+ Reply to Thread
Results 1 to 4 of 4

Sorting multiple entries with several batches based on lowest balance.

  1. #1
    Registered User
    Join Date
    01-03-2019
    Location
    Sweden
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    2

    Sorting multiple entries with several batches based on lowest balance.

    Hello everyone, first time poster here and basicly a first time user of Excel.
    I work at a warehouse and we dont have a system that warns us if an article on A (floor) is about to be empty.
    We have thousands of articles and to manualy keep track of them and refill is not possible.
    So i need help to figure out a formula that warns me if A is about to be empty and suggest B or C so we can refill A with pallets from B or C before it´s to late.
    I copy the entire shelving system to excel usually around 1500 articles and remove the double entries because we use batches.
    So this is the data im left with to sort in order from left to right.
    Article number, Name of article, place, balance.
    Example:
    45226 Tape 0579-A 48
    45226 Tape 0579-B 544
    45226 Tape 0579-C 612

    I want the option to only show a pallet that has <48 on A and suggest a B or C pallet with >48.
    If the pallets has >48 then i dont want it to be shown or just let the pallets im interested in be marked with 1 and those im not interested in to be marked with 0.
    Is this possible?
    Thankful for any help i can get.
    /Istid

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,959

    Re: Sorting multiple entries with several batches based on lowest balance.

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-03-2019
    Location
    Sweden
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    2

    Re: Sorting multiple entries with several batches based on lowest balance.

    Hi.
    I hope this is good enough, Right column is the rules, i have just copied some of the rows from our system so it is representative of how it looks.
    A=floor B=second floor C=Third floor
    If there is less than 96 on on A floor i want it to be shown, if its more than 96 i want it to be ignored.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,521

    Re: Sorting multiple entries with several batches based on lowest balance.

    Hello Istid and Welcome to Excel Forum.
    This proposed solution employs three helper columns which may be moved and/or hidden for aesthetic purposes.
    Column F is populated using: =RIGHT(C2,1)
    Column G is populated using: =IFERROR(INDEX(D$2:D$35,AGGREGATE(15,6,(ROW($2:$35)-1)/(A$2:A$35=A2)/(F$2:F$35="A"),1)),0)
    Column H is populated using: =COUNTIFS(A$2:A$35,A2)
    Column I is populated using: =IF(OR(G2>96,AND(F2="A",H2=1)),0,1)
    Note: As in first post 1=show 2=omit
    Note that the rational for showing rows 25:26 may need revisiting(?)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Suggest New Balance Based on Target +/- Previous Balance
    By vill in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-14-2018, 11:27 AM
  2. Sorting excel entries based on text length
    By Mary22 in forum Excel General
    Replies: 1
    Last Post: 11-05-2015, 10:35 AM
  3. [SOLVED] Pick up 3 Different batches based on Single ID.
    By Anjukeerthi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-22-2015, 11:58 AM
  4. Sort Data According to latest date and lowest balance. Excel 2007
    By Bruce2000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2012, 12:46 PM
  5. Replies: 9
    Last Post: 09-12-2011, 08:45 AM
  6. Trying to find lowest, range and mode of multiple entries
    By DeniseAck in forum Excel General
    Replies: 3
    Last Post: 10-21-2010, 12:30 PM
  7. Replies: 10
    Last Post: 08-26-2010, 04:23 PM

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