Sumproduct not working on existing sheet

I'm adding up the cost that is less than the base cost.  On the attachment on column M is less than column H then I want to sum all that up.  The formula I'm using does not work for some reason and I'm getting a #value error.

At cell M693 I have this formula:  =SUMPRODUCT((M10:M688<H10:H688)*(M10:M688))

Any ideas on how to fix this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Schnell SolutionsSystems Infrastructure EngineerCommented:
Can you try if the value that you need is the one that you get with this:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LUIS FREUNDAuthor Commented:
AWESOME!!!  Thank you!
LUIS FREUNDAuthor Commented:
I just noticed that it actually summed up everything in the column.  So it's not really working......
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Schnell SolutionsSystems Infrastructure EngineerCommented:
Hey Luis,

What is the desired behavior? Could you describe briefly the logic that you need?
LUIS FREUNDAuthor Commented:
I wanted to add up all the cost per row that is less than the baseline cost.  So in this case if the cost at column M is less than the cost of column H then add that up.  See below

Base Total Cost              SSVFC Cost
$1000                               $500
$5000                               $10000
$2000                               $1000

So  the value I want is $1500 ($500 + $1000) since those cost is less than the base cost.
Schnell SolutionsSystems Infrastructure EngineerCommented:
Please review the uploaded file.

It is the same that you originally created, but just testing the logic to confirm that it is what you need. (Look a second sheet called "Test", located at the bottom of the spreadsheet). You can also validate it with additional values from rows 2 to 9.
LUIS FREUNDAuthor Commented:
Ah I see what is going on.....there is a formula at column M, how can I get this formula =SUMPRODUCT((M10:M688>H10:H688)*(M10:M688))

to work without giving me a #VALUE! error?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.