B bines53 Active Member Nov 21, 2014 #1 Hello Friend ! I want to get the result as in cells H15, I15 without the use of help columns. Thank you ! Attachments test 88.xlsx test 88.xlsx 8.7 KB · Views: 18
Hello Friend ! I want to get the result as in cells H15, I15 without the use of help columns. Thank you !
N NARAYANK991 Excel Ninja Nov 21, 2014 #2 Hi David , Try these array formulae , to be entered using CTRL SHIFT ENTER : =SUM(--(MMULT(--(MOD($A$2:$F$12,2)=0),TRANSPOSE(COLUMN($A$2:$F$12)^0))=3)) =SUM(--(MMULT(--(MOD($A$2:$F$12,2)=1),TRANSPOSE(COLUMN($A$2:$F$12)^0))=4)) Narayan
Hi David , Try these array formulae , to be entered using CTRL SHIFT ENTER : =SUM(--(MMULT(--(MOD($A$2:$F$12,2)=0),TRANSPOSE(COLUMN($A$2:$F$12)^0))=3)) =SUM(--(MMULT(--(MOD($A$2:$F$12,2)=1),TRANSPOSE(COLUMN($A$2:$F$12)^0))=4)) Narayan
Luke M Excel Ninja Staff member Nov 21, 2014 #4 Ah, the mysterious MMULT...I had a feeling we would need to use it's dark powers in order to do this.
Ah, the mysterious MMULT...I had a feeling we would need to use it's dark powers in order to do this.
B bines53 Active Member Nov 21, 2014 #5 You can also use this formula Without {} =SUM(--(MMULT(--(MOD($A$2:$F$12,2)=0),{1;1;1;1;1;1})=3)) =SUM(--(MMULT(--(MOD($A$2:$F$12,2)=1),{1;1;1;1;1;1})=4))
You can also use this formula Without {} =SUM(--(MMULT(--(MOD($A$2:$F$12,2)=0),{1;1;1;1;1;1})=3)) =SUM(--(MMULT(--(MOD($A$2:$F$12,2)=1),{1;1;1;1;1;1})=4))
Somendra Misra Excel Ninja Nov 22, 2014 #6 Hi David, Just another alternative using MMULT: In H15: =SUMPRODUCT(--(MMULT(--ISEVEN(--$A$2:$F$12),{1;1;1;1;1;1})=3)) In I15: =SUMPRODUCT(--(MMULT(--ISODD(--$A$2:$F$12),{1;1;1;1;1;1})=4)) Regards,
Hi David, Just another alternative using MMULT: In H15: =SUMPRODUCT(--(MMULT(--ISEVEN(--$A$2:$F$12),{1;1;1;1;1;1})=3)) In I15: =SUMPRODUCT(--(MMULT(--ISODD(--$A$2:$F$12),{1;1;1;1;1;1})=4)) Regards,
B bines53 Active Member Nov 22, 2014 #7 Hi Somendra, Excellent ,A great idea ! Where SUMPRODUCT can be SUM . Thank you !