+ Reply to Thread
Results 1 to 11 of 11

Combining more than one color per inventory number

  1. #1
    Banned User!
    Join Date
    03-18-2014
    Location
    Louisiana
    MS-Off Ver
    Excel 365
    Posts
    56

    Combining more than one color per inventory number

    Is there any type of formula that would allow me to make the below example.1 into example.2 or example.3?

    example.1
    Inv# Color
    ADJ4 White
    ADJ4 Blue
    ADJ4 Red
    ADJ4 Silver
    ADJ5 Blue
    ADJ5 Black
    ADJ6 Silver

    example.2
    Inv# Color1 Color2 Color3
    ADJ4 White Blue Red
    ADJ5 Blue Black
    ADJ6 Silver

    >>> OR <<<

    example.3
    Inv# Colors
    ADJ4 White, Blue, & Red
    ADJ5 Blue, & Black
    ADJ6 Silver

    TIA

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Combining more than one color per inventory number

    What is the maximum number of colors any one Inv# can have?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Banned User!
    Join Date
    03-18-2014
    Location
    Louisiana
    MS-Off Ver
    Excel 365
    Posts
    56

    Re: Combining more than one color per inventory number

    Four at most

  4. #4
    Banned User!
    Join Date
    03-18-2014
    Location
    Louisiana
    MS-Off Ver
    Excel 365
    Posts
    56

    Re: Combining more than one color per inventory number

    It would also work with an MS Access crosstab query results (see attached)
    Last edited by roxdrob01; 08-02-2019 at 09:39 PM.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Combining more than one color per inventory number

    Here is a Power Query Solution. The following is the Mcode and I have attached the file for your review.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Banned User!
    Join Date
    03-18-2014
    Location
    Louisiana
    MS-Off Ver
    Excel 365
    Posts
    56

    Re: Combining more than one color per inventory number

    Thank you so much. That looks impressive but I have no idea what to do with it. Where do I plug in the code?

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Combining more than one color per inventory number

    Look at my signature and there are two links to learn about Power Query.

  8. #8
    Banned User!
    Join Date
    03-18-2014
    Location
    Louisiana
    MS-Off Ver
    Excel 365
    Posts
    56

    Re: Combining more than one color per inventory number

    Thank you. I've been googling.

  9. #9
    Banned User!
    Join Date
    03-18-2014
    Location
    Louisiana
    MS-Off Ver
    Excel 365
    Posts
    56

    Re: Combining more than one color per inventory number

    This is great but I think maybe I didn't explain what I was looking for enough.

    I would want the colors in a phrase like "blue, black & green" or "yellow & beige" or at most "red, white, blue & silver". Does that make more sense? Like taking what you did, then concatenating it. Where my breakdown comes in is that it's not definite how many colors will appear in the phrase...one, two, three or four.

  10. #10
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Combining more than one color per inventory number

    Please try Power query
    for Result
    Please Login or Register  to view this content.
    for Crosstab

    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Banned User!
    Join Date
    03-18-2014
    Location
    Louisiana
    MS-Off Ver
    Excel 365
    Posts
    56

    Re: Combining more than one color per inventory number

    This is great! Thanks 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. How to attach inventory number to a value
    By zaibuojantis in forum Excel General
    Replies: 4
    Last Post: 11-16-2018, 12:26 AM
  2. Searching for Inventory Number in a String
    By roxdrob01 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-12-2017, 11:28 PM
  3. [SOLVED] Combining Methods (Counting Color Formatting)
    By ELeGault in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-28-2015, 03:27 PM
  4. [SOLVED] Combining two inventory listings with a twist!
    By IanSalmon in forum Excel General
    Replies: 6
    Last Post: 11-14-2014, 05:33 PM
  5. Combining pdfs and removing the color.
    By jstephens in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-30-2013, 07:17 PM
  6. Number of Days (Sales) Inventory
    By mud_shark in forum Excel General
    Replies: 6
    Last Post: 02-24-2010, 02:24 AM
  7. pulling inventory number from a range
    By oddcarout in forum Excel General
    Replies: 3
    Last Post: 06-10-2009, 06:09 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