formula not working

Peterfc2

Active Member
Joined
Jan 2, 2004
Messages
394
Office Version
  1. 2013
Platform
  1. Windows
The top formula fails to give correct data. The bottom one works fine. Anyone spot an error? Maybe a typo but I can't see it if it is.

=SUM(IF($B$2:INDEX(B:B,$U$2)=I3,IF($C$2:INDEX(C:C,$U$2)>$E$2:INDEX(E:E,$U$2),1)+SUM(IF($F$2:INDEX(F:F,$U$2)=I3,IF($E$2:INDEX(E:E,$U$2)>$C$2:INDEX(C:C,$U$2),1)))))

=SUM(IF($B$2:$B$10=I3,IF($C$2:$C$10 > $E$2:$E$10,1)))+SUM(IF($F$2:$F$10=I3,IF($E$2:$E$10 > $C$2:$C$10,1)))

$U$2= 10
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
You have closing brackets in different places within the formula.
 
Upvote 0
Untested but try
Excel Formula:
=SUM(IF($B$2:INDEX(B:B,$U$2)=I3,IF($C$2:INDEX(C:C,$U$2)>$E$2:INDEX(E:E,$U$2),1)))+SUM(IF($F$2:INDEX(F:F,$U$2)=I3,IF($E$2:INDEX(E:E,$U$2)>$C$2:INDEX(C:C,$U$2),1)))
 
Upvote 0
Solution
Your a blinking genius Fluff. Working like a dream Thank you!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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
Back
Top