NumberCrunchingMonky
Technical User
I have a SUMPRODUCT formula that's not returning all the data I need it to and I suspect it's because I'm using AND/OR incorrectly.
The formula reads across four spreadsheets (two named ranges per sheet), and the formula operation specific to each of the four sheets is seperated with a "+" (for "or"
. The data I'm trying to pull can be found on more than one sheet but my formula seems to sum/return only values from the first data set to which the coditions are met.
Here is my Formula:
=SUMPRODUCT((Range1=$B5)*(Range2=D$4)*(HoursSheet1)+(Range3=$B5)*(Range4=D$4)*(HoursSheet2)+(Range5=$B5)*(Range6=D$4)*(HoursSheet3)+(Range7=$B5)*(Range8=D$4)*(HoursSheet4))
I would appreciate any feedback.
Thanks,
Monky
The formula reads across four spreadsheets (two named ranges per sheet), and the formula operation specific to each of the four sheets is seperated with a "+" (for "or"
Here is my Formula:
=SUMPRODUCT((Range1=$B5)*(Range2=D$4)*(HoursSheet1)+(Range3=$B5)*(Range4=D$4)*(HoursSheet2)+(Range5=$B5)*(Range6=D$4)*(HoursSheet3)+(Range7=$B5)*(Range8=D$4)*(HoursSheet4))
I would appreciate any feedback.
Thanks,
Monky