SOLVED
Home

I found the limit of my Excel knowledge, can I ask for some help?

%3CLINGO-SUB%20id%3D%22lingo-sub-521049%22%20slang%3D%22en-US%22%3EI%20found%20the%20limit%20of%20my%20Excel%20knowledge%2C%20can%20I%20ask%20for%20some%20help%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-521049%22%20slang%3D%22en-US%22%3EGreetings%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%20in%20advance%20to%20those%20who%20might%20be%20able%20to%20help.%20I'll%20make%20it%20as%20concise%20as%20I%20can%20while%20providing%20context%20when%20needed.%3CBR%20%2F%3E%3CBR%20%2F%3EScenario%3A%3CBR%20%2F%3EI%20work%20for%20a%20Distribution%20Centre%20with%20about%2010%2C000%20unique%20location%20in%20the%20warehouse%20(4%20different%20sizes%20and%20storage%20capacity%20%5Bfull%2C%20half%2C%20quarter%2C%20and%20reserve%5D)%20from%20where%20order%20pickers%20collect%20and%20drivers%20replenish%20stock%20from%20stock%20reserves%20or%20just%20delivered%20to%20the%20inbound%20office.%3CBR%20%2F%3E%3CBR%20%2F%3EBackground%3A%3CBR%20%2F%3EI%20built%20an%20Excel%20workbook%20that%20uses%20sheets%20working%20as%20filters%2C%20and%20format%20the%20data%20into%20tables%20from%20where%20a%20series%20of%20formulas%20provide%20the%20user%20with%20an%20available%20location%20appropriate%20for%20the%20box%20size%2C%20stock%20quantity%20and%20gender%20(as%20the%20warehouse%20stores%20clothing).%20It%20is%20working%20relatively%20well%20considering%20the%20complexity%2C%20but%20I%20need%20to%20polish%20it%20and%20make%20one%20major%20improvement%20for%20it%20to%20be%20easy%20to%20work%20with.%3CBR%20%2F%3E%3CBR%20%2F%3ELet%20me%20explain.%20I%20must%20allocate%20one%20location%20(a.k.a.%20Pickface)%20a%20day%20before%20fulfilling%20the%20orders%20so%20the%20forklift%20driver%20can%20put%20the%20stock%20from%20the%20reserves%20or%20goods-in%20area.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20problem%3A%3CBR%20%2F%3ECurrently%2C%20the%20formulas%20provide%20me%20with%20a%20unique%20location.%20However%2C%20the%20pickface%20is%20provided%20in%20alphabetic%20order%20(no%20specific%20reason%20for%20the%20sorting%20choice%2C%20so%20it%20can%20change%20if%20the%20solution%20offered%20requires%20it)%20and%20this%20has%20a%20major%20impact%20on%20drivers'%20performance%20because%20sometimes%20they%20must%20travel%20from%20end%20to%20end%20of%20the%20warehouse%20(from%20reserve%20to%20pickface%20location)%20to%20replenish%20stock.%20I%20want%20to%20find%20a%20way%20for%20Excel%20to%20use%20another%20table%20where%20I%20have%20the%20reserve%20location(s)%20and%20provide%20the%20end%20user%20with%20the%20closest%20pickface%20available%20to%20the%20reserve%20location%20and%20not%20just%20the%20next%20one%20available%20from%20the%20list%3B%20unless%20the%20stock%20is%20on%20the%20inbound%20platform.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20formula%3A%3CBR%20%2F%3E%3CBR%20%2F%3ESelection%20of%20unique%20location%20from%20the%20filtered%20table%3CBR%20%2F%3E%3CBR%20%2F%3E%3DIF(AND(%24StockType%3D%22B%22%2C%24LocationType%3D%22Full%22)%2CINDEX(FilteredLocationTypeFull%2C%20RANK.EQ(FilteredLocationTypeFull!D3%2C%20FilteredLocationTypeFull!D%243%3AD%241400%2C1)%20%2B%20COUNTIF(FilteredLocationTypeFull!%24D%243%3AD3%2C%20FilteredLocationTypeFull!D3)%2C%201)%20%26lt%3B%3D%3D%20Repeats%20for%20all%20permutation%20of%20StockType%20%26amp%3B%20LocationType%3B%20a%20total%20of%205%2C%20nested%20on%20the%20same%20%22IF%22%20statement.%3CBR%20%2F%3E%3CBR%20%2F%3E*%22B%22%20first%20letter%20of%20the%20stock%20group%20(B%3DBulk%2C%20S%3DSingles)%3CBR%20%2F%3E%3CBR%20%2F%3EAttempted%20solution%3A%3CBR%20%2F%3EI%20have%20tried%20using%20the%20vlookup%20function%20with%20the%20last%20parameter%20value%20of%20'1'%20which%20gives%20you%20the%20approximate%20match%20but%20that%20did%20not%20work%20as%20that%20makes%20the%20tool%20giving%20duplicate%20values.%3CBR%20%2F%3E%3CBR%20%2F%3ERemarks%3A%3CBR%20%2F%3EConstraints%3CBR%20%2F%3E-%20The%20solution%20must%20be%20in%20Excel%20due%20to%20end%20users'%20lack%20of%20training%20on%20other%20PC%20software.%20However%2C%20I%20have%20strong%20foundations%20on%20VBA%20so%20if%20there%20is%20a%20script%20I%20can%20use%2C%20feel%20free%20to%20mention%20it.%3CBR%20%2F%3E-%20Using%20Excel%202010%20without%20power%20query%20installed.%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20pointers%20on%20how%20to%20resolve%20it%20would%20be%20appreciated.%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-521049%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-522945%22%20slang%3D%22en-US%22%3ERe%3A%20I%20found%20the%20limit%20of%20my%20Excel%20knowledge%2C%20can%20I%20ask%20for%20some%20help%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-522945%22%20slang%3D%22en-US%22%3EIt's%20difficult%2C%20if%20not%20impossible%2C%20to%20imagine%20a%20suggested%20formula%20for%20you%20unless%20you%20attach%20your%20sample%20file%20with%20the%20manually%20entered%20results%20that%20you%20want%20to%20be%20returned%20by%20formulas.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-530151%22%20slang%3D%22en-US%22%3ERe%3A%20I%20found%20the%20limit%20of%20my%20Excel%20knowledge%2C%20can%20I%20ask%20for%20some%20help%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-530151%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F280482%22%20target%3D%22_blank%22%3E%40Twifoo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20reply%2C%20you%20are%20right.%20I%20am%20uploading%20the%20workbook%20now%20(apologies%20in%20advance%20for%20the%20style%20sheet%2C%20but%20I%20am%20dyslectic%20and%20the%20colours%20help%20me%20to%20quickly%20remind%20me%20the%20block%20of%20text%20on%20the%20tables%20and%20which%20columns%20have%20linked%2C%20calculated%2C%20output%20cells%2C%20etc.).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%2C%20I%20did%20unhide%20the%20columns%20to%20show%20the%20calculated%20cells%20on%20main%20sheet(tool)%20'Wiz'%2C%20Unfortunately%20due%20to%20time%20constraints%20I%20wasn't%20able%20to%20document%2Fcommented%20the%20workbook%20too%20much%2C%20but%20I%20am%20eager%20to%20start%20working%20on%20the%20issue%2C%20so%20I%20hope%20the%20sheet%20layout%20is%20fairly%20clear%20to%20understand.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdditional%20remarks%3A%3C%2FP%3E%3CP%3EI%20want%20to%20use%20the%20'RESINV'%20sheet%20to%20validate%20if%20there%20is%20inventory%20and%20which%20'slot'%20is%20on%20before%20allocating%20a%20pickface%3B%20hoping%20there%20is%20one%20available%20location%20closest%20to%20the%20reserve.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-622499%22%20slang%3D%22en-US%22%3ERe%3A%20I%20found%20the%20limit%20of%20my%20Excel%20knowledge%2C%20can%20I%20ask%20for%20some%20help%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-622499%22%20slang%3D%22en-US%22%3EI%20am%20closing%20this%20post%2C%20I%20guess%20was%20the%20wrong%20place%2C%20maybe%20not%20enough%20experts%2C%20not%20enough%20users%20or%20my%20post%20was%20unreadable%3B%20either%20way%20I%20found%20the%20solution%20by%20myself%2C%20so%20not%20the%20end%20of%20my%20Excel%20knowledge%20after%20all.%20Thank%20you%20for%20those%20who%20took%20the%20time%20to%20read%20it%20I%20guess.%3C%2FLINGO-BODY%3E
NEXTIA
New Contributor
Greetings,

Thanks, in advance to those who might be able to help. I'll make it as concise as I can while providing context when needed.

Scenario:
I work for a Distribution Centre with about 10,000 unique location in the warehouse (4 different sizes and storage capacity [full, half, quarter, and reserve]) from where order pickers collect and drivers replenish stock from stock reserves or just delivered to the inbound office.

Background:
I built an Excel workbook that uses sheets working as filters, and format the data into tables from where a series of formulas provide the user with an available location appropriate for the box size, stock quantity and gender (as the warehouse stores clothing). It is working relatively well considering the complexity, but I need to polish it and make one major improvement for it to be easy to work with.

Let me explain. I must allocate one location (a.k.a. Pickface) a day before fulfilling the orders so the forklift driver can put the stock from the reserves or goods-in area.

The problem:
Currently, the formulas provide me with a unique location. However, the pickface is provided in alphabetic order (no specific reason for the sorting choice, so it can change if the solution offered requires it) and this has a major impact on drivers' performance because sometimes they must travel from end to end of the warehouse (from reserve to pickface location) to replenish stock. I want to find a way for Excel to use another table where I have the reserve location(s) and provide the end user with the closest pickface available to the reserve location and not just the next one available from the list; unless the stock is on the inbound platform.

The formula:

Selection of unique location from the filtered table

=IF(AND($StockType="B",$LocationType="Full"),INDEX(FilteredLocationTypeFull, RANK.EQ(FilteredLocationTypeFull!D3, FilteredLocationTypeFull!D$3:D$1400,1) + COUNTIF(FilteredLocationTypeFull!$D$3:D3, FilteredLocationTypeFull!D3), 1) <== Repeats for all permutation of StockType & LocationType; a total of 5, nested on the same "IF" statement.

*"B" first letter of the stock group (B=Bulk, S=Singles)

Attempted solution:
I have tried using the vlookup function with the last parameter value of '1' which gives you the approximate match but that did not work as that makes the tool giving duplicate values.

Remarks:
Constraints
- The solution must be in Excel due to end users' lack of training on other PC software. However, I have strong foundations on VBA so if there is a script I can use, feel free to mention it.
- Using Excel 2010 without power query installed.

Any pointers on how to resolve it would be appreciated.
3 Replies
It's difficult, if not impossible, to imagine a suggested formula for you unless you attach your sample file with the manually entered results that you want to be returned by formulas.

@Twifoo 

Thank you for the reply, you are right. I am uploading the workbook now (apologies in advance for the style sheet, but I am dyslectic and the colours help me to quickly remind me the block of text on the tables and which columns have linked, calculated, output cells, etc.).

 

Anyway, I did unhide the columns to show the calculated cells on main sheet(tool) 'Wiz', Unfortunately due to time constraints I wasn't able to document/commented the workbook too much, but I am eager to start working on the issue, so I hope the sheet layout is fairly clear to understand.  

 

Additional remarks:

I want to use the 'RESINV' sheet to validate if there is inventory and which 'slot' is on before allocating a pickface; hoping there is one available location closest to the reserve.

 

Thank you again.

 

Solution
I am closing this post, I guess was the wrong place, maybe not enough experts, not enough users or my post was unreadable; either way I found the solution by myself, so not the end of my Excel knowledge after all. Thank you for those who took the time to read it I guess.
Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
201 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies