+ Reply to Thread
Results 1 to 5 of 5

Items Out Of Sequence.

Hybrid View

  1. #1
    Registered User
    Join Date
    04-19-2011
    Location
    Leeds
    MS-Off Ver
    Excel 365
    Posts
    50

    Items Out Of Sequence.

    Hi,

    I have a list of store orders that should be picked in store sequence but unfortunately are not 100%.
    I need to summarise the compliance of these orders but am struggling to calculate it correctly.
    It is fairly simple to manually look through the list and mark any non-compliant items but I have tens of thousands of rows to go through each day.
    I attach a simplified version to help paint the picture.

    Thanks, Feastie.
    Attached Files Attached Files
    There's always a way.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Items Out Of Sequence.

    As a starting point try in D4:
    =IF(AND(C4>=MAX(C$3:C3),C4>MIN(C5:C$68)),"x","")
    Almost out of 11 manually spotted formula identified 8 (but 1 "extra")

    so may be:
    =IF(AND(COUNTIF($C$3:$C$68,C4)>1,C3<>C4,C5<>C4),"x","")
    10 out of 11 (but here 4 extra)

    or may be
    =IF(AND(C4>=MAX(C$3:C3),C4>MIN(C5:C$68)),IF(AND(C3<=C4,C4<=C5),"","x"),"")
    (7/0)

    or:
    =IF(AND(COUNTIF($C$3:$C$68,C4)>1,C3<>C4,C5<>C4),IF(AND(C3<=C4,C4<=C5),"","x"),"")
    (10/2)

    Generally - the rules are not so obviuos for me, because instead of
    1	
    2	x
    1	
    2	x
    1	
    1
    one could probably mark
    1	
    2
    1	x	
    2	
    1	x	
    1	x
    as it also follows:
    Orders should be picked in ascending order, not necessarily sequentially. (e.g. 1,2,5,6 is fine)
    Product types (Required Sequence) should be grouped (i.e. all 1s together, all 2s together etc.)
    May be I am wrong, but to say it different way: the manual marking is based not on "fully objective rule" but a bit influenced by "perceived grouping of data" and the logics of human perception is not so easy to incorporate in excel formulas.

    See attachement - may be this will push things a but further
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-19-2011
    Location
    Leeds
    MS-Off Ver
    Excel 365
    Posts
    50

    Re: Items Out Of Sequence.

    Thanks Kaper - I agree that the way I have 'Manually Identified' deviants could be classed as subjective however, there must be an objective rule that can be applied in this instance - that's the part I'm struggling with though. Thanks for your help
    Last edited by Feastie; 01-21-2014 at 08:09 AM. Reason: Missed recipient at beginning.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Items Out Of Sequence.

    Maybe a Pivot Table like this would help you out.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    04-19-2011
    Location
    Leeds
    MS-Off Ver
    Excel 365
    Posts
    50

    Re: Items Out Of Sequence.

    Thanks Newdoverman,

    it doesn't give me the answer but it certainly gave me another way of attacking it. This very nicely shows me a grouping by 'Required Sequence' but that could have been obtained by sorting by 'Required Sequence'. None the less, a star is deserved for your help. Thanks.

+ 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] VBA copies rows based on specific items in a column but need to rename items created
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-06-2013, 11:38 PM
  2. [SOLVED] Creating a sequence based on numbers in one column and adding "01,02..." to a new sequence
    By JCR1968 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2013, 08:06 AM
  3. Replies: 0
    Last Post: 12-12-2012, 06:39 PM
  4. Identify Items, Sort those Items, Copy the Items
    By a1981stingray in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2010, 10:50 AM
  5. Replies: 1
    Last Post: 06-24-2005, 12:21 AM

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