sumif color cells with same month

E

eva cheng

My file have two columns A - Month B - Amount
I will change the color to red of certain cells in column B
Can I use the sumif function to total column B of those cells with same
month and color red ?

Many thanks
eva cheng
 
L

Luke M

You can't sum by color (is there some criteria you could use, such as
greater than x value?), but you can sum by month like this:
=SUMPRODUCT(--(TEXT(A2:A100,"mmm")="Apr"),B2:B100)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top