+ Reply to Thread
Results 1 to 2 of 2

Clear content of range of cells if value is ""

  1. #1
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Clear content of range of cells if value is ""

    Hey,

    I have two columns: E and F,
    E has labels and F has an IF formula that returns account numbers if correspondent cell in G has numeric values, other wise cell in column F returns "".

    The problem is that once the sheet is populated, those cells that in F that have "", cover the rest of cell content in column E. Text in column in E is only visible as far as the column width allows; but I need the column E at a certain width. See ATTACHED

    I ran this piece of code, but it is not doing anything. Where did I go wrong?
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Clear content of range of cells if value is ""

    Two small changes:

    Please Login or Register  to view this content.
    Gary's Student

+ 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