+ Reply to Thread
Results 1 to 2 of 2

Combining Values in rows and keeping unique values (adv. filtering?)

  1. #1
    Registered User
    Join Date
    01-31-2009
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    66

    Combining Values in rows and keeping unique values (adv. filtering?)

    Hello All,

    This is pretty complicating to me. I'm pretty begining at VBA but I'm very sure this requires VBA code. Here's the deal:

    I have 5 databases of information that I analyze in Access by Joins of a product number. Each product can have a unique batch number, document number and storage location. Each product also has Order Quanitty values.

    What I've done so far is leave out unique values so that I can achieve "sum of order quantity."

    I have about 15 different queries and reports searching for different things but the problem is the same. I can't show the unique values without duplicating the product number. For example:

    HTML Code: 
    In access all I can get is:

    HTML Code: 
    I know I could export all these to excel then create pivot tables but I'm not going to make 15 privot tables every time I run this report and all of them are different in some way.

    What I want is:

    HTML Code: 
    These reports are about 2,200 rows when I have it with my current problem.

    I have Access generating the queries with the DoCmd.TransferSpreadsheet then it also formats the spreadsheets, arranges them for me and names the tabs by report. I'd like it to also do this "Advanced filtering" as well, if possible in Access when exporting to Excel.

    Help?
    Last edited by nguyeda; 05-26-2011 at 10:08 AM.

  2. #2
    Registered User
    Join Date
    01-31-2009
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: Combining Values in rows and keeping unique values (adv. filtering?)

    Is it possible to do a loop where we arrange A column in acending order, then select all rows equal to the row below it, merge those and do that until there are no more rows?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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