ATTACHMENT: SumProductTest.xlsx
I am having a bear of a time with this...
I get #VALUE! every time.
Here, I'm trying to get the sum of values in a SINGLE ROW, but for ALL COLUMNS LESS THAN A SPECIFIED VALUE.
Attached is the example, but the formula is
=SUMPRODUCT(--(A2:A8=A11),--(B1:M1<=B10),B2:M8)
Where
B10 = 6
A11 = D
Sample Data:
12 11 10 9 8 7 6 5 4 3 2 1 TOTAL
A 77111 49132 39501 8242 97486 12126 43741 61136 881 67669 89390 48430 594845
B 16684 12374 41735 58793 5214 9668 80971 56374 83355 58720 95534 54072 573492
C 61049 39342 47571 87661 83357 54259 72721 90744 1152 50131 35945 86183 710116
D 40704 55823 74721 66601 99906 27789 82614 65099 61675 40108 56039 10619 681698
E 22726 7758 2705 56655 94641 58430 15497 84563 53900 70989 87005 84132 639001
F 66592 13089 64017 65189 17775 22489 74343 72854 4270 82646 40261 81995 605518
G 10651 51398 80870 45196 33112 66874 19152 20659 27622 27009 93911 86305 562759
Bookmarks