Create a list from multiple cells with text

wzde14

New Member
Joined
Aug 3, 2017
Messages
3
Hi all,

I've been searching for an answer to this for some time now and I'm sure there is probably a simple solution. I have a large table in which some cells have text and the rest are blank. On a separate sheet I would like to have a list to include the text from the cells and disregard the blank ones. If possible, I'd like it to be conditional: In column H I have some cells which say "Procedure did not work" and the corresponding row has cells with text and the rest blank (I:AY), so in my new sheet, I'd like a list of all text in the rows where H says "Procedure did not work". I've tried iferror, lookup...no joy as yet.

I've popped a table here to try and explain what I need. I'm after list of all of the 'issues'.
Thank you for any help with this!
Adele

Procedure working or not Time test started and endedResetting passwordsRandomly closing the browserPart of website 1Part of website 2Part of website 3Part of website 4
Procedure worked12:05:00Worked fine
Procedure did not work 13:17:00 Issue hereIssue here
Procedure worked12:43:00Worked fineOK
Procedure did not work 14:32:00 Issue here Issue here

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Try
Code:
Sub MoveData2NewSht()
' wzde14

    Dim UsdRws As Long
    
    UsdRws = Sheets("UIL").Range("H" & Rows.Count).End(xlUp).Row
    
    Sheets("UIL").Columns("H:H").AutoFilter
    Sheets("UIL").Range("H1:H" & UsdRws).AutoFilter Field:=1, Criteria1:= _
        "Procedure did not work"
    Sheets("UIL").Range("A1:AY" & UsdRws).SpecialCells(xlVisible).Copy _
        Sheets("New").Range("A1")

End Sub
Changing sheet names to suit your data.
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,575
Members
449,039
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top