Closed Thread
Results 1 to 4 of 4

Macro to Group Part #s Together than Identify Those Pulled from Incorrect Bins

  1. #1
    Registered User
    Join Date
    08-02-2012
    Location
    Jacksonville, Florida
    MS-Off Ver
    Excel 2010
    Posts
    16

    Macro to Group Part #s Together than Identify Those Pulled from Incorrect Bins

    I need a macro to group my part #s together, than look from which bin they were pulled from and identify the ones that were pulled from different bins. See attached file for example.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Macro to Group Part #s Together than Identify Those Pulled from Incorrect Bins

    Hi mab1284,

    Try the attached file which (written and tested in Excel 2003):
    a. Sorts the data (ascending) by 'Part Number' and then by 'Bin Number'
    b. Paints the rows for 'every other' 'Part Number' blue
    c. Sets the font to red for each 'Part Number' that has 'Multiple Bins'.

    Even if you have little Macro experience the following items can be easily changed to customize the file:
    Please Login or Register  to view this content.
    I had problems matching your specific BLUE, since I only have access to Excel 2003, and your file may be using color features not available in Excel 2003. In the file is a Macro that will identify the RGB components of the color in the 'Active Cell' to help you customize the colors to your liking.

    Lewis
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-02-2012
    Location
    Jacksonville, Florida
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Macro to Group Part #s Together than Identify Those Pulled from Incorrect Bins

    Thank you. I will try to run the code and see what happens. Again, thank you so very much.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro to Group Part #s Together than Identify Those Pulled from Incorrect Bins

    Thread posted in CS forum, hence closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Vlookup throwing incorrect value when pulled up
    By smvsiyer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-28-2014, 01:54 AM
  2. [SOLVED] How to identify the minimum of a group
    By j_Southern in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2013, 07:17 PM
  3. [SOLVED] How to identify a group of cells that sum to a given value
    By j_Southern in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-22-2013, 09:03 AM
  4. [SOLVED] Need a Formula to identify incorrect data entries
    By Steve N. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2013, 02:41 PM
  5. [SOLVED] How do I identify cells that contain part of phrase?
    By T Perry in forum Excel General
    Replies: 3
    Last Post: 05-23-2006, 03:20 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