Go Back  FlyerTalk Forums > Travel&Dining > Travel Technology
Reload this Page >

Excel Clinic - Adding a Connection to a Table

Community
Wiki Posts
Search

Excel Clinic - Adding a Connection to a Table

Thread Tools
 
Search this Thread
 
Old Apr 24, 2021 | 2:14 pm
  #1  
Original Poster
FlyerTalk Evangelist
Conversation Starter
All eyes on you!
20 Years on Site
 
Join Date: Nov 2002
Location: ORD
Posts: 14,771
Excel Clinic - Adding a Connection to a Table

I have an existing table in Excel (not a pivot table, just a regular table) that I've been updating by pasting in the contents of a similar table I download periodically from a reporting site. I now have the ability to access the same data directly from an Oracle database. How do I modify the existing table in Excel to pull data from the db? I know how to make the db connection. But there doesn't seem to be a way to add a connection to an existing table. I don't want to create a new connection and new table, and delete the old one, because it'll invalidate all the formulas throughout the workbook that refer to the existing table.
gfunkdave is offline  
Old Apr 24, 2021 | 3:58 pm
  #2  
100k
20 Nights
20 Countries Visited
All eyes on you!
 
Join Date: Nov 1999
Location: ABQ
Programs: SPEBSQSA
Posts: 3,794
I've run into the same issue with connections to SAS datasets (in pivot tables and tables.) Unfortunately, I did not find a way. I had to create a new table and then point the calculations to the new table. You can often do this as a global change in the worksheet(s) with the formulas, but not always. I'll be paying attention to see if someone has a solution.
AZ_MISMAN is online now  
Old Apr 26, 2021 | 9:57 am
  #3  
Original Poster
FlyerTalk Evangelist
Conversation Starter
All eyes on you!
20 Years on Site
 
Join Date: Nov 2002
Location: ORD
Posts: 14,771
Someone on Reddit showed me the way.

https://www.reddit.com/r/excel/comme...tspw/_/grmjnnw
AZ_MISMAN likes this.
gfunkdave is offline  
Old Apr 26, 2021 | 10:27 am
  #4  
100k
20 Nights
20 Countries Visited
All eyes on you!
 
Join Date: Nov 1999
Location: ABQ
Programs: SPEBSQSA
Posts: 3,794
Thanks; I'll have to try that next time.
AZ_MISMAN is online now  
Old Apr 26, 2021 | 6:31 pm
  #5  
FlyerTalk Evangelist
All eyes on you!
20 Years on Site
 
Join Date: Jun 2002
Location: n.y.c.
Posts: 14,059
Power Query is the way to go. You can also use your existing table as a PQ data source, then append it to the Oracle data source, before bringing it back into Excel, if it needs to be seamless to the end-user (Power Query can merge/append/join, etc).
nerd is offline  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.