SUMPRODUCT returning no answer

A

AJPendragon

I have a SUMPRODUCT formula that I know is OK but returns the answer 00:00:00

=SUMPRODUCT(--(Sheet2!B4:B573=A6),(Sheet2!C4:C573))

Sheet 2 is full of cells with times (HH:MM:SS) which have been pasted in
from another excel worksheet.

However, if I go into each cell in sheet 2 and return, the formula then
works – it’s as though the cell value is hidden.

Hope you can help?
 
M

Max

Think the values in Sheet2 could be text numbers

Try it like this, with an implicit coercion:
=SUMPRODUCT((Sheet2!B4:B573=A6)*(Sheet2!C4:C573))
 
B

Bernie Deitrick

Try this to coerce the text values to numbers:

=SUMPRODUCT((((Sheet2!B4:B573)*1)=A6)*((Sheet2!C4:C573)*1))

Bernie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top