Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there,
I have a spreadsheet that had data occupied from column A to T. How can I create a macro that would look at just column E and G. Starting from row 2, for each row, if cell in column E had the first 4 letters BSDT AND for each cell in column E, if the first 2 letters are CA...then keep that row. If not, then delete that entire row. Keep doing that until there is a blank line. Now, cells in column E can be something like BSDTU33AITD and cells in column G can be something like CA28464746 Thanks for your advise. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Remove Formulas then Delete Cells based on conditions - XL2003 | Excel Programming | |||
Delete Rows for given conditions. | Excel Programming | |||
Delete variable # of rows depending on conditions | Excel Programming | |||
how to write to macro to only delete rows under certain conditions | Excel Programming | |||
Conditional Formatting of Rows Based On More Than 4 Conditions | Excel Programming |