|
|
|
@ -4632,6 +4632,7 @@ func TestCalcDatabase(t *testing.T) {
|
|
|
|
|
"=DCOUNTA(A4:E10,\"Profit\",A1:F2)": "2",
|
|
|
|
|
"=DCOUNTA(A4:E10,\"Tree\",A1:F2)": "2",
|
|
|
|
|
"=DCOUNTA(A4:E10,\"Age\",A2:F3)": "0",
|
|
|
|
|
"=DGET(A4:E6,\"Profit\",A1:F3)": "96",
|
|
|
|
|
"=DMAX(A4:E10,\"Tree\",A1:F3)": "0",
|
|
|
|
|
"=DMAX(A4:E10,\"Profit\",A1:F3)": "96",
|
|
|
|
|
"=DMIN(A4:E10,\"Tree\",A1:F3)": "0",
|
|
|
|
@ -4665,6 +4666,9 @@ func TestCalcDatabase(t *testing.T) {
|
|
|
|
|
"=DCOUNTA(A4:E10,NA(),A1:F2)": "#VALUE!",
|
|
|
|
|
"=DCOUNTA(A4:E4,,A1:F2)": "#VALUE!",
|
|
|
|
|
"=DCOUNTA(A4:E10,\"x\",A2:F3)": "#VALUE!",
|
|
|
|
|
"=DGET()": "DGET requires 3 arguments",
|
|
|
|
|
"=DGET(A4:E5,\"Profit\",A1:F3)": "#VALUE!",
|
|
|
|
|
"=DGET(A4:E10,\"Profit\",A1:F3)": "#NUM!",
|
|
|
|
|
"=DMAX()": "DMAX requires 3 arguments",
|
|
|
|
|
"=DMAX(A4:E10,\"x\",A1:F3)": "#VALUE!",
|
|
|
|
|
"=DMIN()": "DMIN requires 3 arguments",
|
|
|
|
|