+ Reply to Thread
Results 1 to 3 of 3

Using full column / row references in formulas

  1. #1
    Registered User
    Join Date
    08-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    45

    Using full column / row references in formulas

    Hi guys, quick question - I was wondering if anyone could tell me whether using full column and row references in formulas will adversely affect performance in a spreadsheet, or does it not matter at all?

    Eg.

    Please Login or Register  to view this content.
    Thanks
    fullysic

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,497

    Re: Using full column / row references in formulas

    If you're using full columns in Excel 2007, it will be looking at over a million cells.

    Clearly, if you apply a formula to say 100 cells or 1000 cells, it will take less time than if you you apply it to a million cells.

    In a recent response to a post, I tested some different options. The formula was only copied down over half a dozen cells ... but you could watch the calculation taking place cell by cell when I used whole column references.

    Easy enough to test.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Using full column / row references in formulas

    It depends on the formula. SUMIF and its ilk are supposed to be optimised to only look at the used range part of the sheet. Other functions will not. Definitely better to try and avoid such references in array formulas.
    The formulas you have listed should not really be a problem (though I would generally suggest avoiding OFFSET as it is volatile).
    Good luck.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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