diff --git a/formulas/cell.py b/formulas/cell.py index c5349e3..c361a81 100644 --- a/formulas/cell.py +++ b/formulas/cell.py @@ -17,6 +17,7 @@ from .parser import Parser from .ranges import Ranges, _assemble_values, _shape, _get_indices_intersection from .tokens.operand import Error, XlError, range2parts, _re_ref, _index2col +from .functions import replace_empty CELL = sh.Token('Cell') @@ -162,7 +163,8 @@ def add(self, dsp, context=None): except ValueError: dsp.add_data(k) nodes.add(dsp.add_function( - self.__name__, self.func, inputs or None, [output] + self.__name__, self.func, inputs or None, [output], + filters=[replace_empty] )) return nodes diff --git a/test/test_files/test.xlsx b/test/test_files/test.xlsx index 8ff504f..725b2b0 100644 Binary files a/test/test_files/test.xlsx and b/test/test_files/test.xlsx differ