+ Reply to Thread
Results 1 to 4 of 4

Concatenating (?) words from an MSAccess crosstab query

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

    Concatenating (?) words from an MSAccess crosstab query

    Hi, I have data from a MS Access crosstab query that I need to concatenate into a meaningful group of words. This table shows inventory numbers and the colors that are associated to those inventory numbers. What I need to do is somehow concatenate the words into a meaningful phrase. i.e., colors: red blue white needs to read: red, blue & white. Some will have only one color and some will have more, so I calculated the count of the colors and can assign them a specific syntax. What I am having problems with is getting the color names together easily so that I can arrange them in a meaningful way. Any help would be appreciated. Please see attached workbook for reference. TIA
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Concatenating (?) words from an MSAccess crosstab query

    Hi there,

    Take a look at the attached version of your workbook, click on the "Show Available Colours" button in Cell AB1, and see if it does what you need.

    It uses the following code:

    Please Login or Register  to view this content.
    The highlighted values may be altered to suit your own requirements.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

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

    Re: Concatenating (?) words from an MSAccess crosstab query

    Greg M,

    This is perfect! Thank you so very much! Exactly what I need!

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Concatenating (?) words from an MSAccess crosstab query

    Hi again,

    Many thanks for your feedback.

    You're welcome - glad I was able to help.

    Regards,

    Greg M

+ 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. Crosstab Query for Sum of Time field
    By jeevanuae in forum Access Tables & Databases
    Replies: 2
    Last Post: 05-31-2016, 01:36 PM
  2. Help with union query of two crosstab queries
    By racefan91 in forum Access Tables & Databases
    Replies: 1
    Last Post: 09-25-2013, 04:02 PM
  3. Child form update based on crosstab query
    By Journeyman3000 in forum Access Tables & Databases
    Replies: 1
    Last Post: 08-07-2013, 11:40 PM
  4. External Data - Crosstab Query Access
    By RobLmrcpvf in forum Excel General
    Replies: 2
    Last Post: 06-28-2011, 12:44 PM
  5. Date Order in Crosstab Query
    By aftabn10 in forum Access Tables & Databases
    Replies: 11
    Last Post: 03-24-2011, 02:58 PM
  6. Replies: 1
    Last Post: 03-08-2011, 12:31 PM
  7. ComboBox Form for CrossTab Query filtering
    By AFSSkier in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-20-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