+ Reply to Thread
Results 1 to 14 of 14

conditional formatting 15000 records. possible?

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Enterprise 2007
    Posts
    51

    conditional formatting 15000 records. possible?

    Hi all, I have a simple formula inserted into my A column, to change the colour of each cell based on what number appears in column AD.

    There are around 15,000 rows.

    I have 7 instances per A column cell, so, if cell AD1 has the number 1, A1 turns yellow, if AD1 has the number 2, A1 turns orange, etc up to 7.

    I could reduce this to just 3 instances, that would be acceptable, but so far, even that makes the sheet run incredibly slowly.

    I can't even scroll around the page without getting a message that excel is not responding. 10 seconds later it will move, but, this is not a way to get work done.

    Can anyone recommend a work around?
    I have calculate set to manual, but it seems the F9 key only triggers manual calculation of formulas, not of conditional formatting.
    Am I right in believing all conditional formatting constantly sits in the RAM? I would love it to just stay static until I hit F9 then i can wait the 20 or so seconds it takes to catch up.

    I also have multicore processing enabled.

    thoughts anyone? thanks for your time.

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: conditional formatting 15000 records. possible?

    >at cell A1,> conditional formatting> use formula: type $AD1 = 1, then apply your colors.
    new rule: type $AD1 = 2, then apply your colors.
    new rule again to apply all your condition.
    then you drag A1 to down till 150000.


    Sample Conditional Format.xlsx <-- Attach a sample file for you, hope it help
    Last edited by wenqq3; 05-02-2013 at 10:06 PM.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Registered User
    Join Date
    10-29-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Enterprise 2007
    Posts
    51

    Re: conditional formatting 15000 records. possible?

    sorry mate I don't think you completely understood, I know how to do the conditional formatting, my problem is that once I have done it, it slows the spreadsheet to a crawl.

  4. #4
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: conditional formatting 15000 records. possible?

    Quote Originally Posted by Bobbo Jones View Post
    sorry mate I don't think you completely understood, I know how to do the conditional formatting, my problem is that once I have done it, it slows the spreadsheet to a crawl.
    Okie, then you want write a macro, then apply the color rather than conditional formatting?

  5. #5
    Registered User
    Join Date
    10-29-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Enterprise 2007
    Posts
    51

    Re: conditional formatting 15000 records. possible?

    no idea. would you recommend that over conditional formatting? is it less CPU or RAM intensive?

  6. #6
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: conditional formatting 15000 records. possible?

    found at http://endorkins.com/2009/07/13/slow...heet-try-this/
    Duplicate Conditional Formatting Rules:
    Conditional formatting can be a processor-intensive task if your rules aren’t set up right. Manage your conditional formatting rules (2007) via the ribbon at Home > Conditional Formatting > Manage Rules… Try to consolidate similar rules into one rule (e.g. a rule for an entire column instead of a rule for each cell in the column) eg: specify the range =$A$1:$A$15000

    Conditional formatting formulas are recalculated each time anything calculates.
    Perhaps macro, is better way for 15000 columns.
    Hope it helps you

  7. #7
    Registered User
    Join Date
    10-29-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Enterprise 2007
    Posts
    51

    Re: conditional formatting 15000 records. possible?

    I think anything would be worth a try. I do not know how to write VBA though.

  8. #8
    Registered User
    Join Date
    10-29-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Enterprise 2007
    Posts
    51

    Re: conditional formatting 15000 records. possible?

    ah you beat me to the reply. I was actually reading that very webpage yesterday!

    I already have them consolidated by specifying the range.

    I wonder if it is NOT actually the conditional formatting that is slowing me down?
    the reason i think this, is that excel lags EVEN when im not changing anything. I just want to click a cell, and it lags. I wait, then I want to scroll down to look at a different cell, it lags again. NOTHING should be calculating when i do this.

  9. #9
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: conditional formatting 15000 records. possible?

    simple way to test that out
    save a copy (just in case you accidently save over your work )

    take all conditional format out and see if it still lags
    Last edited by humdingaling; 05-02-2013 at 11:09 PM. Reason: typo

  10. #10
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: conditional formatting 15000 records. possible?

    Please Login or Register  to view this content.
    If you wish update the colors all the time, suggest set a shortcut key. Macro > View macros > select "conditional_Formating" > options

  11. #11
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: conditional formatting 15000 records. possible?

    Quote Originally Posted by Bobbo Jones View Post

    I wonder if it is NOT actually the conditional formatting that is slowing me down?
    the reason i think this, is that excel lags EVEN when im not changing anything. I just want to click a cell, and it lags. I wait, then I want to scroll down to look at a different cell, it lags again. NOTHING should be calculating when i do this.
    Maybe you have too much formula inside the workbooks. try to reduce it might help you

  12. #12
    Registered User
    Join Date
    10-29-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Enterprise 2007
    Posts
    51

    Re: conditional formatting 15000 records. possible?

    Thanks for your replies guys.
    Is there a way to look behind the scenes to what it is actually doing the whole time? very often, i haven't even clicekd anything, and it switches to 'not responding' mode.

  13. #13
    Registered User
    Join Date
    10-29-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Enterprise 2007
    Posts
    51

    Re: conditional formatting 15000 records. possible?

    Even with all the formulas removed, and the conditional formatting removed, its crawling. There is something else going on I believe.

  14. #14
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: conditional formatting 15000 records. possible?

    What i found. Hope it helps you

    Many things can slow response in Excel.

    -Memory Leakage in GDI (graphics device interface) Resources (#GDI)
    Multiple Excel windows, window zoom not set at 100%, lots of graphics, colours, formats, charts, images, ActiveX-objects. A combination of these will eat excel's graphical memory, which is allocated independent of available cards, ram, speed. Printers and fonts can also be involved.

    -Files in temporary directory
    Slow Opening of Excel files is frequently caused by a large number of files in temporary directory. To clear out the temporary directory you can get to it from your Start, Run by typing in %TEMP% into the box.

    -Too many cell formats.
    A format in this case means each combination of font characteristics. i.e. Font type, font size, font colour, interior colour, bold, underline, pattern, number format, height, width, etc. Reduce as much as you can. Eliminating unused custom cell formats might also help.

    -Volatile Functions cause recalculation to take longer.
    User Defined Functions that have had the volatile option added. But Excel itself has volatile functions: CELL() OFFSET() TODAY() INDIRECT() NOW() INFO() RAND() as reported in MS KB Q274500 which indicates Excel prompts you to save changes to the workbook when you close it and sometimes (bug) CELL() is not being treated as volatile and requires F9 (calculate).

    a way of checking how much memory Excel is using with a worksheet formula.
    =INFO("memavail") Amount of memory available, in bytes.
    =INFO("memused") Amount of memory being used for data.
    =INFO("totmem") Total memory available, including memory
    already in use, in bytes.
    =INFO("numfile") Number of active worksheets.

+ 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