diff --git a/source/cell/cell_reference.cpp b/source/cell/cell_reference.cpp index 385e84d34..d996adab6 100644 --- a/source/cell/cell_reference.cpp +++ b/source/cell/cell_reference.cpp @@ -174,13 +174,13 @@ std::pair cell_reference::split_reference( if (column_string[0] == '$') { - absolute_row = true; + absolute_column = true; column_string = column_string.substr(1); } if (row_string[0] == '$') { - absolute_column = true; + absolute_row = true; row_string = row_string.substr(1); }