diff --git a/README.md b/README.md index 3730965..c13e914 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ $ git submodule add git@github.com:dhruvasagar/vim-table-mode.git bundle/table-m mode also provides 2 special functions `Sum` and `Average`. Both these functions take a range as input. A range can be of two forms : - - `r1,r2`: This represents cells in the current column from row `r1` + - `r1:r2`: This represents cells in the current column from row `r1` through `r2`. If `r2` is negative it represents `r2` rows above the current row (of the target cell). diff --git a/doc/table-mode.txt b/doc/table-mode.txt index a79f211..000e2bf 100644 --- a/doc/table-mode.txt +++ b/doc/table-mode.txt @@ -119,7 +119,7 @@ Formula Expressions : special functions 'Sum' and 'Average'. Both these functions take a range as input. A range can be of two forms : - 'n,m': This represents cells in the current column from row + 'n:m': This represents cells in the current column from row 'n' through 'm'. If 'm' is negative it represents 'm' row above the current row (of the target cell).