+ Reply to Thread
Results 1 to 6 of 6

loop through a coulmn to test is a cells is empty

  1. #1
    Registered User
    Join Date
    04-20-2014
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    59

    loop through a coulmn to test is a cells is empty

    Good afternoon,

    I am trying to test if a cell is empty, if it is then I want to do nothing "", but if it contains text or a number I want to insert "full" in the adjacent column. I can test a single cell with the attached code, but I need it to loop through the full column, can any one help please

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: loop through a coulmn to test is a cells is empty

    Please Login or Register  to view this content.

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: loop through a coulmn to test is a cells is empty

    Hi, deek,

    can you explain if the cells are reaölly empty or filled with formulae? If they are empty you may use something like

    Please Login or Register  to view this content.
    And to be honest "MT" isn´t really empty for me.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: loop through a coulmn to test is a cells is empty

    Here's another:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  5. #5
    Registered User
    Join Date
    04-20-2014
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: loop through a coulmn to test is a cells is empty

    Guys,

    many thanks all of these solutions work for me. its great to get so much help in a short time.

    thanks again

    DeeK

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: loop through a coulmn to test is a cells is empty

    You're welcome and thanks for the rep!

+ 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. enter data in coulmn the today date appear in other coulmn and doesn't change
    By sterio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2015, 04:13 PM
  2. [SOLVED] loop through range of cells and test if blank
    By beba420 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2015, 07:22 AM
  3. [SOLVED] How to write loop to check for empty cells
    By JaydenK in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-22-2013, 09:17 AM
  4. Loop through groups of rows separated by empty cells
    By wmbower in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2012, 02:53 PM
  5. [SOLVED] Loop to find cells based on criteria, enter formula into next empty column
    By cschoyer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2012, 03:32 PM
  6. Replies: 2
    Last Post: 07-14-2010, 12:44 AM
  7. [SOLVED] Empty cells in For Loop
    By Linking to specific cells in pivot table in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-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