humberto_wdy
New Member
- Joined
- Sep 2, 2011
- Messages
- 6
Hi, all...
I want to add all the cells in a column that have a specific format, this format is given by a column that has either 1 or 0 depending on another set of values...
Since I cant "sumIf" given a cell format (i.e. the those with a red font color) I'm planning to use the column that indicates whether or not the cell will have the color font.
I.E.
A B
5 . 1
4 . 0
7 . 1
8 . 0
9 . 0
4 . 1
7 . 0
4 . 1
The number 1 acts as an activator, if the number in column A has a 1 in column B, it gets a red font and it must be added, if it has a 0 it must be ignored.
In this example, the sum of the entire column A would be 48, but since I only want the numbers activated by the 1, the result my formula must throw is 5+7+4+4 = 20.
Any Ideas?
I want to add all the cells in a column that have a specific format, this format is given by a column that has either 1 or 0 depending on another set of values...
Since I cant "sumIf" given a cell format (i.e. the those with a red font color) I'm planning to use the column that indicates whether or not the cell will have the color font.
I.E.
A B
5 . 1
4 . 0
7 . 1
8 . 0
9 . 0
4 . 1
7 . 0
4 . 1
The number 1 acts as an activator, if the number in column A has a 1 in column B, it gets a red font and it must be added, if it has a 0 it must be ignored.
In this example, the sum of the entire column A would be 48, but since I only want the numbers activated by the 1, the result my formula must throw is 5+7+4+4 = 20.
Any Ideas?