N
naira
hi!
I need help in fine tuning a formula that removes blank cells from
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(MATCH($A$2:$A$52,$B$1:$B1,1)),0),0)))
Problem is that each value is appearing uniquely in the result eve
though they might be appearing multiple times in the original range. An
suggestions to make the values appear sequentially in the order the
appear and multiple times after emoving blanks?
Alternately, if someone has a better formula would appreciate if it ca
be shared.
_FOLLOWING_LIMITATIONS_MAY_PLEASE_BE_CONSIDERED:
1. No VBA/ Macros please since they are volatile and tend to disabl
undo option.
2. No array formulas please (those committed with CTRL+SHIFT+ENTER)
since my current solution already uses array formula and that ha
considerably slowed down calculations. My actual worksheet has abou
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
formula and the cells are blank since the result of their calculation i
blank.
Sample file attached.
Regards,
Nair
+-------------------------------------------------------------------
|Filename: Capture.JPG
|Download: http://www.excelbanter.com/attachment.php?attachmentid=868
+-------------------------------------------------------------------
I need help in fine tuning a formula that removes blank cells from
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(MATCH($A$2:$A$52,$B$1:$B1,1)),0),0)))
Problem is that each value is appearing uniquely in the result eve
though they might be appearing multiple times in the original range. An
suggestions to make the values appear sequentially in the order the
appear and multiple times after emoving blanks?
Alternately, if someone has a better formula would appreciate if it ca
be shared.
_FOLLOWING_LIMITATIONS_MAY_PLEASE_BE_CONSIDERED:
1. No VBA/ Macros please since they are volatile and tend to disabl
undo option.
2. No array formulas please (those committed with CTRL+SHIFT+ENTER)
since my current solution already uses array formula and that ha
considerably slowed down calculations. My actual worksheet has abou
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
formula and the cells are blank since the result of their calculation i
blank.
Sample file attached.
Regards,
Nair
+-------------------------------------------------------------------
|Filename: Capture.JPG
|Download: http://www.excelbanter.com/attachment.php?attachmentid=868
+-------------------------------------------------------------------