#VALUE! problem

BMD

Board Regular
Joined
Oct 5, 2005
Messages
211
I'm getting a #VALUE! problem with :

=SUMPRODUCT(INDIRECT("'"&C$1&"'!$G$3:$G"&C$8)="Pass",(SUM(INDIRECT("'"&C$1&"'!$M$3:$M"&C$8))/60))

I'm trying to add all the time in column M if column G says it passed.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Maybe try:

=SUMPRODUCT(--(INDIRECT("'"&C$1&"'!$G$3:$G"&C$8)="Pass"),(INDIRECT("'"&C$1&"'!$M$3:$M"&C$8)/60))
 

BMD

Board Regular
Joined
Oct 5, 2005
Messages
211
Thanks, but it does not make sense. No where did I tell it to add column M. BUT IT WORKS.

I'm also messing around with a marco that I may also post. It's not working.

Thanks, Again,
Bruce.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,117
Messages
5,857,482
Members
431,882
Latest member
saaaaaaaaaaaaaaaaaaaaaa

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top