Summing with Conditional Formats

reemoe

New Member
Joined
Oct 24, 2005
Messages
41
Hello,

I was curious if it were possible to add together cells in a given row, only if they are not highlighted in red (my conditional format for being an outlier data point).

Thanks for the help!
Ryan
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
It is possible to add cells that meet a particular conditional format, not by using the colour, but by using the underlying condition(s) within a sumproduct formula.

i.e you can use the same criteria that the conditional format uses within the count ( normally then sumproduct or sumif)


Post some data and your conditional formats if you need help
 
Upvote 0
Thanks for the quick replies. The condition for red is: the cell in question is "not between AR29+AT29 and AR29-AT29" (Column AR is the Average; Column AT is 2 Standard Deviations).

I'll give it a whirl.
 
Upvote 0
reemoe

Welcome to the Mr Excel board!

If I have understood, then you want to add those numbers in the row that ARE between AR29+AT29 and AR29-AT29?

Try
Code:
=SUMIF(A1:J1,">="&AR29-AT29)-SUMIF(A1:J1,">"&AR29+AT29)
You can adjust the row range and tweak the 'greater than' and 'greater than or equal to' signs as required
 
Upvote 0

Forum statistics

Threads
1,225,071
Messages
6,182,676
Members
453,132
Latest member
nsnodgrass73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top