More help with Counting Cells

M

Missile

Firstly, thank you to all that helped with my previous question regarding
ColorIndex Function, it works great :).

Now my next question, also to do with ColorIndex Function, when I apply this
formula =SUMPRODUCT(--(ColorIndex(Selections!H5:H12,TRUE)=3)) and their are
no cells in the range with RED font it returns a value of zero (o), is their
a way to have the cell remain Blank unless the result is >zero?

Thanks again
 
D

daddylonglegs

I guess this would be one way

=IF(SUMPRODUCT(--(ColorIndex(Selections!H5:H12,TRUE)=3)),SUMPRODUCT(--(ColorIndex(Selections!H5:H12,TRUE)=3)),"")

but probably easier to just custon format the cell as

0;;
 

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