Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a schedule sheet that I want to extract only the lines in which
have "PIP" in the Format column. I could do it with a filter but that seems pretty messy on line numbering. vlookup only seems to extract the first observation. Any help would be cool. Thanks Andrew j |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Something like this may help with numbering
Sub fillnums() Range(Cells(2, 1), Cells(1000, 1)).ClearContents lastrow = ActiveSheet.UsedRange.Rows.Count j = 1 For i = 2 To lastrow If Rows(i).Hidden = False Then Cells(i, 1) = j j = j + 1 End If Next End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "Hankjam" ........ wrote in message ... I have a schedule sheet that I want to extract only the lines in which have "PIP" in the Format column. I could do it with a filter but that seems pretty messy on line numbering. vlookup only seems to extract the first observation. Any help would be cool. Thanks Andrew j |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
need help please inserting multiple rows based on cell value then copying to data sheet | Excel Worksheet Functions | |||
Copying data across lines | Excel Discussion (Misc queries) | |||
Copying certain lines from a text file | Excel Discussion (Misc queries) | |||
Inserting Lines or Copying lines with formulas but without data | Excel Discussion (Misc queries) | |||
Help with copying dynamic column selected based on remote cell value and dynamic formula fill | Charts and Charting in Excel |