Results 1 to 12 of 12

Thread: Request for assistance - Data comparison tool?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Exclamation Request for assistance - Data comparison tool?

    Ok guys, I'm having a bit of a problem, maybe you can help.

    I have a spreadsheet with a list of units, and a list of provinces. Each row is a unit, and each column is a province. In every province the unit may be recruited, I have an 'x.'

    What I need to do is compare these rows against each other, and come up with groupings where the provinces don't overlap. Let me explain:

    Unit U can be recruited in provinces A, B, and C.
    Unit V can be recruited in provinces D, E, and F.
    Unit W can be recruited in provinces G, H, and I.
    Unit X can be recruited in provinces A and F.
    Unit Y can be recruited in provinces B and H.
    Unit Z can be recruited in provinces E, F, and I.

    I need to group as many together as I can. So group 1 will have units U, V, and W. Group 2 will have units X and Y, and group 3 will have unit Z.

    Now let's assume I have 200 units, and 200 provinces. Trying to match them into groups by eyeballing a comparison is tiring, tedious, and extremely time consuming. Does anyone know of any way using Excel, or by exporting to another program, that I can run this comparison automatically? To find the most efficient way to stick these units together in groups?

    Thanks!
    Cogita tute


  2. #2
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Request for assistance - Data comparison tool?

    Failing finding a program to do it, if someone has the time and inclination to help me complete this before the weekend is out, I could use the help.
    Cogita tute


  3. #3

    Default Re: Request for assistance - Data comparison tool?

    If I were to do this, I would export the data to a program like Matlab and write a little algorithm to find a solution to the problem. I don't think Excel has enough tools to solve a problem like this, but I not an Excel expert.

    About the problem: you're aware that the problem as you stated it has multiple solutions? In the example, for example, the grouping {U, Z}, {V, Y} and {W, X} is another solution that only has 3 groups. I don't know if this is an issue though (because I have no clue where you need the groupings for).

    I'm more than willing to help you out on this, as I have the required tools, knowledge and time (and love for EB ).

  4. #4
    graduated non-expert Member jerby's Avatar
    Join Date
    Oct 2004
    Location
    ..your not my mother..
    Posts
    1,414

    Default Re: Request for assistance - Data comparison tool?

    and a new member was born

  5. #5
    Arbeit macht fleisch Member ScionTheWorm's Avatar
    Join Date
    May 2005
    Location
    Norwegen
    Posts
    778

    Default Re: Request for assistance - Data comparison tool?

    I guess Batahr is already helping, but if not I can easily do it. Just press the PM

  6. #6

    Default Re: Request for assistance - Data comparison tool?

    I am going to assume that each spreadsheet represents a faction and that the grouping is a third category qualifier, most likely your building complex recruitment criteria.

    The question is: Do you need the grouping to occur within the province data category, or do you need it to occur across the spreadsheet?


    I have time available if you need a slave. I work only two days in the next week and have a break before my last class.

    "Great spirits have always encountered violent opposition from mediocre minds." -Einstein

    Quote Originally Posted by Pannonian View Post
    The Backroom is the Crackroom.

  7. #7
    Speaker of Truth Senior Member Moros's Avatar
    Join Date
    Jan 2005
    Location
    Belgium
    Posts
    13,469

    Default Re: Request for assistance - Data comparison tool?

    Quote Originally Posted by khelvan
    Ok guys, I'm having a bit of a problem, maybe you can help.

    I have a spreadsheet with a list of units, and a list of provinces. Each row is a unit, and each column is a province. In every province the unit may be recruited, I have an 'x.'
    ...
    Thanks!
    I don't understand what you're trying to say but what progral do you use or in what type of file is the data stored, .txt?

  8. #8
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Request for assistance - Data comparison tool?

    The second scenario Divinus Arma describes is most accurate. I'll see if I can use the option to group things appropriately.

    If not, please contact me via PM if anyone thinks they can handle this problem quickly and efficiently.
    Cogita tute


  9. #9

    Default Re: Request for assistance - Data comparison tool?

    Khelvan and Co,

    I sent you a couple emails. I have a few important questions to confirm that I understand the grouping correctly. I can't really dig in until I get these questions answered. And I sure as hell won't post the questions here. I like to keep my balls, thanks very much.

    I would have used the hidden forum, but I am not a member.

    Thank you. Proud to help.
    "Great spirits have always encountered violent opposition from mediocre minds." -Einstein

    Quote Originally Posted by Pannonian View Post
    The Backroom is the Crackroom.

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
  •  
Single Sign On provided by vBSSO