View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sherry N. Sherry N. is offline
external usenet poster
 
Posts: 15
Default Sum Cells Based on Color

Hello,
I need to sum cells on sheet1 from sheet2 that have no fill or white
background.

In a cell on Sheet1 I used:
=SUMPRODUCT(--(ColorIndex('Sheet2'!C:C)=2),'Sheet2'!C:C)

But it didn't work. Any help?

Thanks,
Sherry N.