Hello Excel Gurus,
I have two columns with numbers sporadically loaded in each and I need to compare each row against each column to see if there is a value above zero, and then, if both have a value greater than zero, return the sum of the those items in the first column that had a counterpart in the second column.
I'm using A and B columns for my data and putting the the sum total of all the A column values that have a row mate in B column in cell D4. I only want to sum the values in column A if there is something present in the same row for column B, but it doesn't have to be the same value.
How do I do that? I'm trying to use arrays in a SUMIF formula, but it's not returning a value correctly.
=SUMIF(SIF!A6:A349, AND(SIF!A6:A349, SIF!B6:B349), SIF!A6:A349)
Any ideas?
I have two columns with numbers sporadically loaded in each and I need to compare each row against each column to see if there is a value above zero, and then, if both have a value greater than zero, return the sum of the those items in the first column that had a counterpart in the second column.
I'm using A and B columns for my data and putting the the sum total of all the A column values that have a row mate in B column in cell D4. I only want to sum the values in column A if there is something present in the same row for column B, but it doesn't have to be the same value.
How do I do that? I'm trying to use arrays in a SUMIF formula, but it's not returning a value correctly.
=SUMIF(SIF!A6:A349, AND(SIF!A6:A349, SIF!B6:B349), SIF!A6:A349)
Any ideas?