+ Reply to Thread
Results 1 to 3 of 3

Find and extract text in a column of blank Cells

Hybrid View

  1. #1
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520

    Find and extract text in a column of blank Cells

    Hi All,

    Good day to all.

    How can i extract a text in a column of blank cells. Example, A1:A100 is the range, in A14 there is a text say AAA, how can i extract that text and put in cell B1.

    Thanks in advance.
    Corine

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find and extract text in a column of blank Cells

    Maybe you can delete the empty rows

    Sub Delete_empty_rows_in_collumnA_with_Range()
    
    With Range("A20:a2000").SpecialCells(xlCellTypeBlanks).Cells
        .EntireRow.Delete Shift:=xlUp
      End With
      If Err.Number <> 0 Then MsgBox "There are no or only empty cells"
     End Sub
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520

    Re: Find and extract text in a column of blank Cells

    Dear All,

    I got it anyway, thanks!

    i used this formula

    =INDEX(A1:A20,MAX(IF(A1:A20<>"",ROW(A1:A20))))
    Array formula CTRL+SHIFT+ENTER

+ 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