SOLVED

SUMIF of row using value at top of column

Copper Contributor

I am making a matrix of fees and would like to have the totals calculated at the end of the row if there is an "X" in the column for the fee. Just not sure how to approach this.

 

For example, the first row should total $22.50, second row $20.00 and so on. 

Any help is appreciated.

fees.JPG

 

 

 

3 Replies

Hello @sergiomonte,

 

In the first row, that could be:

=SUMIF(X4:AB4,"X",$X$3:$AB$3)

 

best response confirmed by sergiomonte (Copper Contributor)
Solution

@sergiomonte 

In AC4:

 

=SUMIF(X4:AB4,"X",X$3:AB$3)

 

Fill down.

Thank you!
1 best response

Accepted Solutions
best response confirmed by sergiomonte (Copper Contributor)
Solution

@sergiomonte 

In AC4:

 

=SUMIF(X4:AB4,"X",X$3:AB$3)

 

Fill down.

View solution in original post