In Excel 2000, I am using SUM.AS for a calculation. (Or at least I assume that's what it's called, using a foreign version of Office.)
On my sheet, I have two columns which can contain various text values, J and K, followed by any number of numeric value columns. What I need is to find a formula that will add up the numeric values in a column for every row where J matches 'IV' AND K matches 'EG'.
I've figured out how to get it to check either condition, e.g.:
=sum.as(k1:k10;"EG";M1:m10)
+ sum.as(j1:j10;"IV";m1:m10)
This is adding up column M and assuming 10 values. Easy to adapt with more rows or for different columns. However, this one will add up if either condition (J="IV" or K="EG"
is true, and I want it to add only if they are both met at the same time.
I've played around with it and read the help files, but can't seem to figure out how to check more than one condition. As far as I know it might not even be possible with sum.as.
Can anybody help me out here?
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)
On my sheet, I have two columns which can contain various text values, J and K, followed by any number of numeric value columns. What I need is to find a formula that will add up the numeric values in a column for every row where J matches 'IV' AND K matches 'EG'.
I've figured out how to get it to check either condition, e.g.:
=sum.as(k1:k10;"EG";M1:m10)
+ sum.as(j1:j10;"IV";m1:m10)
This is adding up column M and assuming 10 values. Easy to adapt with more rows or for different columns. However, this one will add up if either condition (J="IV" or K="EG"

I've played around with it and read the help files, but can't seem to figure out how to check more than one condition. As far as I know it might not even be possible with sum.as.
Can anybody help me out here?
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)