Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I hope I ask this in the right way: I have 4 column, 2,000 row sprdsht. I want to instruct Excel to look in column B, and if any column is blank, then delete it. In other words, out of all the records, I only want to see the ones that have text in col B. Does anyone know of a formula/function that can do that, or can you point me in the right direction? Thanks, Brian |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
a Function can't but a Macro can
so if u realy mean that every Row's where column B is empty is deleted then try this: Sub CleanUp() Range("B1:B2000").SpecialCells(xlCellTypeBlanks).E ntireRow.Delete End Sub "Carter Devereaux" skrev: Hi, I hope I ask this in the right way: I have 4 column, 2,000 row sprdsht. I want to instruct Excel to look in column B, and if any column is blank, then delete it. In other words, out of all the records, I only want to see the ones that have text in col B. Does anyone know of a formula/function that can do that, or can you point me in the right direction? Thanks, Brian |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
No worksheet function can delete things, only return results.
I would try this............. Select column B and F5SpecialBlanksOK. EditDeleteEntire Row. Gord Dibben MS Excel MVP On Fri, 31 Aug 2007 09:16:00 -0700, Carter Devereaux <Carter wrote: Hi, I hope I ask this in the right way: I have 4 column, 2,000 row sprdsht. I want to instruct Excel to look in column B, and if any column is blank, then delete it. In other words, out of all the records, I only want to see the ones that have text in col B. Does anyone know of a formula/function that can do that, or can you point me in the right direction? Thanks, Brian |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Easiest way to delete blank cells in column (not entire row) | Excel Discussion (Misc queries) | |||
Macro to Delete blank cells | Excel Worksheet Functions | |||
delete coumns - shift non-blank cells message | Excel Discussion (Misc queries) | |||
Formula to delete blank cells across multiple columns? | Excel Worksheet Functions | |||
How do I protect cells against only the "Delete" function? | Excel Discussion (Misc queries) |