View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Atishoo Atishoo is offline
external usenet poster
 
Posts: 267
Default removing blanks from range (mr Pearson)

Hi all
Am trying to use one of Pearsons worksheet formula to return a new column
(noblanksrange) without the blanks in the original column (montasks).
Something is not quite right Im jsut getting 0 in the first two columns and
nothing more?
(oh and i am remebering to use ctrl shift enter and the ranges are of equal
length)

{=IF(ROW()-ROW(noblanksrange)+1ROWS(montasks)-
COUNTBLANK(montasks),"",INDIRECT(ADDRESS(SMALL(
(IF(montasks<"",ROW(montasks),ROW()+ROWS(montasks ))),
ROW()-ROW(noblanksrange)+1),COLUMN(montasks),4)))}

any ideas gratefully received!