+ Reply to Thread
Results 1 to 5 of 5

Linking a dynamic database

  1. #1
    Registered User
    Join Date
    07-11-2013
    Location
    Providence, RI
    MS-Off Ver
    Excel 2010
    Posts
    4

    Question Linking a dynamic database

    I have a database of data that I want to copy and paste (link) to a new sheet where I can manipulate the data to a more readable form. However, the database does not have a set number of cells and updates regularly (the reason why it needs to be linked). The database changes size on a daily basis either shrinking or expanding. Is there a way to link the database even though it need to be a dynamic range?

  2. #2
    Forum Contributor
    Join Date
    08-17-2009
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Linking a dynamic database

    Use microsoft query. It is the perfect tool for this. On your ribbon on the data tab select get external data from other sources. Then choose microsoft query. You will have to select the driver based on what database you are trying to import from.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Linking a dynamic database

    It doesnt need tyo be a dynamic range. You can set up the formula on sheet2 to reference the data on sheet1 in such a way that if there is no data in a cell in sheet1, it will show "nothing" in sheet2. something like....

    =if(sheet1!A2="","",sheet1!A2)
    copied down and across
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-11-2013
    Location
    Providence, RI
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Linking a dynamic database

    Quote Originally Posted by Dave H View Post
    Use microsoft query. It is the perfect tool for this. On your ribbon on the data tab select get external data from other sources. Then choose microsoft query. You will have to select the driver based on what database you are trying to import from.
    Will the query table update automatically when the document is opened?

  5. #5
    Forum Contributor
    Join Date
    08-17-2009
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Linking a dynamic database

    You have options to automaticlly refresh or manually refresh.

+ 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