View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_] Ashish Mathur[_2_] is offline
external usenet poster
 
Posts: 1,766
Default conditional formula in terms of cell formats

Hi,

This is not a perfect solution in that you cannot get a result in a cell.
However, you can use the following trick to read the result in the lower
right corner of Excel:

1. Press Ctrl+F;
2. Click on Options and in the down arrow on the format button, select
Choose format from cell
3. Now select the cell which has the white colour
4. Click on Find All and then do Ctrl+A;
5. when you click on Close, you will notice that all white numbers will be
highlighted;
6. You will be able to see the sum in the lower right corner. if you see
any other function there such as Average, please right click there and
select Sum

Hope this helps

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"bd" wrote in message
...
I have a sheet with some numbers in white and some in black. I can use
the
"find" function to isolate and find the white numbers and then manually
add
all of them up separately. How could I directly write a formula in a cell
to
sum up all the white numbers?