K
Ken
In Lotus 123 I was able to attach an if statement to a
DSUM statement for the criteria. When I do this in Excel I
get #Name error. See Example:
A B C D
1 class TYPE AMT1 AMT2
2 w x y z
3 a e 100 200
4 b x 300 400
5 c e 500 600
Range name DATA = A2 : D5
Statement trying to use:
=DSUM(data,"y",IF(w="a",x="e",0))
Answer should be 600
Please let me know if a statement like this is valid in
excel.
DSUM statement for the criteria. When I do this in Excel I
get #Name error. See Example:
A B C D
1 class TYPE AMT1 AMT2
2 w x y z
3 a e 100 200
4 b x 300 400
5 c e 500 600
Range name DATA = A2 : D5
Statement trying to use:
=DSUM(data,"y",IF(w="a",x="e",0))
Answer should be 600
Please let me know if a statement like this is valid in
excel.