I am trying to sum values in column X which correspond to an odd number in column K and sum values in column X which correspond to an even number in column K. I need them summed separately has I am then going to multiply them either by A or (A-1) depending if they have odd or even correspondence, respectively. So essentially I end up the formula: A*(SUM of numbers with ODD correspondence) + (A-1)(SUM of numbers with EVEN Correspondence).
I have tried using variations of SUMIF
with ISODD()
and the best I have gotten is a dynamic array of "TRUE" or "FALSE"