hi there,
i was dismayed by the performance of the file that i had provided earlier, so i attempted a MS Query solution to get what you want. the performance has improved tremendously.
place the attached file in "C:\Downloads\". you can change this path later. then, open the file. upon opening, it will ask you to enable Data Connections, go ahead and enable that. on Summary tab of the attached file, there is a Smart Table - that is the output of the MS Query.
i have checked the results for a couple of periods and they seem to be correct.
in case you want to view / edit the query, here is how you do it.
click anywhere within the Smart Table and punch ALT > A > O. you should see Workbook Connections window. highlight the one connection displayed and click on Properties. in the Connection Properties window, you will observe that the Smart Table refreshes every minute (Usage tab). now, click on Definitions tab and observe the Command Text block. copy all the contents into a Notepad to view.
SELECT db.Account, db.Year, db.Month, db.Category, Sum(db.`Net Value`) AS `Sum of Net Value`
FROM `C:\Downloads\jw01_926917_02jun13_01.xlsx`.db db
WHERE db.Category='AUTO'
GROUP BY db.Account, db.Year, db.Month, db.Category
ORDER BY db.Year, db.Month, db.Account
you can change the path of the file here. the quote being used above is back-quote or accent-grave (the character below tilde on a US keyboard).
Bookmarks