+ Reply to Thread
Results 1 to 2 of 2

Microsoft Query Combining sheets problem

  1. #1
    Registered User
    Join Date
    02-19-2014
    Location
    NC, USA
    MS-Off Ver
    2013
    Posts
    5

    Post Microsoft Query Combining sheets problem

    Hello, I have a spreadsheet with multiple sheets which I am trying to consolidate.

    The form is as below

    Sheet1
    ID Criteria1
    1 A
    1 B
    1 C
    2 D
    2 E
    2 F

    Sheet2
    ID Criteria2
    1 Z
    1 Y
    1 X
    2 W
    2 V
    2 U

    When combining using a Query, I link the ID's between the tables, but I get an out put like this:

    ID Criteria1 Criteria2
    1 A Z
    1 A Y
    1 A X
    1 B Z
    1 B Y
    1 B X
    1 C Z
    1 C Y
    1 C X
    2 D W
    2 D V
    2 D U
    etc.

    There are not necessarily the same number of lines for Criteria 1 and Criteria 2 and they don't relate to each other. I just need enough lines with the ID to contain whichever criteria has more

    Is there a way to eliminate all the redundancy? or is there another method? I have thousands of lines of records like this so manual manipulation isn't feasible.

    Thanks for any help.

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Microsoft Query Combining sheets problem

    You want all unique combinations of ID, Criteria1, and Criteria2?

+ 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. Common problem combining multiple sheets?
    By db8r in forum Excel General
    Replies: 3
    Last Post: 07-30-2009, 08:54 PM
  2. Importing Access query into Excel:Microsoft Query
    By ge0rge in forum Excel General
    Replies: 3
    Last Post: 04-02-2009, 10:51 AM
  3. [SOLVED] Microsoft Query
    By Eddie O in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 12:05 PM
  4. Combining Work Sheets/MS Query
    By Mark McWilliams in forum Excel General
    Replies: 1
    Last Post: 06-16-2005, 10:05 PM
  5. Microsoft Query rejects "nz" function in Access Query
    By Vaughan in forum Excel General
    Replies: 0
    Last Post: 05-04-2005, 01:06 PM

Tags for this Thread

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