atrianacpa
New Member
- Joined
- Jul 24, 2017
- Messages
- 2
Hi Guys. I want to use sumproduct to add for me a non continuous range. For example, for the name Albert, I would like to add the sales from Jan thru March and then from June thru Aug.
A B C D E F G H I
Name Jan Feb Mar Apr May Jun Jul Aug
Albert 10 12 14 16 18 20 22 24
The answer should be : (10+12+14) + (20+22+24) = 102
I tried the following : sumproduct(--(A1:A2 ="Albert")*(B2:D2)*(G2:I2) But that gives me an NA and does not work. Any suggestions?
A B C D E F G H I
Name Jan Feb Mar Apr May Jun Jul Aug
Albert 10 12 14 16 18 20 22 24
The answer should be : (10+12+14) + (20+22+24) = 102
I tried the following : sumproduct(--(A1:A2 ="Albert")*(B2:D2)*(G2:I2) But that gives me an NA and does not work. Any suggestions?