+ Reply to Thread
Results 1 to 3 of 3

Question on ordering and manual overrides

  1. #1
    Registered User
    Join Date
    10-16-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2011 Mac
    Posts
    13

    Question on ordering and manual overrides

    Hi!

    I am interested in creating a formula (or macro if necessary) to change a list of numbers that indicate order based on a manual override. I have attached an example spreadsheet. For each category, there should be sequential numbers for all of the colors within that category, starting at 1 (for example, for primary colors, blue is 1, yellow is 2, and red is 3). But there is a manual override for some of them (e.g., I actually want blue to appear 3rd). How can I write formulas or VBA to get to a "finalized order" that takes into account the manual overrides and the constraint that there must be consecutive numbers starting at 1 (e.g., changing yellow to 1, red to 2, and blue to 3)?

    Example ordering issue.xlsx

    I have been scouring the internet, but haven't been able to find anything relevant; nevertheless please feel free to direct me somewhere if you know of a helpful resource.

    Thanks!!

  2. #2
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Question on ordering and manual overrides

    Hi
    Can you try this spreadsheet.
    It is done by means of a simple macro
    I hope it's what you are looking for
    Attached Files Attached Files
    Barriers are there for those who don't want to dream

  3. #3
    Registered User
    Join Date
    10-16-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2011 Mac
    Posts
    13

    Re: Question on ordering and manual overrides

    Thank you so much!

+ 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. Replies: 2
    Last Post: 06-04-2014, 05:28 PM
  2. VBA Ordering User form for Purchase Ordering.
    By caf20012 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-10-2014, 01:50 PM
  3. Pop-up to make overrides
    By JessicaW in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2012, 01:20 PM
  4. Running Macro Overrides Manual Commands
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-30-2010, 04:25 PM
  5. Ordering Question
    By jason500 in forum Excel General
    Replies: 8
    Last Post: 01-06-2010, 12:20 PM
  6. Manual Cross Tabulation - Pivot Table Question
    By ktfish14 in forum Excel General
    Replies: 1
    Last Post: 03-05-2008, 06:50 AM
  7. a data ordering question
    By 無聊的路人甲 in forum Excel General
    Replies: 1
    Last Post: 08-17-2006, 12:25 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