+ Reply to Thread
Results 1 to 14 of 14

Ordering one table by the rules from another table

Hybrid View

  1. #1
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Ordering one table by the rules from another table

    Quote Originally Posted by sulin360 View Post
    Sorry, I missed it completely!

    The solution almost works, however the formula produces anomalies when it deals with two ordering possibilities. E.g. if you look at rows 8 and 20 the solution is 50-67<->44-86 (where 67 and 44 are interchangeable), but the formula results in double 67s, which is not in the original data.
    Hi,

    OK, here's a mod which now picks up and allows for there being duplicate values in a row.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  2. #2
    Registered User
    Join Date
    06-27-2013
    Location
    Coventry, England
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Ordering one table by the rules from another table

    Hi, thanks for your help, Richard.

    Is there a way to allow for such duplicates in the other places? The data I'll be restructuring has over 12000 rows, so I'm sure there will be all sorts of possible permutations of such anomalies. Here is your file where I made up some data to reveal problems with code.
    Attached Files Attached Files

+ 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] Ordering chronologically in a pivot table
    By Falc in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 07-30-2013, 09:11 AM
  2. Alphabeltical ordering in table - results don't make sens
    By studiosa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-30-2013, 11:10 AM
  3. Replies: 0
    Last Post: 10-13-2011, 06:31 PM
  4. Excel 2007 : Ordering Conditional Format Rules
    By jahteacher in forum Excel General
    Replies: 0
    Last Post: 09-28-2011, 09:01 PM
  5. Replies: 7
    Last Post: 01-09-2006, 01:45 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