Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Join Tables

  • 27-07-2010 10:43am
    #1
    Closed Accounts Posts: 4


    Hi

    I'm trying join 3 tables together like the following :

    -edit : copy and paste didn't work, so here's image of what I mean
    tables.jpg

    Does anyone know a way (hopefully in MS excel) to do this?
    It would need to match the rows toghether, by the name.

    Thanks if anyone can help


Comments

  • Registered Users, Registered Users 2 Posts: 1,829 ✭✭✭lil_lisa


    I don't think MS Excel holds the ability to join tables. If I were you, I would look at storing everything in MS Access, after all it is a database program.


  • Registered Users, Registered Users 2 Posts: 8,070 ✭✭✭Placebo


    how big of a work is it to do manually?
    u could sort rows first. then export to csv

    then open it in notepad and copy paste it in.


  • Hosted Moderators Posts: 3,807 ✭✭✭castie


    Not a VBA expert but surely it would be possible using that?


  • Closed Accounts Posts: 17,208 ✭✭✭✭aidan_walsh


    Not really a web design question so bumping it to the Windows forum.


  • Moderators, Arts Moderators, Regional Abroad Moderators Posts: 11,107 Mod ✭✭✭✭Fysh


    I don't think that Excel will easily let you do that - it's more a database function than a spreadsheet function, tbh.

    Edited to add:
    I probably should've been clearer in this post - what you're looking to do is only scalable as a database operation, so you'll be better off getting your data into an Access database than trying to kludge a solution together in Excel. See here and here for some information from Microsoft about creating relationships between tables in Access.


  • Advertisement
  • Closed Accounts Posts: 23,718 ✭✭✭✭JonathanAnon


    I'm not sure what you are asking for ... Are you saying that you have a number of tables like the top three tables that you wish to combine into the format of the fourth (bottom) table ? If so, how many rows of records do you have.. ?


  • Registered Users, Registered Users 2 Posts: 1,772 ✭✭✭woolymammoth


    assuming that's just an example of what you mean, what are the actual tables like? how many rows & columns? ideally, your tables (all of them) should have rows for all of the people, whether the column is blank or not. that would make them easier to match up. are you trying to join different worksheets? If it's not a lot of data, then it will be quicker and easier to do it manually i reckon.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 93,583 Mod ✭✭✭✭Capt'n Midnight


    IF the names are unique you could use hlookup and vlookup to populate the bottom table

    creating column A with a unique entry for the names might be a little more difficult , but could be done with a script if you want to add new names

    or if you have newer versions of excel you could copy and paste the names and use conditional formatting to highlight duplicates and remove them manually

    it all depends on what this is to be used for, access licenses aren't cheap so be careful if you head down that path as an entire office will want a copy at the drop of a hat.

    openoffice has a database, but nowhere near as polished as Access yet


  • Registered Users, Registered Users 2 Posts: 5,150 ✭✭✭homer911


    Inside join? Outside join? Left join?

    What version of Excel? If you have 2010 with Power Pivot this would be easy


Advertisement