Hi,
Let me try and explain what I need with a simplified example:
I have a table (H3:I5) that gives me the value for each item (I have dozens of items in the reality).
I need, for each month (in B9, C9, D9), to know the sum of the value of each item for the particular month... but only counting the cells that are NOT in yellow.
For example, for January, it would be:
Apple: 3
Orange: do not count
Banana: 2
Banana: 2
Banana: do not count
Apple: 3
TOTAL=10 -> this is the value that I need
I can't do a formula with vlookup+vlookup+vlookup...
For the color part, I have created a new function (via macro) "colorindex", that gives me the color index of a cell (ex: colorindex(B3) would give me "6" as yellow is color coded as 6 in Excel).
thanks for you help!
Let me try and explain what I need with a simplified example:
I have a table (H3:I5) that gives me the value for each item (I have dozens of items in the reality).
I need, for each month (in B9, C9, D9), to know the sum of the value of each item for the particular month... but only counting the cells that are NOT in yellow.
For example, for January, it would be:
Apple: 3
Orange: do not count
Banana: 2
Banana: 2
Banana: do not count
Apple: 3
TOTAL=10 -> this is the value that I need
I can't do a formula with vlookup+vlookup+vlookup...
For the color part, I have created a new function (via macro) "colorindex", that gives me the color index of a cell (ex: colorindex(B3) would give me "6" as yellow is color coded as 6 in Excel).
thanks for you help!