Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 925

Excel: Sum values in column if value in same row, different column is odd

$
0
0

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).

enter image description here

I have tried using variations of SUMIF with ISODD() and the best I have gotten is a dynamic array of "TRUE" or "FALSE"


Viewing all articles
Browse latest Browse all 925

Trending Articles