View Single Post
  #3  
Old June 1st, 2010, 10:44 PM posted to microsoft.public.excel.worksheet.functions
Nora_GG[_2_]
external usenet poster
 
Posts: 10
Default Remove columns containing all zeros

Thanks Max. I was able to flag teh columns I need to remove. Do you know a
macro that can then delete columns containing "TRUE" as the header?

"Max" wrote:

A simple formula way to flag it, use COUNTIF
Eg in A1: =COUNTIF(A2:A5,0)=4
Copy across. Cols to be deleted will be TRUE
--
Max
Singapore
---
"Nora_GG" wrote:
How can I create a macro or conditional formula to remove columns containing
all zeros