+ Reply to Thread
Results 1 to 17 of 17

SUMPRODUCT unless row a certain colour

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Leicester
    MS-Off Ver
    Excel 2010
    Posts
    119

    Re: SUMPRODUCT unless row a certain colour

    Sorry to keep on, but when I do this

    =IF(Filled(AA7),"yes","no") i get a yes if filled but if not i get #value! - any ideas?

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: SUMPRODUCT unless row a certain colour

    wait....do you set the function return value for "" to a zero?
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: SUMPRODUCT unless row a certain colour

    IE:

    Function Filled(MyCell As Range)
    If MyCell.Interior.ColorIndex > 0 Then
    Result = 1
    Else
    Result = 0
    End If
    Filled = Result

+ 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