ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sumif depending on format (https://www.excelbanter.com/excel-discussion-misc-queries/214496-sumif-depending-format.html)

luiss

Sumif depending on format
 
Hi,

I would like to sum the cells in one column that have a differente format
from the others (red background, say).

How do I use the "sumif" fonction but with formats i. o. values?
Many thanks in advance.

Luis

Pete_UK

Sumif depending on format
 
Generally, you won't be able to do that.

However, if that red background is applied through conditional
formatting, then you could have a formula which makes use of that
condition and counts (or sums) accordingly. If this is the case, then
give us some details about your sheet(s).

Hope this helps.

Pete

On Dec 23, 9:43*am, luiss wrote:
Hi,

I would like to sum the cells in one column that have a differente format
from the others (red background, say).

How do I use the "sumif" fonction but with formats i. o. values?
Many thanks in advance.

Luis



MuppetMan

Sumif depending on format
 
Hi Luis - check out this link here for sum and count based on the fill
colour of a cell...

http://www.ozgrid.com/VBA/sum-count-cells-by-color.htm

Muppet Man.

On Dec 23, 9:43*am, luiss wrote:
Hi,

I would like to sum the cells in one column that have a differente format
from the others (red background, say).

How do I use the "sumif" fonction but with formats i. o. values?
Many thanks in advance.

Luis




All times are GMT +1. The time now is 03:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com