Glad to hear it works

-- is what is called a double unary operator - you need it if you are looking at text value.

SUMPRODUCT is described in some useful detail at

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Its worth a read.

Ed