Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I'm new to macros and excel........
I have several excel spreadsheets that I need to filter daily. I would like to create a macro that can segment the system_ID with only the following numbers: (761,628,633,638,773,644,655,660,781,661,712,799,6 05). What I would like to happen is everytime I receive a spreadsheet filter by selecting the macro to group these numbers into a separate worksheet or something else that is visual. thanks! |
#2
![]() |
|||
|
|||
![]()
Util,
If your system ID's are in column A, with a header in row 1, you can filter the sheet by using the macro below. HTH, Bernie MS Excel MVP Sub Macro1() Range("A1").EntireColumn.Insert Range("A1").Value = "Show" Range("A2:A" & Range("B65536").End(xlUp).Row).FormulaR1C1 = _ "=NOT(ISERROR(MATCH(RC[1]," & _ "{761;628;633;638;773;644;655;660;781;661;712;799; 605},FALSE)))" Range("A:A").AutoFilter Field:=1, Criteria1:="TRUE" End Sub "util" wrote in message ... I'm new to macros and excel........ I have several excel spreadsheets that I need to filter daily. I would like to create a macro that can segment the system_ID with only the following numbers: (761,628,633,638,773,644,655,660,781,661,712,799,6 05). What I would like to happen is everytime I receive a spreadsheet filter by selecting the macro to group these numbers into a separate worksheet or something else that is visual. thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cannot find list in excel 2000 | Excel Discussion (Misc queries) | |||
i need a function to find the highest value in a list | Excel Worksheet Functions | |||
How do I find duplicates in a list | Excel Discussion (Misc queries) | |||
The available macros list in XL; how to suppress filename from showing | Excel Discussion (Misc queries) | |||
How do I find out what items are in one list but not in another l. | Excel Discussion (Misc queries) |