+ Reply to Thread
Results 1 to 3 of 3

More help with Counting Cells

  1. #1
    Missile
    Guest

    More help with Counting Cells

    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

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    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;;

  3. #3
    Missile
    Guest

    Re: More help with Counting Cells

    Thanks, the 0;; formatting worked great.

    Missile

    "daddylonglegs" wrote:

    >
    > 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;;
    >
    >
    > --
    > daddylonglegs
    > ------------------------------------------------------------------------
    > daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
    > View this thread: http://www.excelforum.com/showthread...hreadid=504632
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1