+ Reply to Thread
Results 1 to 4 of 4

Clearing cell contents that meet certain criteria for a very large selection

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    Tamworth, Australia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Clearing cell contents that meet certain criteria for a very large selection

    Hi all. I have a spreadsheet containing a huge number of cells with the logical value "". I'm using the following code to convert them to blank cells:

    Please Login or Register  to view this content.
    It's taking forever to complete even the first column of data let alone going all the way out to BBT!

    Can anyone suggest a more efficient code or an amendment to what I've already got?

    Many thanks,

    Darren

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Clearing cell contents that meet certain criteria for a very large selection

    Hi Darren,

    Maybe...

    Trim All
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    10-18-2012
    Location
    Tamworth, Australia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Clearing cell contents that meet certain criteria for a very large selection

    Thanks, Jeff.

    I found the TRIMALL code still took too long but the alternative provided was suitable (given that the cells being trimmed were either a numeric value or ""). The whole process took about 15 minutes and has reduced the size of my file by about 80%!

    I've really appreciated your help.

    Darren

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Clearing cell contents that meet certain criteria for a very large selection

    Hi Darren,

    Happy to have at least pointed you in another direction.

+ 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