Can guess single row with string headers

This commit is contained in:
Sergey Chebotar 2023-05-30 08:59:16 +03:00
parent f1abb03ac9
commit 51636ca61a

View File

@ -151,7 +151,9 @@ public class GuessReader : IReader
} }
} }
return successCounter > 1; return (column.Rows.Count > 1 && successCounter > 0)
|| successCounter > 1;
}
} }
private Dictionary<Product, double> GetDictionaryFromColumns(Range productColumn, Range amountColumn) private Dictionary<Product, double> GetDictionaryFromColumns(Range productColumn, Range amountColumn)