+ Reply to Thread
Results 1 to 4 of 4

find the first non blank cell in a row

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2016
    Posts
    187

    find the first non blank cell in a row

    Hi,

    I need to iterate throgh a range. Each row contains begins in different column.
    Is there an easy way to find the first non-blank cell in the row without creating a loop for each row?
    Thank you

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: find the first non blank cell in a row

    Select the top row and press End PgDwn takes you to the last filled row offset 1 and you're there, but I think you want to do this with a macro?

    Please Login or Register  to view this content.
    Last edited by Keebellah; 03-07-2019 at 04:29 AM. Reason: added code
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2016
    Posts
    187

    Re: find the first non blank cell in a row

    Yes, I need a macro, this is just the first step.

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: find the first non blank cell in a row

    The first step is the code i added

+ 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] Find non blank cell in a column (range Specified) and insert formula to other cell in same
    By jpbisani in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-18-2018, 06:11 AM
  2. Replies: 4
    Last Post: 05-15-2014, 09:32 AM
  3. Find blank cell, insert formula to find median of above cell range
    By lilyeye in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2013, 11:58 AM
  4. [SOLVED] VBA to find blank cell then copy data next to blank cell
    By unreal_event_horizon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2012, 05:46 AM
  5. [SOLVED] Find first non-blank cell after a group of blanks copy offset cells, find next blank, loop
    By gwsampso in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-21-2012, 06:11 AM
  6. Find a blank cell and calculate the average of all cells above till the next blank
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 11:51 AM
  7. Find first blank cell in column if rightmost cell is non blank
    By Mothman in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-19-2010, 02:22 AM

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