Results 1 to 116 of 116

Searching and comparing data from multiple sources with non-contiguous "headers"

Threaded View

escribblings Searching and comparing data... 11-01-2019, 10:11 AM
escribblings Re: Searching and comparing... 11-01-2019, 09:36 PM
escribblings Re: Searching and comparing... 11-03-2019, 08:33 AM
AliGW Re: Searching and comparing... 11-03-2019, 08:37 AM
escribblings Yes, it's the master I'm... 11-03-2019, 09:27 AM
AliGW Re: Searching and comparing... 11-03-2019, 09:30 AM
escribblings I'm open to any approach. ... 11-03-2019, 09:31 AM
AliGW Re: Searching and comparing... 11-03-2019, 09:41 AM
escribblings Re: Searching and comparing... 11-03-2019, 09:50 AM
AliGW Re: Searching and comparing... 11-03-2019, 09:54 AM
escribblings Re: Searching and comparing... 11-03-2019, 09:59 AM
AliGW Re: Searching and comparing... 11-03-2019, 10:00 AM
escribblings Re: Searching and comparing... 11-03-2019, 10:09 AM
AliGW Re: Searching and comparing... 11-03-2019, 10:10 AM
escribblings Re: Searching and comparing... 11-03-2019, 10:15 AM
AliGW Re: Searching and comparing... 11-03-2019, 10:46 AM
escribblings Re: Searching and comparing... 11-03-2019, 10:52 AM
zzzeddy Re: Searching and comparing... 11-03-2019, 12:47 PM
AliGW Re: Searching and comparing... 11-03-2019, 11:13 AM
escribblings Re: Searching and comparing... 11-03-2019, 11:43 AM
AliGW Re: Searching and comparing... 11-03-2019, 11:57 AM
escribblings Re: Searching and comparing... 11-03-2019, 12:56 PM
escribblings Re: Searching and comparing... 11-03-2019, 02:29 PM
zzzeddy Re: Searching and comparing... 11-04-2019, 05:41 AM
escribblings Re: Searching and comparing... 11-03-2019, 02:49 PM
escribblings Re: Searching and comparing... 11-03-2019, 07:37 PM
zzzeddy Re: Searching and comparing... 11-04-2019, 05:48 AM
escribblings Re: Searching and comparing... 11-04-2019, 05:54 AM
escribblings Just in case you hadn't... 11-04-2019, 06:10 AM
zzzeddy Re: Searching and comparing... 11-04-2019, 01:09 PM
escribblings Re: Searching and comparing... 11-04-2019, 01:22 PM
escribblings Re: Searching and comparing... 11-04-2019, 03:54 PM
escribblings Re: Searching and comparing... 11-04-2019, 06:06 PM
escribblings Re: Searching and comparing... 11-04-2019, 07:03 PM
escribblings Re: Searching and comparing... 11-04-2019, 08:20 PM
escribblings Re: Searching and comparing... 11-04-2019, 09:29 PM
zzzeddy Re: Searching and comparing... 11-05-2019, 06:11 AM
escribblings Gave it a quick spin - the... 11-05-2019, 07:48 PM
escribblings Re: Searching and comparing... 11-05-2019, 06:36 AM
escribblings Re: Searching and comparing... 11-06-2019, 06:39 AM
zzzeddy Re: Searching and comparing... 11-07-2019, 02:54 PM
escribblings Re: Searching and comparing... 11-07-2019, 03:57 PM
zzzeddy Re: Searching and comparing... 11-07-2019, 04:13 PM
escribblings Re: Searching and comparing... 11-07-2019, 08:40 PM
escribblings Re: Searching and comparing... 11-07-2019, 09:03 PM
escribblings Re: Searching and comparing... 11-08-2019, 06:56 AM
zzzeddy Re: Searching and comparing... 11-08-2019, 08:06 AM
escribblings Re: Searching and comparing... 11-08-2019, 11:37 AM
escribblings Re: Searching and comparing... 11-08-2019, 04:04 PM
zzzeddy Re: Searching and comparing... 11-09-2019, 08:30 AM
escribblings Re: Searching and comparing... 11-09-2019, 09:20 AM
zzzeddy Re: Searching and comparing... 11-09-2019, 12:28 PM
escribblings Re: Searching and comparing... 11-09-2019, 03:05 PM
escribblings Re: Searching and comparing... 11-10-2019, 08:44 AM
escribblings Re: Searching and comparing... 11-11-2019, 09:17 PM
zzzeddy Re: Searching and comparing... 11-12-2019, 01:05 PM
zzzeddy Re: Searching and comparing... 11-12-2019, 01:07 PM
escribblings Re: Searching and comparing... 11-12-2019, 01:33 PM
escribblings Re: Searching and comparing... 11-16-2019, 08:06 AM
zzzeddy Hi I'm on the Transpenine... 11-17-2019, 10:33 AM
escribblings Re: Searching and comparing... 11-17-2019, 02:45 PM
zzzeddy Re: Searching and comparing... 11-18-2019, 05:44 AM
escribblings Re: Searching and comparing... 11-18-2019, 08:22 AM
zzzeddy On the plane ready for... 11-18-2019, 08:52 AM
escribblings Re: Searching and comparing... 11-19-2019, 03:03 AM
escribblings Re: Searching and comparing... 11-19-2019, 03:42 AM
escribblings Re: Searching and comparing... 11-19-2019, 09:34 PM
zzzeddy Re: Searching and comparing... 11-19-2019, 09:38 PM
escribblings Re: Searching and comparing... 11-19-2019, 10:14 PM
escribblings Re: Searching and comparing... 11-20-2019, 06:46 AM
escribblings Re: Searching and comparing... 11-20-2019, 04:24 PM
zzzeddy Re: Searching and comparing... 11-21-2019, 09:53 PM
escribblings Re: Searching and comparing... 11-22-2019, 06:41 AM
escribblings Re: Searching and comparing... 11-25-2019, 02:22 PM
zzzeddy Re: Searching and comparing... 11-25-2019, 03:50 PM
escribblings Re: Searching and comparing... 11-25-2019, 04:47 PM
zzzeddy Re: Searching and comparing... 11-27-2019, 08:23 AM
escribblings Re: Searching and comparing... 11-27-2019, 09:09 AM
zzzeddy Ok, gotcha I'm under a... 11-27-2019, 11:10 AM
escribblings Re: Searching and comparing... 11-27-2019, 12:18 PM
zzzeddy Re: Searching and comparing... 11-27-2019, 04:15 PM
escribblings Re: Searching and comparing... 11-27-2019, 04:46 PM
escribblings Re: Searching and comparing... 11-27-2019, 06:46 PM
escribblings Re: Searching and comparing... 11-27-2019, 09:12 PM
zzzeddy Re: Searching and comparing... 11-28-2019, 08:26 AM
escribblings Re: Searching and comparing... 11-28-2019, 09:38 AM
zzzeddy Hi I clicked the links but... 11-28-2019, 10:39 AM
escribblings Re: Searching and comparing... 11-28-2019, 12:24 PM
escribblings Re: Searching and comparing... 11-28-2019, 12:27 PM
escribblings Re: Searching and comparing... 11-28-2019, 12:30 PM
escribblings Re: Searching and comparing... 11-28-2019, 12:34 PM
escribblings Re: Searching and comparing... 11-30-2019, 05:17 PM
escribblings Re: Searching and comparing... 11-30-2019, 07:46 PM
escribblings Re: Searching and comparing... 11-30-2019, 07:56 PM
escribblings Re: Searching and comparing... 12-01-2019, 04:52 AM
zzzeddy Re: Searching and comparing... 12-01-2019, 08:26 AM
escribblings Re: Searching and comparing... 12-01-2019, 08:33 AM
escribblings Re: Searching and comparing... 12-01-2019, 05:52 PM
zzzeddy Re: Searching and comparing... 12-02-2019, 08:17 AM
escribblings Thanks, enjoy the nothingness. 12-02-2019, 09:42 AM
zzzeddy Re: Searching and comparing... 12-03-2019, 04:10 PM
escribblings Re: Searching and comparing... 12-03-2019, 04:13 PM
escribblings Re: Searching and comparing... 12-03-2019, 04:45 PM
zzzeddy Re: Searching and comparing... 12-03-2019, 06:03 PM
escribblings Re: Searching and comparing... 12-03-2019, 06:19 PM
escribblings Re: Searching and comparing... 12-04-2019, 12:52 PM
zzzeddy Re: Searching and comparing... 12-04-2019, 03:04 PM
escribblings Re: Searching and comparing... 12-04-2019, 04:14 PM
zzzeddy Re: Searching and comparing... 12-05-2019, 07:58 AM
escribblings Re: Searching and comparing... 12-05-2019, 11:34 AM
zzzeddy Re: Searching and comparing... 12-05-2019, 05:21 PM
zzzeddy Re: Searching and comparing... 12-05-2019, 05:14 PM
escribblings Re: Searching and comparing... 12-05-2019, 07:21 PM
escribblings Re: Searching and comparing... 12-07-2019, 06:06 PM
zzzeddy If it wasn't for bad luck I... 12-08-2019, 11:51 AM
escribblings Re: Searching and comparing... 12-08-2019, 05:45 PM
  1. #1
    Forum Contributor
    Join Date
    09-28-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    106

    Searching and comparing data from multiple sources with non-contiguous "headers"

    Firstly, I will apologise for the lack of any "working" example. I wasn't sure how to present it.

    Also, I'm hoping that this can be completed using worksheet formulas, CSE formulas if necessary - but avoiding VBA if possible, because Ihave no clue about VBA - however, if VBA is the only viable option, it will have to do.

    To start - my source data is exported from 3rd party software, I need to do as little with the source as possible to make this non-technical-end-user friendly.

    Problem #1 - locate a value based on its position in a matrix and then return this value to a master matrix.

    In my poor example, there are 3 source matrix's (ABC, ABD & ACD) and 1 master matrix (ABCD)

    Assuming I wanted to find the value that intersects A & B I want to be able to do an INDEX MATCH MATCH on the source data.

    The source uses the same values for both the X & Y coordinates in the matrix. In my export data, the staring cell for the "headers" is always B2. The headers for each row/column appear at the top of the column and end of the row, forming a diagonal. The total number of headers varies from sheet to sheet, but always follow the pattern B2,C3,D4,...,X24,Y25,Z26

    The problem is MATCH will only work with a contiguous range. I *can* put in a "helper" row/column, but want to avoid this if possible as I'll have to add it to all the source files manually, as will anyone who comes after me. So if there's anyway to convert the non-contiguous array of cells to a virtual range, or trick Excel into thinking that, withing a worksheet formula I'm all ears.

    Otherwise I have this working with "helper" rows/columns.



    The second part of the problem is checking multiple sheets and returning every match. Ideally I will be dropping the sheets as complete workbooks into a folder, and I'm hoping to be able to search all files within that folder. I know I can do this by explicitly referencing the file and sheet names, but I would like the formula to be dynamic and just search everything in the target folder. Worst case scenario, the sheets can be imported into the master workbook, in which case it just needs to search all the sheets barring the master sheet.

    Every result should be returned into the same cell, with a refernce to which sheet it came from. So in theory the INDEX MATCH MATCH should return the contents of a specific cell within the sheet that identifies the sheet AND data at the intersection in the format ID, VALUE;

    Obviously I am going to have to CONCATINATE the results to get them in the same cell.

    To prevent returning results from sheets that have only 1 or 0 matches to the MATCH criteia, I presume I am going to need some form of conditional statement like IF, SUMIF, or COUNTIF - not that I'm overly sure how to implement the latter.




    Lastly - as if I'm not asking too much from Excel and you guys already - I would like duplicate results to only be listed once, but with all the sheet IDs against them

    Going back to my "Poor Example" - we have the following values

    ABC
    A,B = 10
    A,C = 20
    B,C = 10

    ABD
    A,B = 10
    A,D = 25
    B,D = 15

    ACD
    A,C = 15
    A,D = 30
    C,D = 15

    This should return the following in ABCD

    A,B = ABC, ABD 10;
    A,C = ABC 20; ACD 15;
    A,D = ABD 25; ACD 30;
    B,C = ABC 10;
    B,D = ABD 15;
    C,D = ACD 15;
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sum data from multiple sources based on rows and column headers
    By rogclark in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2019, 11:32 AM
  2. Searching through a non-contiguous range
    By VBAClueless in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2016, 09:41 AM
  3. [SOLVED] Copying (non-contiguous) headers to next sheet: errors with Union method
    By k64 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2013, 12:07 PM
  4. [SOLVED] How to delete multiple contiguous (and/or) non-contiguous rows, in an excel table
    By jimmalk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-03-2012, 05:48 AM
  5. Searching non consecutive or contiguous words
    By wvollbon in forum Excel General
    Replies: 0
    Last Post: 01-31-2012, 07:35 PM
  6. Replies: 0
    Last Post: 12-12-2011, 07:27 PM
  7. searching for data from two sources
    By duckhunter2847 in forum Excel General
    Replies: 5
    Last Post: 05-15-2009, 02:27 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