View Single Post
  #1   Report Post  
naira naira is offline
Junior Member
 
Posts: 2
Default need help in fine-tuning a formula that removes blank cells in a column range

hi!

I need help in fine tuning a formula that removes blank cells from a column range.

Code:

=IF(ROWS(B$2:B2)COUNTIF($A$2:$A$52,"?*"),"",INDEX ($A$2:$A$52,MATCH(1,INDEX(($A$2:$A$52<"")*ISNA(MA TCH($A$2:$A$52,$B$1:$B1,1)),0),0)))

Problem is that each value is appearing uniquely in the result even though they might be appearing multiple times in the original range. Any suggestions to make the values appear sequentially in the order they appear and multiple times after emoving blanks?

Alternately, if someone has a better formula would appreciate if it can be shared.

Following limitations may please be considered:
1. No VBA/ Macros please since they are volatile and tend to disable undo option.

2. No array formulas please (those committed with CTRL+SHIFT+ENTER), since my current solution already uses array formula and that has considerably slowed down calculations. My actual worksheet has about 100,000 cells with the array formula updated on a real time basis.

3. The blank cells will actually not be blank but will be containing a formula and the cells are blank since the result of their calculation is blank.

Sample file attached.

Regards,

Naira
Attached Images
 

Last edited by naira : May 7th 13 at 03:53 PM