I need an Excel formula that adds up specific cells in column H that meet the following conditions. If the cell in column D = 100 or 800 AND if the cell in column G does not equal "CA", "FML", "FMU" or "ULW".
A B C D E F G H I J K
100 CA 2
100 OT 10
900 1R 14
800 FMU 17
So, in my example, the total of column H would be 10
So far I have
=SUMIF(D630,100,H6:H30) + SUMIF(D630,800,H6:H30)
This accomplishes the first objective to only count cells with criteria matching column D, but this doesn't take into effect the criteria for column G. Any idea how to do this? Thanks in advance for all your help.
A B C D E F G H I J K
100 CA 2
100 OT 10
900 1R 14
800 FMU 17
So, in my example, the total of column H would be 10
So far I have
=SUMIF(D630,100,H6:H30) + SUMIF(D630,800,H6:H30)
This accomplishes the first objective to only count cells with criteria matching column D, but this doesn't take into effect the criteria for column G. Any idea how to do this? Thanks in advance for all your help.