counting colored cells in numbers
Hi,
I would like to count only the cells in a row or colum which have a specific color. Which formula should I use?
thank you
iPad 2, iOS 8.1.2
Hi,
I would like to count only the cells in a row or colum which have a specific color. Which formula should I use?
thank you
iPad 2, iOS 8.1.2
S,
You must begin by using Conditional Highlight to color your cells. Don't do it manually. Saying that another way, if you want to do anything with the color information, the colors must be determined by some condition in the cell where they appear. Then you can use that same condition to determine which cells are counted or summed.
Jerry
Smothin wrote:
Hi Jerrold
I just mark them. I could use a color, make them bold or whatever (manually), to make distinction between paid and unpaid.
Greetings
Smothin
My suggestion would be to add a column for Date Paid. If a row has content in Date Paid, include it in the SUMIF spec.
If Date Paid is in Column C, the expression for the conditional sum would be:
=SUMIF(C, "", B)
Jerry
There are no Numbers functions that can detected, and count, shaded cells. You could use an Applescript. If there are conditions that shaded the cells (using conditional formatting) then perhaps you could count those conditions. Sharing more specifics about your situation would aid in helping you.
Let me explain. I receive payments by my friends, but I want to know the excact amount of money I have received until now. Lets say 5 dollars each friend (5). When one pays I would like to mark the cell in which the amount is displayed, so at the botom of the column only the marked cells are counted and I can determin how much money I have until then received. Is this making it clear?
I am sorry but I try to use to formula but it doesn't seem to work.
I have two colums B & C, B is the column with the amounts, C is the column with the checkboxes .
If I use in a cell (B10) at the end of colum B the formula would be: =SUMIF (C2:C9), TRUE (B2:B9)
but it doesn't work and says syntax error.
What am I doing wrong? I
Try
=SUMIF (C2:C9, TRUE , B2:B9)
Hi Smothin,
It's clear what you want to do. How do you decide which payments to mark?
Jerry
Hi Jerrold
I just mark them. I could use a color, make them bold or whatever (manually), to make distinction between paid and unpaid.
Greetings
Smothin
Hi Smothin,
A simple approach might be to add a column with a checkbox. When you are paid you check the box.
Then you could total your paid amounts with SUMIF(checkbox column,TRUE,value column)
Thank you very much
counting colored cells in numbers