+ Reply to Thread
Results 1 to 4 of 4

Delete Cells scattered cells with specific content

  1. #1
    Registered User
    Join Date
    11-25-2016
    Location
    Milwaukee WI
    MS-Off Ver
    2010
    Posts
    2

    Angry Delete Cells scattered cells with specific content

    I am looking for an easy way to do this...I have a large excel file with 4,500 rows and column's through AQ. Throughout this file cells have the number 1 and I colored them red using conditional formatting. I want to delete all cells that are red that equal 1 in a manner that doesn't require me to delete them one by one. I want to keep all of the cells and basically move all to the left and delete the ones with a 1 and are red. HELP...I have searched and searched.

    Here is a sample:
    Capture.JPG

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Delete Cells scattered cells with specific content

    I wouldn't use conditional formatting to help a macro know what to do. Are we simply looking for all the cells with a value of 1 and deleting them, shifting all to the left?

    Are those cells filled with constants or formulas? Or Both?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    11-17-2016
    Location
    Istanbul
    MS-Off Ver
    2010
    Posts
    30

    Re: Delete Cells scattered cells with specific content

    What I would do (with information given)

    - duplicate the sheet
    -enter formula like this in every cell

    New sheet cell A10:
    Please Login or Register  to view this content.
    maybe commas instead of semicolon for US
    www.plusx.me

  4. #4
    Registered User
    Join Date
    11-25-2016
    Location
    Milwaukee WI
    MS-Off Ver
    2010
    Posts
    2

    Wink Re: Delete Cells scattered cells with specific content

    I am so excited....found the answer here: http://www.howtogeek.com/206696/how-...in-excel-2013/

    The key was in the part where it demonstrates choosing "blanks" then clicking "delete column's" is highlighted...i selected "delete cell" and it moved all of the content to the left and removing all randomly scattered blanks. This was amazing and saved me hours.

    Thank you all

+ 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. Delete Cells with Specific Value and All Blank Cells Until Next Populated Cell is Checked
    By rdtrahan1906 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2014, 05:50 PM
  2. [SOLVED] Delete SOME of a cells content (IF-formula)
    By Tinwelende in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-05-2014, 10:08 AM
  3. [SOLVED] Move cells containing specific content into a specific column
    By mb5555 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2012, 01:46 AM
  4. Replies: 2
    Last Post: 09-06-2012, 07:55 PM
  5. [SOLVED] Find cells which contain specific word, delete cells and shift left.
    By BPSJACK in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2012, 07:00 AM
  6. how to delete duplicated content from 2 cells
    By lucent88 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2005, 06:05 PM
  7. Delete specific cells contents in a row with some locked cells in the same row
    By trussman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2005, 03:06 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