# Conditional Formatting

#### brett4098

##### New Member
I have the normal three sheet workbook open. I was wondering if on one page i fill (color) a certain cell and could have, on another page, a formula summing the number of cells that i've highlighted in a certain color?

### Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
What about if i put an X in a cell instead of shading it, would it calculate it then?

Either way should work, using the shading or using a Flag like "X". If you wanted to SUM all the values in the first 100 rows on Sheet 1, column A depending on if there is an X in column B, then use:

=SUMIF(Sheet1!B1:B100,"X",Sheet1!A1:A100)

I am having a problem with the last part of that formula. What is that exactly?

Look at Excel help on the SUMIF function. It is a great resource, complete with descriptions and examples.

This is taken directly from there:

SUMIF(range,criteria,sum_range)

Range is the range of cells you want evaluated.

Criteria is the criteria in the form of a number, expression, or text that defines which cells will be added. For example, criteria can be expressed as 32, "32", ">32", "apples".

Sum_range are the actual cells to sum.

Note that the first range is the range that contains the X's. The range of values you want to sum is the 3rd argument (Sum_range).

It doesn't update the formula until I save the workbook. Any suggestions? This is my formula--=SUMIF('2004 CALENDAR'!A5:AE5,"X",'2004 CALENDAR'!A6:AE6). In other words, if I add an X, it won't change the sum unless I save it.

It sounds like your calculation setting is set to Manual. Go to the Tools drop down menu and select Options. Go to the Calculation tab and make sure the "Automatic" radio button is selected.

That was it! Thank you so very much!

Replies
5
Views
157
Replies
5
Views
231
Replies
8
Views
487
Replies
3
Views
237
Replies
2
Views
210

1,218,596
Messages
6,143,391
Members
450,484
Latest member
ChrisMac1

### 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.

### Which adblocker are you using?

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

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