+ Reply to Thread
Results 1 to 12 of 12

Should I use Access

  1. #1
    Registered User
    Join Date
    06-08-2015
    Location
    Bristol
    MS-Off Ver
    2013
    Posts
    75

    Should I use Access

    Hi guys,

    I've developed a spreadsheet for my sales team to use where they can look at yearly sales, sales by account etc.. I export all the data from our sales inputting program, it exports everything into a spreadsheet one line per every order we've ever taken... The problem is it's running slow, the reason being it uses sumifs to go through about 20,000 lines of data.. Would it be better to export all this data into an access database and use this, would this make it run faster..

    I have no experience of using Access but willing to learn if it makes the spreadsheet run faster.. If so, could you point me in the direction of instructions on how to do this, a website that will run me through the process of using Access..

    Cheers,

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Should I use Access

    20,000 rows is not a large dataset. The question is why are you using SUMIFS?

    It sounds like you could significantly improve performance by using pivot tables / powerpivot, instead of SUMIFS formulas...
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    06-08-2015
    Location
    Bristol
    MS-Off Ver
    2013
    Posts
    75

    Re: Should I use Access

    OK if I use powerpivots should I still use an Access database to hold the data.. Would that be an easier way of doing things..

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Should I use Access

    I think you need to answer the question asked of you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    06-08-2015
    Location
    Bristol
    MS-Off Ver
    2013
    Posts
    75

    Re: Should I use Access

    Well because I'm not that clued up on Powerpivots or pivot tables in general so thought the best method would be sumifs... So know I'll go away and learn about Powerpivots but in the original spreadsheet all the data was held on a sheet and another sheet held all the formulas for working out sales between certain ranges and for certain sales channels etc..

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Should I use Access

    Do your SUMIFS formulae include whole ranges such as $A:$A?
    Last edited by AliGW; 10-31-2018 at 07:23 AM.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: Should I use Access

    As to your original question, have a look at this white paper.

    https://forums.aspfree.com/microsoft...es-208217.html
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  8. #8
    Registered User
    Join Date
    06-08-2015
    Location
    Bristol
    MS-Off Ver
    2013
    Posts
    75

    Re: Should I use Access

    Hi Ali,

    Yes they do...

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Should I use Access

    OK - so change them all to limited arrays - e.g. $A$1:$A$20000. This should speed things up.

  10. #10
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Should I use Access

    I certainly wouldn't be recommending an external database of any sort, for just 20k rows. And I would never ever recommend Access.

    It may be easier to diagnose and solve your performance issues, if you provided a sample workbook - remember to anonymise your data.

  11. #11
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    Re: Should I use Access

    Hello,

    Disagreed.

    If you're using SUMIFs, the case can be made that you're using them to "query" your data. If you are querying even 20,000 rows of data, I would recommend switching to an Access platform, as the JET Engine will query data magnitudes more efficiently than Excel, not to mention, incredibly easier than writing massive SUMIF or Index formulas.

    My .02.

    Good luck.

  12. #12
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Should I use Access

    The old 'hot potato' Access v Excel, AliGW has given you the path to follow.
    Unless of course you want to extend your levels of frustration learning all the pitfalls of Access.
    Recently faced similar problem proving to 'expert' that Excel is capable of acceptable speeds if code is reasonable.
    Attached the speed sheet used to illustrate, it is roughly coded and no refinement, with no error checking code.
    It sorts a period between two dates for a given member (column C), generates a file to import into Sage and also data to produce invoice.
    The first 20 rows are used to seed the Transaction History, set the array rows cell to zero, press 'Fill Array', this also clears sheets SAGE & INVOICE
    Then in N4 put a figure according to number of rows you want to sort, press 'Fill Array', (rows below row 20 will fill), scroll down for curiosity.
    Press 'Start Sort', this will start the timer and give result when complete, do not blink
    On my steam driven computer running Vista & Excel 2010, sort speed 20,000 rows less than )0.5secs, 200,000 rows under 4secs, 1M rows under 20secs.
    regards
    Torachan
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Running an access append query with parameters from Excel. Access version 2010
    By anthony1312002 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-14-2017, 04:48 PM
  2. Connection Issues, Excel To Access Query, Access 2010
    By onechief in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-03-2015, 07:09 PM
  3. Double Handling within working code Write to access and fire access macro
    By robtuby in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-11-2015, 12:19 PM
  4. Access form works with access Viewer but not full version of Access?
    By Shanyn in forum Access Tables & Databases
    Replies: 1
    Last Post: 10-22-2014, 01:14 PM
  5. Use an Excel Macro in Access VBA - Import text file in Access Table
    By joogibabu in forum Access Tables & Databases
    Replies: 3
    Last Post: 10-08-2014, 10:04 AM
  6. Excel 2010 userform to access and edit the data in MS ACCESS DB tables
    By anand_y59 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2012, 07:46 AM
  7. Importing data from Access to Excel, but I need to vary the table from Access
    By Liz L. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-05-2006, 09:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1