+ Reply to Thread
Results 1 to 5 of 5

Find Empty Cell Check Next Column For a Value

  1. #1
    Registered User
    Join Date
    08-19-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    77

    Find Empty Cell Check Next Column For a Value

    Hello Everybody,

    Does anybody know how to create a macro that will start in D20 and check to see if there is no value. If D20 has no value in the cell it will then check E20 to see if it has a value. If E20 has a value it will then go to E19 and increase the count. I'm trying to find the total amount of files that have value in them by checking two columns and then keeping a running counter in Cell E19. This macro would also need to run for 5000 rows because I will have a lot of information on my actual documents. I included a sample on the information I would be working with. Thanks again for your help to whoever can solve this for me. Sample.xlsx

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Find Empty Cell Check Next Column For a Value

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    08-19-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    77

    Re: Find Empty Cell Check Next Column For a Value

    That works right now on the sample. I'll see if it works on my master sheet. Thanks for the help.

  4. #4
    Registered User
    Join Date
    08-19-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    77

    Re: Find Empty Cell Check Next Column For a Value

    Ok, this next portion is similar to the previous task and it can probably just edit the last macro. But say i want to start on J20 and check the next 5000 rows for any values. Every cell that has a value it will keep a running count in Cell J19.

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Find Empty Cell Check Next Column For a Value

    Change the "D" and "E" to "J".

+ 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. [SOLVED] Macro to find the empty cell in a column and copy a adjacent row to another column.
    By naga in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2013, 07:44 AM
  2. [SOLVED] Find next empty cell in column
    By Scott Taylor in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-12-2013, 04:26 PM
  3. Find first empty cell in column.
    By dlw in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2012, 12:16 PM
  4. check 1st empty cell then delete column
    By emina002 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2012, 09:36 PM
  5. How to find next empty cell within a column?
    By Rick in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-27-2005, 03:05 PM

Tags for this Thread

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