Is this possible in excel?

PATSYS

Well-known Member
Joined
Mar 12, 2006
Messages
1,750
Is it possible to, say, maintain a database in separate workbook. Then create a UDF that will just pick data from that database based on certain parameters defined in the UDF like YEAR, Account, Entity?

For example, I have all financial data in the database from year 2000-2006. If I use the UDF, say =specialfunction(2005,110000,Company1), then it will just return the corresponding value from the database?

I am just asking if this is possible in excel and if so, just a broad idea of how difficult is it to set up.

Thanks.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Take a look at the DGET, DSUM, DAVERAGE functions. They should give you what you need....although unless it's going to be a pretty small data set you'd probably be better off going with Access.
 
Upvote 0
Thanks but I was actually thinking of a way to get rid of having to link to an external workbook because this will surely slow the system. I was thinking of hardcoing the values somewhere where I can just type a special UDF in all my files then the values will be there.
 
Upvote 0
Have a look at data --> import external data --> new database query.
 
Upvote 0
Perhaps, though I believe it's included with the Office CDs if it's not already installed on your PC.
 
Upvote 0

Forum statistics

Threads
1,217,753
Messages
6,138,416
Members
450,135
Latest member
IsidroGil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top