query tool in Excel

iknowu99

Well-known Member
Joined
Dec 26, 2004
Messages
1,158
i'm doing lots of calculations lately and wouldl ike to know if it's possible to apply Access queries to Excel. For example: Sheet1, Column A has 100,000 customerids. Sheet 2, Column A has 30,000 customerIDs. by using formula in Sheet2, columnB: =COUNTIF(Sheet1!A:A,Sheet2!A2), i am able to get which customers match. the calculation takes long time so i was wondering if it could be done in Excel but with Access powers?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,368
Sure can. Via menu ALT-D-D-N and follow the wizard. Save the file before starting if the data is in the active workbook. Can query closed files.

If querying Excel & you don't have (non-dynamic) defined names for data ranges, the first time you'll get a message about no visible tables. OK to acknowledge that and then from 'options' select 'system tables'. Queries like Access can be done except DELETE from Excel tables, can DELETE against Access, etc.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,109
Messages
5,857,443
Members
431,879
Latest member
KiwDaWabbit

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
Top