How to filter String text cell?
02:57 24 Jul 2012

I want to use SUMPROCUT function on condition that the sheet's row count is unknown.

So the formula was written by =SUMPRODUCT(--F:F,--G:G), after Enter key be pressed #VALUE! showed up.

I realized that columns name are string type but they were included in calculation, that could be the problem.
How to avoid String text in SUMPRODUCT function? Maybe you have a smarter way?

Clients asked me a formula to calculate sum(column F * column G), such as 10*470 + 5*350 + 5*5.5 + 25*180 + 4*48 + 6*15 + 80*4.5 + 70*5.44, and I don't know how many rows in their sheet caused. They want a general formula to deal with all excel files.

enter image description here

excel excel-2007 excel-formula excel-2003