Optimizing production reports - MS Query

Roaldb

New Member
Joined
Feb 10, 2016
Messages
9
Hi

I have several big excel reports that pulls data from a db via MS query. (100 000+ rows in each)
I use countifs formulas to show production volume based on parameters within the data.

This seems like an unefficient way to do this. First of all it takes a long time for excel to process it all.

Can anyone point me in a direction for a more efficient way to do this --> pull data from db and show results based on month, department, different product etc.??

Help is much appriciated :)

Roald
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
maybe change the SQL so that the returned result is already summarised how you want it

and/or don't return the data (to a worksheet) just make a pivot table

please ask if you want more specific help on these
 
Upvote 0

Forum statistics

Threads
1,223,920
Messages
6,175,377
Members
452,638
Latest member
Oluwabukunmi

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